#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 &) | |
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 | ( | ) |
|
private |
DTTPGParameters::const_iterator DTTPGParameters::begin | ( | void | ) | const |
Definition at line 250 of file DTTPGParameters.cc.
References dataList.
Referenced by DTLocalTriggerSynchTest::endJob().
void DTTPGParameters::clear | ( | void | ) |
reset content
Definition at line 177 of file DTTPGParameters.cc.
References dataList, and 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.
References clockLength.
Referenced by setClock(), and totalTime().
DTTPGParameters::const_iterator DTTPGParameters::end | ( | void | ) | const |
Definition at line 255 of file DTTPGParameters.cc.
References dataList.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and DTLocalTriggerSynchTest::endJob().
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, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTTPGParametersData::nClock, DTTimeUnits::ns, nsPerCount, edm::second(), and DTTPGParametersData::tPhase.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), DTConfigPedestals::getOffset(), betterConfigParser.BetterConfigParser::getResultingSection(), DTConfigPedestals::print(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), 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 unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
void DTTPGParameters::initialize | ( | ) |
Definition at line 267 of file DTTPGParameters.cc.
References DTBufferTree< Key, Content >::clear(), dataList, dBuf, DTBufferTree< Key, Content >::insert(), and DTTPGParametersId::stationId.
Referenced by clear(), and operator=().
|
private |
Definition at line 260 of file DTTPGParameters.cc.
References dataVersion, and mergeVDriftHistosByStation::name.
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, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), combine::key, DTTPGParametersData::nClock, DTTimeUnits::ns, nsPerCount, edm::second(), DTTPGParametersId::stationId, and DTTPGParametersData::tPhase.
Referenced by DTConfigTrivialProducer::buildTrivialPedestals(), DTConfigDBProducer::buildTrivialPedestals(), DTLocalTriggerSynchTest::endJob(), betterConfigParser.BetterConfigParser::getGeneral(), DTTPGParametersHandler::getNewObjects(), and set().
int DTTPGParameters::set | ( | const DTChamberId & | id, |
int | nc, | ||
float | ph, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 229 of file DTTPGParameters.cc.
References set(), and relativeConstraints::station.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
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 135 of file DTTPGParameters.cc.
References GetRecoTauVFromDQM_MC_cff::cl, clock(), DTTimeUnits::ns, nsPerCount, and unit().
Referenced by totalTime().
float DTTPGParameters::totalTime | ( | const DTChamberId & | id, |
DTTimeUnits::type | unit | ||
) | const |
Definition at line 147 of file DTTPGParameters.cc.
References relativeConstraints::station, and totalTime().
float DTTPGParameters::unit | ( | ) | const |
Definition at line 161 of file DTTPGParameters.cc.
References nsPerCount.
Referenced by get(), setUnit(), and totalTime().
const std::string & DTTPGParameters::version | ( | ) | const |
std::string & DTTPGParameters::version | ( | ) |
|
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 clock(), operator=(), and setClock().
|
private |
Definition at line 145 of file DTTPGParameters.h.
Referenced by begin(), clear(), DTTPGParameters(), end(), get(), initialize(), operator=(), and set().
|
private |
Definition at line 141 of file DTTPGParameters.h.
Referenced by mapName(), operator=(), and version().
|
private |
Definition at line 147 of file DTTPGParameters.h.
Referenced by get(), initialize(), and set().
|
private |
Definition at line 142 of file DTTPGParameters.h.
Referenced by get(), operator=(), set(), setUnit(), totalTime(), and unit().