#include <DTRangeT0.h>
Public Types | |
typedef std::vector< std::pair< DTRangeT0Id, DTRangeT0Data > >::const_iterator | const_iterator |
Access methods to data. More... | |
Public Member Functions | |
const_iterator | begin () const |
void | clear () |
reset content More... | |
DTRangeT0 () | |
DTRangeT0 (const std::string &version) | |
const_iterator | end () const |
int | get (const DTSuperLayerId &id, int &t0min, int &t0max) const |
int | get (int wheelId, int stationId, int sectorId, int slId, int &t0min, int &t0max) const |
void | initialize () |
int | set (const DTSuperLayerId &id, int t0min, int t0max) |
int | set (int wheelId, int stationId, int sectorId, int slId, int t0min, int t0max) |
int | setSLRangeT0 (const DTSuperLayerId &id, int t0min, int t0max) |
int | setSLRangeT0 (int wheelId, int stationId, int sectorId, int slId, int t0min, int t0max) |
int | slRangeT0 (const DTSuperLayerId &id, int &t0min, int &t0max) const |
int | slRangeT0 (int wheelId, int stationId, int sectorId, int slId, int &t0min, int &t0max) const |
get content More... | |
std::string & | version () |
const std::string & | version () const |
access version More... | |
~DTRangeT0 () | |
Private Member Functions | |
DTRangeT0 (DTRangeT0 const &)=delete | |
std::string | mapName () const |
read and store full content More... | |
DTRangeT0 & | operator= (DTRangeT0 const &)=delete |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< std::pair< DTRangeT0Id, DTRangeT0Data > > | dataList |
std::string | dataVersion |
DTBufferTree< int, int > * | dBuf |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Description: Class to hold drift tubes T0 range ( SL by SL min - max T0 )
Definition at line 63 of file DTRangeT0.h.
typedef std::vector<std::pair<DTRangeT0Id, DTRangeT0Data> >::const_iterator DTRangeT0::const_iterator |
Access methods to data.
Definition at line 99 of file DTRangeT0.h.
DTRangeT0::DTRangeT0 | ( | ) |
DTRangeT0::DTRangeT0 | ( | const std::string & | version | ) |
Definition at line 33 of file DTRangeT0.cc.
References dataList.
DTRangeT0::~DTRangeT0 | ( | ) |
|
privatedelete |
DTRangeT0::const_iterator DTRangeT0::begin | ( | void | ) | const |
void DTRangeT0::clear | ( | void | ) |
reset content
Definition at line 83 of file DTRangeT0.cc.
References dataList, and initialize().
Referenced by BeautifulSoup.Tag::setString().
DTRangeT0::const_iterator DTRangeT0::end | ( | void | ) | const |
Definition at line 128 of file DTRangeT0.cc.
References dataList.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
int DTRangeT0::get | ( | const DTSuperLayerId & | id, |
int & | t0min, | ||
int & | t0max | ||
) | const |
Definition at line 75 of file DTRangeT0.cc.
References get(), relativeConstraints::station, 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 DTRangeT0::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int & | t0min, | ||
int & | t0max | ||
) | const |
Definition at line 53 of file DTRangeT0.cc.
References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), and edm::second().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), get(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), slRangeT0(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), rrapi.RRApi::workspaces(), and util.rrapi.RRApi::workspaces().
void DTRangeT0::initialize | ( | ) |
Definition at line 136 of file DTRangeT0.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 130 of file DTRangeT0.cc.
References dataVersion, and Skims_PA_cff::name.
|
private |
int DTRangeT0::set | ( | const DTSuperLayerId & | id, |
int | t0min, | ||
int | t0max | ||
) |
Definition at line 122 of file DTRangeT0.cc.
References set(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
int DTRangeT0::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | t0min, | ||
int | t0max | ||
) |
Definition at line 89 of file DTRangeT0.cc.
References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), crabWrapper::key, and edm::second().
Referenced by DTRangeT0Handler::getNewObjects(), set(), and setSLRangeT0().
|
inline |
|
inline |
Definition at line 91 of file DTRangeT0.h.
References set().
|
inline |
|
inline |
std::string & DTRangeT0::version | ( | ) |
Definition at line 81 of file DTRangeT0.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
const std::string & DTRangeT0::version | ( | ) | const |
access version
Definition at line 79 of file DTRangeT0.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
Definition at line 118 of file DTRangeT0.h.
|
friend |
Definition at line 118 of file DTRangeT0.h.
|
private |
Definition at line 111 of file DTRangeT0.h.
Referenced by begin(), clear(), DTRangeT0(), end(), get(), initialize(), and set().
|
private |
Definition at line 109 of file DTRangeT0.h.
|
private |
Definition at line 113 of file DTRangeT0.h.
Referenced by get(), initialize(), and set().