#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 (DTRangeT0 const &)=delete | |
DTRangeT0 (const std::string &version) | |
const_iterator | end () const |
int | get (int wheelId, int stationId, int sectorId, int slId, int &t0min, int &t0max) const |
int | get (const DTSuperLayerId &id, int &t0min, int &t0max) const |
void | initialize () |
DTRangeT0 & | operator= (DTRangeT0 const &)=delete |
int | set (int wheelId, int stationId, int sectorId, int slId, int t0min, int t0max) |
int | set (const DTSuperLayerId &id, int t0min, int t0max) |
int | setSLRangeT0 (int wheelId, int stationId, int sectorId, int slId, int t0min, int t0max) |
int | setSLRangeT0 (const DTSuperLayerId &id, int t0min, int t0max) |
int | slRangeT0 (int wheelId, int stationId, int sectorId, int slId, int &t0min, int &t0max) const |
get content More... | |
int | slRangeT0 (const DTSuperLayerId &id, int &t0min, int &t0max) const |
const std::string & | version () const |
access version More... | |
std::string & | version () |
~DTRangeT0 () | |
Private Member Functions | |
std::string | mapName () const |
read and store full content More... | |
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 101 of file DTRangeT0.h.
DTRangeT0::DTRangeT0 | ( | ) |
Constructor
Definition at line 31 of file DTRangeT0.cc.
References dataList.
|
delete |
DTRangeT0::DTRangeT0 | ( | const std::string & | version | ) |
Definition at line 33 of file DTRangeT0.cc.
References dataList.
DTRangeT0::~DTRangeT0 | ( | ) |
DTRangeT0::const_iterator DTRangeT0::begin | ( | void | ) | const |
Definition at line 126 of file DTRangeT0.cc.
References dataList.
void DTRangeT0::clear | ( | void | ) |
reset content
Definition at line 83 of file DTRangeT0.cc.
References dataList, and initialize().
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 | ( | 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(), submitPVValidationJobs.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
int DTRangeT0::get | ( | const DTSuperLayerId & | id, |
int & | t0min, | ||
int & | t0max | ||
) | const |
Definition at line 75 of file DTRangeT0.cc.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and 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 | ( | 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().
int DTRangeT0::set | ( | const DTSuperLayerId & | id, |
int | t0min, | ||
int | t0max | ||
) |
Definition at line 122 of file DTRangeT0.cc.
|
inline |
Definition at line 93 of file DTRangeT0.h.
|
inline |
|
inline |
|
inline |
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().
std::string & DTRangeT0::version | ( | ) |
Definition at line 81 of file DTRangeT0.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
Definition at line 117 of file DTRangeT0.h.
|
friend |
Definition at line 117 of file DTRangeT0.h.
|
private |
Definition at line 110 of file DTRangeT0.h.
Referenced by begin(), clear(), DTRangeT0(), end(), get(), initialize(), and set().
|
private |
Definition at line 108 of file DTRangeT0.h.
|
private |
Definition at line 112 of file DTRangeT0.h.
Referenced by get(), initialize(), and set().