#include <DTTPGParameters.h>
Public Types | |
typedef std::vector< std::pair< DTTPGParametersId, DTTPGParametersData > >::const_iterator | const_iterator |
Access methods to data. More... | |
Public Member Functions | |
const_iterator | begin () const |
void | clear () |
reset content More... | |
int | clock () const |
DTTPGParameters () | |
DTTPGParameters (const std::string &version) | |
const_iterator | end () const |
int | get (const DTChamberId &id, int &nc, float &ph, DTTimeUnits::type unit) const |
int | get (int wheelId, int stationId, int sectorId, int &nc, float &ph, DTTimeUnits::type unit) const |
get content More... | |
void | initialize () |
DTTPGParameters & | operator= (DTTPGParameters const &) |
int | set (const DTChamberId &id, int nc, float ph, DTTimeUnits::type unit) |
int | set (int wheelId, int stationId, int sectorId, int nc, float ph, DTTimeUnits::type unit) |
void | setClock (int clock) |
void | setUnit (float unit) |
float | totalTime (const DTChamberId &id, DTTimeUnits::type unit) const |
float | totalTime (int wheelId, int stationId, int sectorId, DTTimeUnits::type unit) const |
float | unit () const |
std::string & | version () |
const std::string & | version () const |
access version More... | |
~DTTPGParameters () | |
Private Member Functions | |
DTTPGParameters (DTTPGParameters const &)=delete | |
std::string | mapName () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
int | clockLength |
std::vector< std::pair< DTTPGParametersId, DTTPGParametersData > > | dataList |
std::string | dataVersion |
edm::ConstRespectingPtr< DTBufferTree< int, int > > | dBuf |
float | nsPerCount |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Description: Class to hold drift tubes TPG parameters
Definition at line 62 of file DTTPGParameters.h.
typedef std::vector<std::pair<DTTPGParametersId, DTTPGParametersData> >::const_iterator DTTPGParameters::const_iterator |
Access methods to data.
Definition at line 96 of file DTTPGParameters.h.
DTTPGParameters::DTTPGParameters | ( | ) |
DTTPGParameters::DTTPGParameters | ( | const std::string & | version | ) |
Definition at line 36 of file DTTPGParameters.cc.
References dataList.
DTTPGParameters::~DTTPGParameters | ( | ) |
|
privatedelete |
DTTPGParameters::const_iterator DTTPGParameters::begin | ( | void | ) | const |
Definition at line 166 of file DTTPGParameters.cc.
References dataList.
Referenced by DTLocalTriggerSynchTest::dqmEndJob().
void DTTPGParameters::clear | ( | void | ) |
reset content
Definition at line 117 of file DTTPGParameters.cc.
References dataList, and initialize().
Referenced by BeautifulSoup.Tag::setString().
int DTTPGParameters::clock | ( | ) | const |
Definition at line 109 of file DTTPGParameters.cc.
References clockLength.
Referenced by setClock(), and totalTime().
DTTPGParameters::const_iterator DTTPGParameters::end | ( | void | ) | const |
Definition at line 168 of file DTTPGParameters.cc.
References dataList.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and DTLocalTriggerSynchTest::dqmEndJob().
int DTTPGParameters::get | ( | const DTChamberId & | id, |
int & | nc, | ||
float & | ph, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 91 of file DTTPGParameters.cc.
References get(), relativeConstraints::station, unit(), and makeMuonMisalignmentScenario::wheel.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
int DTTPGParameters::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int & | nc, | ||
float & | ph, | ||
DTTimeUnits::type | unit | ||
) | const |
get content
Operations
Definition at line 68 of file DTTPGParameters.cc.
References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTTimeUnits::ns, nsPerCount, edm::second(), and unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), util.rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), get(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), DTConfigPedestals::getOffset(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), DTConfigPedestals::print(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), util.rrapi.RRApi::reports(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), totalTime(), rrapi.RRApi::workspaces(), and util.rrapi.RRApi::workspaces().
void DTTPGParameters::initialize | ( | ) |
Definition at line 176 of file DTTPGParameters.cc.
References officialStyle::chan, DTBufferTree< Key, Content >::clear(), dataList, dBuf, and DTBufferTree< Key, Content >::insert().
Referenced by clear(), and operator=().
|
private |
DTTPGParameters & DTTPGParameters::operator= | ( | DTTPGParameters const & | rhs | ) |
Definition at line 41 of file DTTPGParameters.cc.
References clockLength, dataList, dataVersion, initialize(), and nsPerCount.
|
private |
int DTTPGParameters::set | ( | const DTChamberId & | id, |
int | nc, | ||
float | ph, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 158 of file DTTPGParameters.cc.
References set(), relativeConstraints::station, unit(), and makeMuonMisalignmentScenario::wheel.
int DTTPGParameters::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | nc, | ||
float | ph, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 123 of file DTTPGParameters.cc.
References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), crabWrapper::key, DTTimeUnits::ns, nsPerCount, edm::second(), and unit().
Referenced by DTConfigTrivialProducer::buildTrivialPedestals(), DTConfigDBProducer::buildTrivialPedestals(), DTLocalTriggerSynchTest::dqmEndJob(), DTTPGParametersHandler::getNewObjects(), and set().
void DTTPGParameters::setClock | ( | int | clock | ) |
void DTTPGParameters::setUnit | ( | float | unit | ) |
float DTTPGParameters::totalTime | ( | const DTChamberId & | id, |
DTTimeUnits::type | unit | ||
) | const |
Definition at line 105 of file DTTPGParameters.cc.
References relativeConstraints::station, totalTime(), unit(), and makeMuonMisalignmentScenario::wheel.
float DTTPGParameters::totalTime | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 95 of file DTTPGParameters.cc.
References GetRecoTauVFromDQM_MC_cff::cl, clock(), get(), DTTimeUnits::ns, nsPerCount, and unit().
Referenced by totalTime().
float DTTPGParameters::unit | ( | ) | const |
Definition at line 111 of file DTTPGParameters.cc.
References nsPerCount.
Referenced by get(), set(), setUnit(), and totalTime().
std::string & DTTPGParameters::version | ( | ) |
Definition at line 115 of file DTTPGParameters.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
const std::string & DTTPGParameters::version | ( | ) | const |
access version
Definition at line 113 of file DTTPGParameters.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
Definition at line 117 of file DTTPGParameters.h.
|
friend |
Definition at line 117 of file DTTPGParameters.h.
|
private |
Definition at line 109 of file DTTPGParameters.h.
Referenced by clock(), operator=(), and setClock().
|
private |
Definition at line 111 of file DTTPGParameters.h.
Referenced by begin(), clear(), DTTPGParameters(), end(), get(), initialize(), operator=(), and set().
|
private |
Definition at line 107 of file DTTPGParameters.h.
Referenced by mapName(), operator=(), and version().
|
private |
Definition at line 113 of file DTTPGParameters.h.
Referenced by get(), initialize(), and set().
|
private |
Definition at line 108 of file DTTPGParameters.h.
Referenced by get(), operator=(), set(), setUnit(), totalTime(), and unit().