#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 (DTTPGParameters const &)=delete | |
DTTPGParameters (const std::string &version) | |
const_iterator | end () const |
int | get (int wheelId, int stationId, int sectorId, int &nc, float &ph, DTTimeUnits::type unit) const |
get content More... | |
int | get (const DTChamberId &id, int &nc, float &ph, DTTimeUnits::type unit) const |
void | initialize () |
DTTPGParameters & | operator= (DTTPGParameters const &) |
int | set (int wheelId, int stationId, int sectorId, int nc, float ph, DTTimeUnits::type unit) |
int | set (const DTChamberId &id, int nc, float ph, DTTimeUnits::type unit) |
void | setClock (int clock) |
void | setUnit (float unit) |
float | totalTime (int wheelId, int stationId, int sectorId, DTTimeUnits::type unit) const |
float | totalTime (const DTChamberId &id, DTTimeUnits::type unit) const |
float | unit () const |
const std::string & | version () const |
access version More... | |
std::string & | version () |
~DTTPGParameters () | |
Private Member Functions | |
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 97 of file DTTPGParameters.h.
DTTPGParameters::DTTPGParameters | ( | ) |
Constructor
Definition at line 31 of file DTTPGParameters.cc.
References dataList.
|
delete |
DTTPGParameters::DTTPGParameters | ( | const std::string & | version | ) |
Definition at line 36 of file DTTPGParameters.cc.
References dataList.
DTTPGParameters::~DTTPGParameters | ( | ) |
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().
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 | ( | 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(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), DTLocalTriggerSynchTest::dqmEndJob(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), DTConfigPedestals::getOffset(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), DTConfigPedestals::print(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), util.rrapi.RRApi::reports(), 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 | ( | const DTChamberId & | id, |
int & | nc, | ||
float & | ph, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 91 of file DTTPGParameters.cc.
References unit().
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().
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 | ( | 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(), and DTTPGParametersHandler::getNewObjects().
int DTTPGParameters::set | ( | const DTChamberId & | id, |
int | nc, | ||
float | ph, | ||
DTTimeUnits::type | unit | ||
) |
void DTTPGParameters::setClock | ( | int | clock | ) |
void DTTPGParameters::setUnit | ( | float | unit | ) |
float DTTPGParameters::totalTime | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 95 of file DTTPGParameters.cc.
References haddnano::cl, clock(), DTTimeUnits::ns, nsPerCount, and unit().
Referenced by totalTime().
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::unit | ( | ) | const |
Definition at line 111 of file DTTPGParameters.cc.
References nsPerCount.
Referenced by get(), set(), setUnit(), and totalTime().
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().
std::string & DTTPGParameters::version | ( | ) |
Definition at line 115 of file DTTPGParameters.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
Definition at line 116 of file DTTPGParameters.h.
|
friend |
Definition at line 116 of file DTTPGParameters.h.
|
private |
Definition at line 108 of file DTTPGParameters.h.
Referenced by clock(), operator=(), and setClock().
|
private |
Definition at line 110 of file DTTPGParameters.h.
Referenced by begin(), clear(), DTTPGParameters(), end(), get(), initialize(), operator=(), and set().
|
private |
Definition at line 106 of file DTTPGParameters.h.
Referenced by mapName(), operator=(), and version().
|
private |
Definition at line 112 of file DTTPGParameters.h.
Referenced by get(), initialize(), and set().
|
private |
Definition at line 107 of file DTTPGParameters.h.
Referenced by get(), operator=(), set(), setUnit(), totalTime(), and unit().