#include <MuonDDDConstants.h>
Public Member Functions | |
void | addValue (const std::string &name, const int &value) |
int | getValue (const std::string &name) const |
MuonDDDConstants (const DDCompactView &cpv) | |
MuonDDDConstants ()=delete | |
Private Attributes | |
std::map< std::string, int > | namesAndValues_ |
this class reads the constant section of the muon-numbering xml-file
Definition at line 21 of file MuonDDDConstants.h.
MuonDDDConstants::MuonDDDConstants | ( | const DDCompactView & | cpv | ) |
Definition at line 11 of file MuonDDDConstants.cc.
References addValue(), Exception, ALCARECOTkAlBeamHalo_cff::filter, DDFilteredView::firstChild(), createfilelist::int, DDFilteredView::mergedSpecifics(), mps_check::msg, and AlCaHLTBitMon_QueryRunRegistry::string.
|
delete |
void MuonDDDConstants::addValue | ( | const std::string & | name, |
const int & | value | ||
) |
Definition at line 74 of file MuonDDDConstants.cc.
References dataset::name, namesAndValues_, and relativeConstraints::value.
Referenced by MuonDDDConstants().
int MuonDDDConstants::getValue | ( | const std::string & | name | ) | const |
Definition at line 52 of file MuonDDDConstants.cc.
References Exception, and namesAndValues_.
Referenced by GEMNumberingScheme::initMe(), ME0NumberingScheme::initMe(), CSCNumberingScheme::initMe(), RPCNumberingScheme::initMe(), DTNumberingScheme::initMe(), MuonDDDNumbering::MuonDDDNumbering(), MuonG4Numbering::MuonG4Numbering(), MuonGEMFrameRotation::MuonGEMFrameRotation(), MuonME0FrameRotation::MuonME0FrameRotation(), and MuonRPCFrameRotation::MuonRPCFrameRotation().
|
private |
Definition at line 32 of file MuonDDDConstants.h.
Referenced by addValue(), and getValue().