Go to the documentation of this file. 1 #ifndef DETECTOR_DESCRIPTION_DD_ALGO_ARGUMENTS_H
2 #define DETECTOR_DESCRIPTION_DD_ALGO_ARGUMENTS_H
5 #include "DD4hep/DetElement.h"
14 using DD3Vector = ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<double>>;
bool find(const std::string &name) const
Check the existence of an argument by name.
std::string resolved_scalar_arg(const std::string &name) const
Access namespace resolved argument as a string by name.
int integer(const std::string &nam) const
Shortcut to access integer arguments.
std::vector< double > vecDble(const std::string &nam) const
Shortcut to access vector<double> arguments.
constexpr unsigned int hash(const char *str, int h=0)
DDAlgoArguments & operator=(const DDAlgoArguments ©)=delete
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
std::string resolveValue(const std::string &value) const
dd4hep::Rotation3D makeRotation3D(double thetaX, double phiX, double thetaY, double phiY, double thetaZ, double phiZ)
std::string str(const std::string &nam) const
Shortcut to access string arguments.
T value(const std::string &name) const
std::vector< int > vecInt(const std::string &nam) const
Shortcut to access vector<int> arguments.
~DDAlgoArguments()=default
std::string parentName() const
Access value of rParent child node.
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DD3Vector
cms::DDParsingContext & context
static constexpr long s_executed
xml_h rawArgument(const std::string &name) const
Access raw argument as a string by name.
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
double dble(const std::string &nam) const
Shortcut to access double arguments.
std::vector< std::string > vecStr(const std::string &nam) const
Shortcut to access vector<string> arguments.
Namespace of DDCMS conversion namespace.
dd4hep::Rotation3D makeRotReflect(double thetaX, double phiX, double thetaY, double phiY, double thetaZ, double phiZ)
std::string childName() const
Access value of child'name from the xml element.