#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 (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 | |
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 70 of file DTTPGParameters.h.
typedef std::vector< std::pair<DTTPGParametersId, DTTPGParametersData> >::const_iterator DTTPGParameters::const_iterator |
Access methods to data.
Definition at line 129 of file DTTPGParameters.h.
DTTPGParameters::DTTPGParameters | ( | ) |
Constructor
Definition at line 32 of file DTTPGParameters.cc.
References dataList.
DTTPGParameters::DTTPGParameters | ( | const std::string & | version | ) |
Definition at line 41 of file DTTPGParameters.cc.
References dataList.
DTTPGParameters::~DTTPGParameters | ( | ) |
|
privatedelete |
DTTPGParameters::const_iterator DTTPGParameters::begin | ( | void | ) | const |
Definition at line 250 of file DTTPGParameters.cc.
Referenced by DTLocalTriggerSynchTest::dqmEndJob().
void DTTPGParameters::clear | ( | void | ) |
reset content
Definition at line 177 of file DTTPGParameters.cc.
References initialize().
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), BeautifulSoup.Tag::setString(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
int DTTPGParameters::clock | ( | ) | const |
Definition at line 156 of file DTTPGParameters.cc.
DTTPGParameters::const_iterator DTTPGParameters::end | ( | void | ) | const |
Definition at line 255 of file DTTPGParameters.cc.
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 93 of file DTTPGParameters.cc.
References data, DTTPGParametersData::nClock, DTTimeUnits::ns, edm::second(), and DTTPGParametersData::tPhase.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), DTConfigPedestals::getOffset(), betterConfigParser.BetterConfigParser::getResultingSection(), DTConfigPedestals::print(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), util.rrapi.RRApi::templates(), 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 124 of file DTTPGParameters.cc.
References csvLumiCalc::unit.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
void DTTPGParameters::initialize | ( | ) |
Definition at line 267 of file DTTPGParameters.cc.
References officialStyle::chan, and DTTPGParametersId::stationId.
Referenced by operator=().
|
private |
DTTPGParameters & DTTPGParameters::operator= | ( | DTTPGParameters const & | rhs | ) |
Definition at line 50 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 184 of file DTTPGParameters.cc.
References data, crabWrapper::key, DTTPGParametersData::nClock, DTTimeUnits::ns, edm::second(), DTTPGParametersId::stationId, and DTTPGParametersData::tPhase.
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 | ) |
Definition at line 240 of file DTTPGParameters.cc.
void DTTPGParameters::setUnit | ( | float | unit | ) |
float DTTPGParameters::totalTime | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 135 of file DTTPGParameters.cc.
References haddnano::cl, DTTimeUnits::ns, and csvLumiCalc::unit.
float DTTPGParameters::totalTime | ( | const DTChamberId & | id, |
DTTimeUnits::type | unit | ||
) | const |
Definition at line 147 of file DTTPGParameters.cc.
References relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
float DTTPGParameters::unit | ( | ) | const |
Definition at line 161 of file DTTPGParameters.cc.
const std::string & DTTPGParameters::version | ( | ) | const |
access version
Definition at line 167 of file DTTPGParameters.cc.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
std::string & DTTPGParameters::version | ( | ) |
Definition at line 172 of file DTTPGParameters.cc.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
Definition at line 152 of file DTTPGParameters.h.
|
friend |
Definition at line 152 of file DTTPGParameters.h.
|
private |
Definition at line 143 of file DTTPGParameters.h.
Referenced by operator=().
|
private |
Definition at line 145 of file DTTPGParameters.h.
Referenced by DTTPGParameters(), and operator=().
|
private |
Definition at line 141 of file DTTPGParameters.h.
Referenced by operator=().
|
private |
Definition at line 147 of file DTTPGParameters.h.
|
private |
Definition at line 142 of file DTTPGParameters.h.
Referenced by operator=().