#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 |
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 | |
void | cacheMap () const |
read and store full content More... | |
std::string | mapName () const |
Private Attributes | |
std::vector< std::pair < DTRangeT0Id, DTRangeT0Data > > | dataList |
std::string | dataVersion |
DTBufferTree< int, int > * | dBuf |
Description: Class to hold drift tubes T0 range ( SL by SL min - max T0 )
Definition at line 64 of file DTRangeT0.h.
typedef std::vector< std::pair<DTRangeT0Id, DTRangeT0Data> >::const_iterator DTRangeT0::const_iterator |
Access methods to data.
Definition at line 134 of file DTRangeT0.h.
DTRangeT0::DTRangeT0 | ( | ) |
Constructor
Definition at line 34 of file DTRangeT0.cc.
References dataList, and dBuf.
DTRangeT0::DTRangeT0 | ( | const std::string & | version | ) |
Definition at line 41 of file DTRangeT0.cc.
References dataList, and dBuf.
DTRangeT0::~DTRangeT0 | ( | ) |
DTRangeT0::const_iterator DTRangeT0::begin | ( | void | ) | const |
Definition at line 214 of file DTRangeT0.cc.
References dataList.
|
private |
read and store full content
Definition at line 231 of file DTRangeT0.cc.
References dataList, dBuf, DTBufferTree< Key, Content >::insert(), and DTRangeT0Id::stationId.
Referenced by get(), and set().
void DTRangeT0::clear | ( | void | ) |
reset content
Definition at line 143 of file DTRangeT0.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().
DTRangeT0::const_iterator DTRangeT0::end | ( | void | ) | const |
Definition at line 219 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 82 of file DTRangeT0.cc.
References cacheMap(), data, dataList, dBuf, DTBufferTree< Key, Content >::find(), edm::second(), DTRangeT0Data::t0max, and DTRangeT0Data::t0min.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
int DTRangeT0::get | ( | const DTSuperLayerId & | id, |
int & | t0min, | ||
int & | t0max | ||
) | const |
Definition at line 121 of file DTRangeT0.cc.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
private |
Definition at line 224 of file DTRangeT0.cc.
References dataVersion, and mergeVDriftHistosByStation::name.
int DTRangeT0::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | t0min, | ||
int | t0max | ||
) |
Definition at line 152 of file DTRangeT0.cc.
References cacheMap(), data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), combine::key, edm::second(), DTRangeT0Id::stationId, DTRangeT0Data::t0max, and DTRangeT0Data::t0min.
Referenced by betterConfigParser.BetterConfigParser::getGeneral(), DTRangeT0Handler::getNewObjects(), set(), and setSLRangeT0().
int DTRangeT0::set | ( | const DTSuperLayerId & | id, |
int | t0min, | ||
int | t0max | ||
) |
Definition at line 203 of file DTRangeT0.cc.
References set(), and relativeConstraints::station.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 110 of file DTRangeT0.h.
References set().
|
inline |
Definition at line 117 of file DTRangeT0.h.
References set().
|
inline |
|
inline |
Definition at line 88 of file DTRangeT0.h.
const std::string & DTRangeT0::version | ( | ) | const |
std::string & DTRangeT0::version | ( | ) |
|
private |
Definition at line 142 of file DTRangeT0.h.
Referenced by begin(), cacheMap(), clear(), DTRangeT0(), end(), get(), and set().
|
private |
Definition at line 140 of file DTRangeT0.h.
|
private |
Definition at line 144 of file DTRangeT0.h.
Referenced by cacheMap(), clear(), DTRangeT0(), get(), set(), and ~DTRangeT0().