#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 (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 | 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 (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 |
void | initialize () |
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 | 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 (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 | setSLMtime (const DetId &id, float mTime, float mTrms, DTTimeUnits::type unit) |
int | setSLMtime (const DTSuperLayerId &id, float mTime, float mTrms, DTTimeUnits::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) |
void | setUnit (float unit) |
int | slMtime (const DetId &id, float &mTime, float &mTrms, DTTimeUnits::type unit) const |
int | slMtime (const DTSuperLayerId &id, float &mTime, float &mTrms, DTTimeUnits::type unit) const |
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 |
float | unit () const |
std::string & | version () |
const std::string & | version () const |
access version More... | |
~DTMtime () | |
Private Member Functions | |
DTMtime (DTMtime const &)=delete | |
std::string | mapName () const |
read and store full content More... | |
DTMtime & | operator= (DTMtime const &)=delete |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< std::pair< DTMtimeId, DTMtimeData > > | 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 mean-times ( SL by SL mean-time calculation )
typedef std::vector<std::pair<DTMtimeId, DTMtimeData> >::const_iterator DTMtime::const_iterator |
DTMtime::DTMtime | ( | ) |
DTMtime::DTMtime | ( | const std::string & | version | ) |
DTMtime::~DTMtime | ( | ) |
|
privatedelete |
DTMtime::const_iterator DTMtime::begin | ( | void | ) | const |
void DTMtime::clear | ( | void | ) |
reset content
Definition at line 162 of file DTMtime.cc.
References dataList, and initialize().
Referenced by BeautifulSoup.Tag::setString().
DTMtime::const_iterator DTMtime::end | ( | void | ) | const |
Definition at line 286 of file DTMtime.cc.
References dataList.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
int DTMtime::get | ( | const DetId & | id, |
float & | mTime, | ||
float & | mTrms, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 130 of file DTMtime.cc.
References get(), DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superLayer(), unit(), DTChamberId::wheel(), and DTWireId::wire().
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().
int DTMtime::get | ( | const DetId & | id, |
float & | mTime, | ||
float & | mTrms, | ||
DTVelocityUnits::type | unit | ||
) | const |
Definition at line 143 of file DTMtime.cc.
References get(), DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superLayer(), unit(), DTChamberId::wheel(), and DTWireId::wire().
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().
int DTMtime::get | ( | const DTSuperLayerId & | id, |
float & | mTime, | ||
float & | mTrms, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 122 of file DTMtime.cc.
References get(), relativeConstraints::station, unit(), and makeMuonMisalignmentScenario::wheel.
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().
int DTMtime::get | ( | const DTSuperLayerId & | id, |
float & | mTime, | ||
float & | mTrms, | ||
DTVelocityUnits::type | unit | ||
) | const |
Definition at line 126 of file DTMtime.cc.
References get(), relativeConstraints::station, unit(), and makeMuonMisalignmentScenario::wheel.
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().
int DTMtime::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
float & | mTime, | ||
float & | mTrms, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 56 of file DTMtime.cc.
References unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), DTRunConditionVar::analyze(), rrapi.RRApi::columns(), util.rrapi.RRApi::columns(), dtCalibration::DTVDriftSegment::compute(), DTLinearDriftFromDBAlgo::compute(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), DTVDriftWriter::endJob(), get(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), slMtime(), rrapi.RRApi::tables(), util.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().
int DTMtime::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
float & | mTime, | ||
float & | mTrms, | ||
DTVelocityUnits::type | unit | ||
) | const |
Definition at line 61 of file DTMtime.cc.
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().
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 66 of file DTMtime.cc.
References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTTimeUnits::ns, nsPerCount, edm::second(), and 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().
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 100 of file DTMtime.cc.
References DTVelocityUnits::cm_per_count, DTVelocityUnits::cm_per_ns, DTTimeUnits::counts, get(), nsPerCount, mps_update::status, and 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 DTMtime::initialize | ( | ) |
Definition at line 294 of file DTMtime.cc.
References officialStyle::chan, DTBufferTree< Key, Content >::clear(), dataList, dBuf, and DTBufferTree< Key, Content >::insert().
Referenced by clear().
|
private |
read and store full content
Definition at line 288 of file DTMtime.cc.
References dataVersion, and Skims_PA_cff::name.
|
private |
int DTMtime::set | ( | const DetId & | id, |
float | mTime, | ||
float | mTrms, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 256 of file DTMtime.cc.
References DTLayerId::layer(), DTChamberId::sector(), set(), DTChamberId::station(), DTSuperLayerId::superLayer(), unit(), DTChamberId::wheel(), and DTWireId::wire().
int DTMtime::set | ( | const DetId & | id, |
float | mTime, | ||
float | mTrms, | ||
DTVelocityUnits::type | unit | ||
) |
Definition at line 269 of file DTMtime.cc.
References DTLayerId::layer(), DTChamberId::sector(), set(), DTChamberId::station(), DTSuperLayerId::superLayer(), unit(), DTChamberId::wheel(), and DTWireId::wire().
int DTMtime::set | ( | const DTSuperLayerId & | id, |
float | mTime, | ||
float | mTrms, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 248 of file DTMtime.cc.
References set(), relativeConstraints::station, unit(), and makeMuonMisalignmentScenario::wheel.
int DTMtime::set | ( | const DTSuperLayerId & | id, |
float | mTime, | ||
float | mTrms, | ||
DTVelocityUnits::type | unit | ||
) |
Definition at line 252 of file DTMtime.cc.
References set(), relativeConstraints::station, unit(), and makeMuonMisalignmentScenario::wheel.
int DTMtime::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
float | mTime, | ||
float | mTrms, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 168 of file DTMtime.cc.
References unit().
Referenced by DTVDriftWriter::endJob(), DTVDriftCalibration::endJob(), set(), and setSLMtime().
int DTMtime::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
float | mTime, | ||
float | mTrms, | ||
DTVelocityUnits::type | unit | ||
) |
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 177 of file DTMtime.cc.
References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), crabWrapper::key, DTTimeUnits::ns, nsPerCount, edm::second(), and unit().
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 227 of file DTMtime.cc.
References DTVelocityUnits::cm_per_count, DTVelocityUnits::cm_per_ns, DTTimeUnits::counts, nsPerCount, set(), and unit().
|
inline |
|
inline |
|
inline |
|
inline |
void DTMtime::setUnit | ( | float | unit | ) |
|
inline |
|
inline |
|
inline |
|
inline |
float DTMtime::unit | ( | ) | const |
Definition at line 156 of file DTMtime.cc.
References nsPerCount.
Referenced by get(), set(), setSLMtime(), setUnit(), and slMtime().
std::string & DTMtime::version | ( | ) |
Definition at line 160 of file DTMtime.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
const std::string & DTMtime::version | ( | ) | const |
access version
Definition at line 158 of file DTMtime.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), validation.Sample::filename(), and DTLinearDriftFromDBAlgo::setES().
|
friend |
|
private |
|
private |
|
private |
Definition at line 199 of file DTMtime.h.
Referenced by get(), initialize(), and set().