#include <DTCCBConfig.h>
Public Types | |
typedef ccb_config_map::const_iterator | ccb_config_iterator |
typedef std::vector< std::pair < DTCCBId, std::vector< int > > > | ccb_config_map |
typedef std::vector< std::pair < DTCCBId, int > >::const_iterator | const_iterator |
Access methods to data. More... | |
Public Member Functions | |
int | appendConfigKey (int wheelId, int stationId, int sectorId, const std::vector< int > &confKey) |
int | appendConfigKey (const DTChamberId &id, const std::vector< int > &confKey) |
const_iterator | begin () const |
void | clear () |
reset content More... | |
int | configKey (int wheelId, int stationId, int sectorId, std::vector< int > &confKey) const |
int | configKey (const DTChamberId &id, std::vector< int > &confKey) const |
ccb_config_map | configKeyMap () const |
DTCCBConfig () | |
DTCCBConfig (const std::string &version) | |
const_iterator | end () const |
std::vector< DTConfigKey > | fullKey () const |
get content More... | |
int | setConfigKey (int wheelId, int stationId, int sectorId, const std::vector< int > &confKey) |
int | setConfigKey (const DTChamberId &id, const std::vector< int > &confKey) |
void | setFullKey (const std::vector< DTConfigKey > &) |
void | setStamp (int s) |
int | stamp () const |
const std::string & | version () const |
access version More... | |
std::string & | version () |
virtual | ~DTCCBConfig () |
Private Member Functions | |
void | cacheMap () const |
read and store full content More... | |
void | resetMap () const |
Private Attributes | |
std::vector< std::pair < DTCCBId, int > > | dataList |
std::string | dataVersion |
DTBufferTree< int, std::vector < int > * > * | dBuf |
std::vector< DTConfigKey > | fullConfigKey |
int | timeStamp |
Description: Class to hold configuration identifier for chambers
Definition at line 63 of file DTCCBConfig.h.
typedef ccb_config_map::const_iterator DTCCBConfig::ccb_config_iterator |
Definition at line 88 of file DTCCBConfig.h.
typedef std::vector< std::pair< DTCCBId,std::vector<int> > > DTCCBConfig::ccb_config_map |
Definition at line 87 of file DTCCBConfig.h.
typedef std::vector< std::pair<DTCCBId,int> >::const_iterator DTCCBConfig::const_iterator |
Access methods to data.
Definition at line 118 of file DTCCBConfig.h.
DTCCBConfig::DTCCBConfig | ( | ) |
DTCCBConfig::DTCCBConfig | ( | const std::string & | version | ) |
Definition at line 42 of file DTCCBConfig.cc.
References dataList, and dBuf.
|
virtual |
int DTCCBConfig::appendConfigKey | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
const std::vector< int > & | confKey | ||
) |
Definition at line 278 of file DTCCBConfig.cc.
References cacheMap(), dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), combine::key, and DTCCBId::stationId.
Referenced by appendConfigKey(), DTUserKeyedConfigHandler::getNewObjects(), and DTKeyedConfigHandler::getNewObjects().
int DTCCBConfig::appendConfigKey | ( | const DTChamberId & | id, |
const std::vector< int > & | confKey | ||
) |
Definition at line 331 of file DTCCBConfig.cc.
References appendConfigKey(), and relativeConstraints::station.
DTCCBConfig::const_iterator DTCCBConfig::begin | ( | void | ) | const |
Definition at line 340 of file DTCCBConfig.cc.
References dataList.
Referenced by configKeyMap(), DTUserKeyedConfigHandler::getNewObjects(), and DTKeyedConfigHandler::getNewObjects().
|
private |
read and store full content
Definition at line 359 of file DTCCBConfig.cc.
References dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), DTBufferTree< Key, Content >::setDefault(), and DTCCBId::stationId.
Referenced by appendConfigKey(), configKey(), and setConfigKey().
void DTCCBConfig::clear | ( | void | ) |
reset content
Definition at line 182 of file DTCCBConfig.cc.
References dataList, dBuf, and resetMap().
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().
int DTCCBConfig::configKey | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
std::vector< int > & | confKey | ||
) | const |
Definition at line 93 of file DTCCBConfig.cc.
References cacheMap(), dBuf, and DTBufferTree< Key, Content >::find().
Referenced by configKey().
int DTCCBConfig::configKey | ( | const DTChamberId & | id, |
std::vector< int > & | confKey | ||
) | const |
Definition at line 123 of file DTCCBConfig.cc.
References configKey(), and relativeConstraints::station.
DTCCBConfig::ccb_config_map DTCCBConfig::configKeyMap | ( | ) | const |
Definition at line 133 of file DTCCBConfig.cc.
References begin(), end(), and DTCCBId::stationId.
DTCCBConfig::const_iterator DTCCBConfig::end | ( | void | ) | const |
Definition at line 345 of file DTCCBConfig.cc.
References dataList.
Referenced by configKeyMap(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), DTUserKeyedConfigHandler::getNewObjects(), and DTKeyedConfigHandler::getNewObjects().
std::vector< DTConfigKey > DTCCBConfig::fullKey | ( | ) | const |
|
private |
Definition at line 396 of file DTCCBConfig.cc.
References DTBufferTree< Key, Content >::contList(), dBuf, and list().
Referenced by clear(), and ~DTCCBConfig().
int DTCCBConfig::setConfigKey | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
const std::vector< int > & | confKey | ||
) |
Definition at line 202 of file DTCCBConfig.cc.
References cacheMap(), dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), and DTCCBId::stationId.
Referenced by setConfigKey().
int DTCCBConfig::setConfigKey | ( | const DTChamberId & | id, |
const std::vector< int > & | confKey | ||
) |
Definition at line 269 of file DTCCBConfig.cc.
References setConfigKey(), and relativeConstraints::station.
void DTCCBConfig::setFullKey | ( | const std::vector< DTConfigKey > & | key | ) |
Definition at line 192 of file DTCCBConfig.cc.
References fullConfigKey, and combine::key.
Referenced by DTKeyedConfigHandler::getNewObjects(), and DTUserKeyedConfigHandler::getNewObjects().
void DTCCBConfig::setStamp | ( | int | s | ) |
Definition at line 197 of file DTCCBConfig.cc.
References alignCSCRings::s, and timeStamp.
Referenced by DTKeyedConfigHandler::getNewObjects(), and DTUserKeyedConfigHandler::getNewObjects().
int DTCCBConfig::stamp | ( | ) | const |
Definition at line 88 of file DTCCBConfig.cc.
References timeStamp.
const std::string & DTCCBConfig::version | ( | ) | const |
std::string & DTCCBConfig::version | ( | ) |
|
private |
Definition at line 127 of file DTCCBConfig.h.
Referenced by appendConfigKey(), begin(), cacheMap(), clear(), DTCCBConfig(), end(), and setConfigKey().
|
private |
Definition at line 125 of file DTCCBConfig.h.
Referenced by version().
|
private |
Definition at line 129 of file DTCCBConfig.h.
Referenced by appendConfigKey(), cacheMap(), clear(), configKey(), DTCCBConfig(), resetMap(), setConfigKey(), and ~DTCCBConfig().
|
private |
Definition at line 126 of file DTCCBConfig.h.
Referenced by fullKey(), and setFullKey().
|
private |
Definition at line 124 of file DTCCBConfig.h.
Referenced by setStamp(), and stamp().