#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 |
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 | |
void | cacheMap () const |
read and store full content More... | |
std::string | mapName () const |
Private Attributes | |
std::vector< std::pair < DTMtimeId, DTMtimeData > > | dataList |
std::string | dataVersion |
DTBufferTree< int, int > * | dBuf |
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 34 of file DTMtime.cc.
References dataList, and dBuf.
DTMtime::DTMtime | ( | const std::string & | version | ) |
Definition at line 42 of file DTMtime.cc.
References dataList, and dBuf.
DTMtime::~DTMtime | ( | ) |
DTMtime::const_iterator DTMtime::begin | ( | void | ) | const |
Definition at line 439 of file DTMtime.cc.
References dataList.
|
private |
read and store full content
Definition at line 456 of file DTMtime.cc.
References dataList, dBuf, DTBufferTree< Key, Content >::insert(), and DTMtimeId::stationId.
Referenced by get(), and set().
void DTMtime::clear | ( | void | ) |
reset content
Definition at line 257 of file DTMtime.cc.
References dataList, and dBuf.
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 444 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 86 of file DTMtime.cc.
References unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), DTRunConditionVar::analyze(), DTVDriftSegment::compute(), DTLinearDriftFromDBAlgo::compute(), DTVDriftWriter::endJob(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
int DTMtime::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
float & | mTime, | ||
float & | mTrms, | ||
DTVelocityUnits::type | unit | ||
) | const |
Definition at line 100 of file DTMtime.cc.
References unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
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 114 of file DTMtime.cc.
References cacheMap(), data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTMtimeData::mTime, DTMtimeData::mTrms, DTTimeUnits::ns, nsPerCount, and edm::second().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
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 162 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(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
int DTMtime::get | ( | const DTSuperLayerId & | id, |
float & | mTime, | ||
float & | mTrms, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 187 of file DTMtime.cc.
References unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
int DTMtime::get | ( | const DTSuperLayerId & | id, |
float & | mTime, | ||
float & | mTrms, | ||
DTVelocityUnits::type | unit | ||
) | const |
Definition at line 199 of file DTMtime.cc.
References unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
int DTMtime::get | ( | const DetId & | id, |
float & | mTime, | ||
float & | mTrms, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 211 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(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
int DTMtime::get | ( | const DetId & | id, |
float & | mTime, | ||
float & | mTrms, | ||
DTVelocityUnits::type | unit | ||
) | const |
Definition at line 226 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(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
private |
Definition at line 449 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 266 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 279 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 292 of file DTMtime.cc.
References cacheMap(), data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), 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 355 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 380 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 392 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 404 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 419 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 173 of file DTMtime.h.
References set().
|
inline |
Definition at line 182 of file DTMtime.h.
References set().
|
inline |
Definition at line 193 of file DTMtime.h.
References set().
|
inline |
Definition at line 198 of file DTMtime.h.
References set().
void DTMtime::setUnit | ( | float | unit | ) |
|
inline |
|
inline |
|
inline |
Definition at line 105 of file DTMtime.h.
References errorMatrix2Lands_multiChannel::id, and unit().
|
inline |
Definition at line 110 of file DTMtime.h.
References errorMatrix2Lands_multiChannel::id, and unit().
float DTMtime::unit | ( | ) | const |
Definition at line 241 of file DTMtime.cc.
References nsPerCount.
const std::string & DTMtime::version | ( | ) | const |
access version
Definition at line 247 of file DTMtime.cc.
References dataVersion.
Referenced by DTLinearDriftFromDBAlgo::setES().
std::string & DTMtime::version | ( | ) |
|
private |
|
private |
|
private |
Definition at line 267 of file DTMtime.h.
Referenced by cacheMap(), clear(), DTMtime(), get(), set(), and ~DTMtime().