Belle II Software development
|
Geometry parameters of BeamPipe. More...
#include <BeamPipeGeo.h>
Public Member Functions | |
BeamPipeGeo () | |
Default constructor. | |
void | initialize (const GearDir &content) |
Initialze from the gearbox (xml file) | |
double | getParameter (const std::string &name) const |
Get parameter value. | |
double | getParameter (const std::string &name, double def) const |
Get parameter value with giving default value in case parameter doesn't exist in DB. | |
const std::string & | getParameterStr (const std::string &name) const |
Get string parameter. | |
const std::string & | getParameterStr (const std::string &name, const std::string &def) const |
Get string parameter with giving default value in case of non-existence. | |
const std::map< std::string, double > & | getParameters () const |
Get map of all parameters. | |
const std::map< std::string, std::string > & | getParametersStr () const |
Get map of all string parameters. | |
void | addParameter (const std::string &name, double val) |
Add parameter to map of parameters. | |
void | addParameter (const std::string &name, const std::string &val) |
Add string parameter to map of parameters. | |
void | addParameters (const GearDir &content, const std::string §ion) |
Add parameters from Gearbox. | |
void | print () const |
Print all parameters. | |
Protected Member Functions | |
ClassDef (IRGeoBase, 1) | |
ClassDef. | |
Protected Attributes | |
std::map< std::string, double > | m_params |
map of numeric parameters | |
std::map< std::string, std::string > | m_strparams |
map of string parameters | |
Private Member Functions | |
ClassDef (BeamPipeGeo, 1) | |
ClassDef. | |
Geometry parameters of BeamPipe.
Definition at line 23 of file BeamPipeGeo.h.
|
inline |
|
inlineinherited |
Add string parameter to map of parameters.
name | parameter name |
val | parameter value |
Definition at line 111 of file IRGeoBase.h.
|
inlineinherited |
Add parameter to map of parameters.
name | parameter name |
val | parameter value |
Definition at line 98 of file IRGeoBase.h.
|
inlineinherited |
Add parameters from Gearbox.
content | gearbox folder |
section | name of section of parameters to add |
Definition at line 124 of file IRGeoBase.h.
|
inlineinherited |
|
inlineinherited |
Get parameter value with giving default value in case parameter doesn't exist in DB.
name | parameter name |
def | default parameter value |
Definition at line 53 of file IRGeoBase.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Get string parameter.
name | parameter name |
Definition at line 64 of file IRGeoBase.h.
|
inlineinherited |
Get string parameter with giving default value in case of non-existence.
name | parameter name |
def | default parameter value |
Definition at line 76 of file IRGeoBase.h.
void initialize | ( | const GearDir & | content | ) |
Initialze from the gearbox (xml file)
content | gearbox folder |
Definition at line 15 of file BeamPipeGeo.cc.
|
inlineinherited |
Print all parameters.
Definition at line 147 of file IRGeoBase.h.
|
protectedinherited |
map of numeric parameters
Definition at line 161 of file IRGeoBase.h.
|
protectedinherited |
map of string parameters
Definition at line 162 of file IRGeoBase.h.