#include <DTMtime.h>
Public Types | |
typedef std::vector< std::pair < DTMtimeId, DTMtimeData > >::const_iterator | const_iterator |
Access methods to data. More... | |
Public Member Functions | |
const_iterator | begin () const |
void | clear () |
reset content More... | |
DTMtime () | |
DTMtime (const std::string &version) | |
const_iterator | end () const |
int | get (int wheelId, int stationId, int sectorId, int slId, float &mTime, float &mTrms, DTTimeUnits::type unit) const |
int | get (int wheelId, int stationId, int sectorId, int slId, float &mTime, float &mTrms, DTVelocityUnits::type unit) const |
int | get (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &mTime, float &mTrms, DTTimeUnits::type unit) const |
int | get (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &mTime, float &mTrms, DTVelocityUnits::type unit) const |
int | get (const DTSuperLayerId &id, float &mTime, float &mTrms, DTTimeUnits::type unit) const |
int | get (const DTSuperLayerId &id, float &mTime, float &mTrms, DTVelocityUnits::type unit) const |
int | get (const DetId &id, float &mTime, float &mTrms, DTTimeUnits::type unit) const |
int | get (const DetId &id, float &mTime, float &mTrms, DTVelocityUnits::type unit) const |
void | initialize () |
int | set (int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTTimeUnits::type unit) |
int | set (int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTVelocityUnits::type unit) |
int | set (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float mTime, float mTrms, DTTimeUnits::type unit) |
int | set (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float mTime, float mTrms, DTVelocityUnits::type unit) |
int | set (const DTSuperLayerId &id, float mTime, float mTrms, DTTimeUnits::type unit) |
int | set (const DTSuperLayerId &id, float mTime, float mTrms, DTVelocityUnits::type unit) |
int | set (const DetId &id, float mTime, float mTrms, DTTimeUnits::type unit) |
int | set (const DetId &id, float mTime, float mTrms, DTVelocityUnits::type unit) |
int | setSLMtime (int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTTimeUnits::type unit) |
int | setSLMtime (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float mTime, float mTrms, DTTimeUnits::type unit) |
int | setSLMtime (const DTSuperLayerId &id, float mTime, float mTrms, DTTimeUnits::type unit) |
int | setSLMtime (const DetId &id, float mTime, float mTrms, DTTimeUnits::type unit) |
void | setUnit (float unit) |
int | slMtime (int wheelId, int stationId, int sectorId, int slId, float &mTime, float &mTrms, DTTimeUnits::type unit) const |
get content More... | |
int | slMtime (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &mTime, float &mTrms, DTTimeUnits::type unit) const |
int | slMtime (const DTSuperLayerId &id, float &mTime, float &mTrms, DTTimeUnits::type unit) const |
int | slMtime (const DetId &id, float &mTime, float &mTrms, DTTimeUnits::type unit) const |
float | unit () const |
const std::string & | version () const |
access version More... | |
std::string & | version () |
~DTMtime () | |
Private Member Functions | |
DTMtime (DTMtime const &) | |
std::string | mapName () const |
read and store full content More... | |
DTMtime & | operator= (DTMtime const &) |
Private Attributes | |
COND_SERIALIZABLE | |
edm::ConstRespectingPtr < DTBufferTree< int, int > > dBuf | COND_TRANSIENT |
std::vector< std::pair < DTMtimeId, DTMtimeData > > | dataList |
std::string | dataVersion |
float | nsPerCount |
Description: Class to hold drift tubes mean-times ( SL by SL mean-time calculation )
typedef std::vector< std::pair<DTMtimeId, DTMtimeData> >::const_iterator DTMtime::const_iterator |
DTMtime::DTMtime | ( | ) |
Constructor
Definition at line 32 of file DTMtime.cc.
References dataList.
DTMtime::DTMtime | ( | const std::string & | version | ) |
Definition at line 40 of file DTMtime.cc.
References dataList.
DTMtime::~DTMtime | ( | ) |
|
private |
DTMtime::const_iterator DTMtime::begin | ( | void | ) | const |
Definition at line 414 of file DTMtime.cc.
References dataList.
void DTMtime::clear | ( | void | ) |
reset content
Definition at line 243 of file DTMtime.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().
DTMtime::const_iterator DTMtime::end | ( | void | ) | const |
Definition at line 419 of file DTMtime.cc.
References dataList.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
int DTMtime::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
float & | mTime, | ||
float & | mTrms, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 82 of file DTMtime.cc.
References unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), DTRunConditionVar::analyze(), rrapi.RRApi::columns(), dtCalibration::DTVDriftSegment::compute(), DTLinearDriftFromDBAlgo::compute(), rrapi.RRApi::count(), rrapi.RRApi::data(), DTVDriftWriter::endJob(), 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().
int DTMtime::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
float & | mTime, | ||
float & | mTrms, | ||
DTVelocityUnits::type | unit | ||
) | const |
Definition at line 96 of file DTMtime.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().
int DTMtime::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
float & | mTime, | ||
float & | mTrms, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 110 of file DTMtime.cc.
References data, dataList, DTMtimeData::mTime, DTMtimeData::mTrms, DTTimeUnits::ns, nsPerCount, and edm::second().
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().
int DTMtime::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
float & | mTime, | ||
float & | mTrms, | ||
DTVelocityUnits::type | unit | ||
) | const |
Definition at line 148 of file DTMtime.cc.
References DTVelocityUnits::cm_per_count, DTVelocityUnits::cm_per_ns, DTTimeUnits::counts, nsPerCount, and ntuplemaker::status.
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().
int DTMtime::get | ( | const DTSuperLayerId & | id, |
float & | mTime, | ||
float & | mTrms, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 173 of file DTMtime.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().
int DTMtime::get | ( | const DTSuperLayerId & | id, |
float & | mTime, | ||
float & | mTrms, | ||
DTVelocityUnits::type | unit | ||
) | const |
Definition at line 185 of file DTMtime.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().
int DTMtime::get | ( | const DetId & | id, |
float & | mTime, | ||
float & | mTrms, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 197 of file DTMtime.cc.
References DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superLayer(), unit(), DTChamberId::wheel(), and DTWireId::wire().
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().
int DTMtime::get | ( | const DetId & | id, |
float & | mTime, | ||
float & | mTrms, | ||
DTVelocityUnits::type | unit | ||
) | const |
Definition at line 212 of file DTMtime.cc.
References DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superLayer(), unit(), DTChamberId::wheel(), and DTWireId::wire().
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 DTMtime::initialize | ( | ) |
Definition at line 431 of file DTMtime.cc.
References dataList, and DTMtimeId::stationId.
Referenced by clear().
|
private |
read and store full content
Definition at line 424 of file DTMtime.cc.
References dataVersion, and mergeVDriftHistosByStation::name.
int DTMtime::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
float | mTime, | ||
float | mTrms, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 250 of file DTMtime.cc.
Referenced by DTVDriftWriter::endJob(), DTVDriftCalibration::endJob(), betterConfigParser.BetterConfigParser::getGeneral(), DTMtimeHandler::getNewObjects(), DTFakeVDriftESProducer::produce(), set(), and setSLMtime().
int DTMtime::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
float | mTime, | ||
float | mTrms, | ||
DTVelocityUnits::type | unit | ||
) |
Definition at line 263 of file DTMtime.cc.
References set().
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
int DTMtime::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
float | mTime, | ||
float | mTrms, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 276 of file DTMtime.cc.
References data, dataList, combine::key, DTMtimeData::mTime, DTMtimeData::mTrms, DTTimeUnits::ns, nsPerCount, edm::second(), and DTMtimeId::stationId.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
int DTMtime::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
float | mTime, | ||
float | mTrms, | ||
DTVelocityUnits::type | unit | ||
) |
Definition at line 330 of file DTMtime.cc.
References DTVelocityUnits::cm_per_count, DTVelocityUnits::cm_per_ns, DTTimeUnits::counts, nsPerCount, and set().
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
int DTMtime::set | ( | const DTSuperLayerId & | id, |
float | mTime, | ||
float | mTrms, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 355 of file DTMtime.cc.
References set(), and relativeConstraints::station.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
int DTMtime::set | ( | const DTSuperLayerId & | id, |
float | mTime, | ||
float | mTrms, | ||
DTVelocityUnits::type | unit | ||
) |
Definition at line 367 of file DTMtime.cc.
References set(), and relativeConstraints::station.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
int DTMtime::set | ( | const DetId & | id, |
float | mTime, | ||
float | mTrms, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 379 of file DTMtime.cc.
References DTLayerId::layer(), DTChamberId::sector(), set(), DTChamberId::station(), DTSuperLayerId::superLayer(), unit(), DTChamberId::wheel(), and DTWireId::wire().
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
int DTMtime::set | ( | const DetId & | id, |
float | mTime, | ||
float | mTrms, | ||
DTVelocityUnits::type | unit | ||
) |
Definition at line 394 of file DTMtime.cc.
References DTLayerId::layer(), DTChamberId::sector(), set(), DTChamberId::station(), DTSuperLayerId::superLayer(), unit(), DTChamberId::wheel(), and DTWireId::wire().
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 180 of file DTMtime.h.
References set().
|
inline |
Definition at line 189 of file DTMtime.h.
References set().
|
inline |
Definition at line 200 of file DTMtime.h.
References set().
|
inline |
Definition at line 205 of file DTMtime.h.
References set().
void DTMtime::setUnit | ( | float | unit | ) |
|
inline |
|
inline |
|
inline |
|
inline |
float DTMtime::unit | ( | ) | const |
Definition at line 227 of file DTMtime.cc.
References nsPerCount.
const std::string & DTMtime::version | ( | ) | const |
access version
Definition at line 233 of file DTMtime.cc.
References dataVersion.
Referenced by DTLinearDriftFromDBAlgo::setES().
std::string & DTMtime::version | ( | ) |
|
private |
|
private |
|
private |