|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
13 #ifndef DD4HEP_SPECPARREGISTRY_H
14 #define DD4HEP_SPECPARREGISTRY_H
17 #include <string_view>
18 #include <unordered_map>
22 using Paths = std::vector<std::string>;
24 using VectorsMap = std::unordered_map<std::string, std::vector<double>>;
27 std::string_view
strValue(
const std::string&)
const;
28 bool hasValue(
const std::string&)
const;
29 bool hasPath(
const std::string&)
const;
30 double dblValue(
const std::string&)
const;
33 T
value(
const std::string&)
const;
40 using SpecParMap = std::unordered_map<std::string, SpecPar>;
41 using SpecParRefs = std::vector<std::pair<std::string, const SpecPar*>>;
46 std::vector<std::string_view>
names()
const;
47 std::vector<std::string_view>
names(
const std::string& path)
const;
std::unordered_map< std::string, SpecPar > SpecParMap
void filter(SpecParRefs &, const std::string &, const std::string &) const
std::unordered_map< std::string, std::vector< double > > VectorsMap
std::vector< std::string_view > names() const
const SpecPar * specPar(std::string_view) const
bool hasValue(const std::string &) const
std::string_view strValue(const std::string &) const
std::unordered_map< std::string, std::vector< std::string > > PartSelectionMap
std::vector< std::pair< std::string, const SpecPar * > > SpecParRefs
double dblValue(const std::string &) const
T value(const std::string &) const
bool hasPath(const std::string &) const
std::vector< std::string > Paths
Namespace for the AIDA detector description toolkit.
bool hasSpecPar(std::string_view) const