#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 (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 () |
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 | |
DTRangeT0 (DTRangeT0 const &) | |
std::string | mapName () const |
read and store full content More... | |
DTRangeT0 & | operator= (DTRangeT0 const &) |
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 71 of file DTRangeT0.h.
typedef std::vector< std::pair<DTRangeT0Id, DTRangeT0Data> >::const_iterator DTRangeT0::const_iterator |
Access methods to data.
Definition at line 141 of file DTRangeT0.h.
DTRangeT0::DTRangeT0 | ( | ) |
Constructor
Definition at line 32 of file DTRangeT0.cc.
References dataList.
DTRangeT0::DTRangeT0 | ( | const std::string & | version | ) |
Definition at line 39 of file DTRangeT0.cc.
References dataList.
DTRangeT0::~DTRangeT0 | ( | ) |
|
private |
DTRangeT0::const_iterator DTRangeT0::begin | ( | void | ) | const |
Definition at line 191 of file DTRangeT0.cc.
References dataList.
void DTRangeT0::clear | ( | void | ) |
reset content
Definition at line 131 of file DTRangeT0.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().
DTRangeT0::const_iterator DTRangeT0::end | ( | void | ) | const |
Definition at line 196 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 78 of file DTRangeT0.cc.
References AlCaHLTBitMon_QueryRunRegistry::data, dataList, dBuf, DTBufferTree< Key, Content >::find(), edm::second(), DTRangeT0Data::t0max, and DTRangeT0Data::t0min.
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 | ( | const DTSuperLayerId & | id, |
int & | t0min, | ||
int & | t0max | ||
) | const |
Definition at line 109 of file DTRangeT0.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().
void DTRangeT0::initialize | ( | ) |
Definition at line 208 of file DTRangeT0.cc.
References DTBufferTree< Key, Content >::clear(), dataList, dBuf, DTBufferTree< Key, Content >::insert(), and DTRangeT0Id::stationId.
Referenced by clear().
|
private |
read and store full content
Definition at line 201 of file DTRangeT0.cc.
References dataVersion, and mergeVDriftHistosByStation::name.
|
private |
int DTRangeT0::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | t0min, | ||
int | t0max | ||
) |
Definition at line 138 of file DTRangeT0.cc.
References AlCaHLTBitMon_QueryRunRegistry::data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), relval_steps::key, edm::second(), DTRangeT0Id::stationId, DTRangeT0Data::t0max, and DTRangeT0Data::t0min.
Referenced by DTRangeT0Handler::getNewObjects(), set(), and setSLRangeT0().
int DTRangeT0::set | ( | const DTSuperLayerId & | id, |
int | t0min, | ||
int | t0max | ||
) |
Definition at line 180 of file DTRangeT0.cc.
References set(), and relativeConstraints::station.
|
inline |
Definition at line 117 of file DTRangeT0.h.
References set().
|
inline |
Definition at line 124 of file DTRangeT0.h.
References set().
|
inline |
|
inline |
Definition at line 95 of file DTRangeT0.h.
const std::string & DTRangeT0::version | ( | ) | const |
access version
Definition at line 121 of file DTRangeT0.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
std::string & DTRangeT0::version | ( | ) |
Definition at line 126 of file DTRangeT0.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
Definition at line 162 of file DTRangeT0.h.
|
friend |
Definition at line 162 of file DTRangeT0.h.
|
private |
Definition at line 154 of file DTRangeT0.h.
Referenced by begin(), clear(), DTRangeT0(), end(), get(), initialize(), and set().
|
private |
Definition at line 152 of file DTRangeT0.h.
|
private |
Definition at line 156 of file DTRangeT0.h.
Referenced by get(), initialize(), and set().