#include <MuonGeometryConstants.h>
Public Member Functions | |
void | addValue (const std::string &name, const int &value) |
std::pair< std::string, int > | getEntry (const unsigned int k) const |
int | getValue (const std::string &name) const |
MuonGeometryConstants () | |
unsigned | size () const |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::map< std::string, int > | namesAndValues_ |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
this class reads the constant section of the muon-numbering xml-file
Definition at line 20 of file MuonGeometryConstants.h.
|
inline |
Definition at line 22 of file MuonGeometryConstants.h.
void MuonGeometryConstants::addValue | ( | const std::string & | name, |
const int & | value | ||
) |
Definition at line 25 of file MuonGeometryConstants.cc.
References Skims_PA_cff::name, namesAndValues_, and relativeConstraints::value.
Referenced by MuonGeometryConstantsBuild::build().
|
inline |
Definition at line 27 of file MuonGeometryConstants.h.
References mps_fire::i, dqmdumpme::k, namesAndValues_, and size().
int MuonGeometryConstants::getValue | ( | const std::string & | name | ) | const |
Definition at line 8 of file MuonGeometryConstants.cc.
References Skims_PA_cff::name, and namesAndValues_.
Referenced by GEMNumberingScheme::initMe(), ME0NumberingScheme::initMe(), CSCNumberingScheme::initMe(), RPCNumberingScheme::initMe(), DTNumberingScheme::initMe(), MuonDDDNumbering::MuonDDDNumbering(), MuonG4Numbering::MuonG4Numbering(), and MuonRPCFrameRotation::MuonRPCFrameRotation().
|
private |
|
inline |
Definition at line 26 of file MuonGeometryConstants.h.
References namesAndValues_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and getEntry().
|
friend |
Definition at line 39 of file MuonGeometryConstants.h.
|
friend |
Definition at line 39 of file MuonGeometryConstants.h.
|
private |
Definition at line 38 of file MuonGeometryConstants.h.
Referenced by addValue(), getEntry(), getValue(), and size().