1 #ifndef DetectorDescription_DDCMS_DDAlgoArguments_h
2 #define DetectorDescription_DDCMS_DDAlgoArguments_h
18 constexpr
unsigned int hash(
const char*
str,
int h = 0) {
return !str[
h] ? 5381 : (
hash(str,
h + 1) * 33) ^ str[
h]; }
std::string childName() const
Access value of child'name from the xml element.
T value(const std::string &name) const
int integer(const std::string &nam) const
Shortcut to access integer arguments.
DDRotationMatrix makeRotation3D(double thetaX, double phiX, double thetaY, double phiY, double thetaZ, double phiZ)
xml_h rawArgument(const std::string &name) const
Access raw argument as a string by name.
static constexpr long s_executed
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
~DDAlgoArguments()=default
DDRotationMatrix makeRotReflect(double thetaX, double phiX, double thetaY, double phiY, double thetaZ, double phiZ)
constexpr unsigned int hash(const char *str, int h=0)
std::string resolveValue(const std::string &value) const
DDAlgoArguments & operator=(const DDAlgoArguments ©)=delete
std::vector< double > vecDble(const std::string &nam) const
Shortcut to access vector<double> arguments.
double dble(const std::string &nam) const
Shortcut to access double arguments.
cms::DDParsingContext & context
std::vector< std::string > vecStr(const std::string &nam) const
Shortcut to access vector<string> arguments.
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
bool find(const std::string &name) const
Check the existence of an argument by name.
std::vector< int > vecInt(const std::string &nam) const
Shortcut to access vector<int> arguments.
std::vector< float > vecFloat(const std::string &nam) const
Shortcut to access vector<float> arguments.
std::string resolved_scalar_arg(const std::string &name) const
Access namespace resolved argument as a string by name.
std::string parentName() const
Access value of rParent child node.
std::string str(const std::string &nam) const
Shortcut to access string arguments.
T angle(T x1, T y1, T z1, T x2, T y2, T z2)