#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 |
void | initialize () |
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 | |
DTCCBConfig (DTCCBConfig const &) | |
DTCCBConfig & | operator= (DTCCBConfig const &) |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< std::pair < DTCCBId, int > > | dataList |
std::string | dataVersion |
edm::ConstRespectingPtr < DTBufferTreeUniquePtr > | dBuf |
std::vector< DTConfigKey > | fullConfigKey |
int | timeStamp |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Description: Class to hold configuration identifier for chambers
Definition at line 69 of file DTCCBConfig.h.
typedef ccb_config_map::const_iterator DTCCBConfig::ccb_config_iterator |
Definition at line 87 of file DTCCBConfig.h.
typedef std::vector< std::pair< DTCCBId,std::vector<int> > > DTCCBConfig::ccb_config_map |
Definition at line 86 of file DTCCBConfig.h.
typedef std::vector< std::pair<DTCCBId,int> >::const_iterator DTCCBConfig::const_iterator |
Access methods to data.
Definition at line 117 of file DTCCBConfig.h.
DTCCBConfig::DTCCBConfig | ( | ) |
DTCCBConfig::DTCCBConfig | ( | const std::string & | version | ) |
Definition at line 38 of file DTCCBConfig.cc.
References dataList.
|
virtual |
Definition at line 62 of file DTCCBConfig.cc.
|
private |
int DTCCBConfig::appendConfigKey | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
const std::vector< int > & | confKey | ||
) |
Definition at line 238 of file DTCCBConfig.cc.
References dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), getDQMSummary::iter, relval_steps::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 278 of file DTCCBConfig.cc.
References appendConfigKey(), and relativeConstraints::station.
DTCCBConfig::const_iterator DTCCBConfig::begin | ( | void | ) | const |
Definition at line 286 of file DTCCBConfig.cc.
References dataList.
Referenced by configKeyMap(), DTUserKeyedConfigHandler::getNewObjects(), and DTKeyedConfigHandler::getNewObjects().
void DTCCBConfig::clear | ( | void | ) |
reset content
Definition at line 162 of file DTCCBConfig.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().
int DTCCBConfig::configKey | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
std::vector< int > & | confKey | ||
) | const |
Definition at line 87 of file DTCCBConfig.cc.
References dBuf, and DTBufferTree< Key, Content >::find().
Referenced by configKey().
int DTCCBConfig::configKey | ( | const DTChamberId & | id, |
std::vector< int > & | confKey | ||
) | const |
Definition at line 103 of file DTCCBConfig.cc.
References configKey(), and relativeConstraints::station.
DTCCBConfig::ccb_config_map DTCCBConfig::configKeyMap | ( | ) | const |
Definition at line 113 of file DTCCBConfig.cc.
References begin(), end(), and DTCCBId::stationId.
DTCCBConfig::const_iterator DTCCBConfig::end | ( | void | ) | const |
Definition at line 291 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 |
void DTCCBConfig::initialize | ( | ) |
Definition at line 295 of file DTCCBConfig.cc.
References DTBufferTree< Key, Content >::clear(), dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), getDQMSummary::iter, and DTCCBId::stationId.
Referenced by clear().
|
private |
|
private |
int DTCCBConfig::setConfigKey | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
const std::vector< int > & | confKey | ||
) |
Definition at line 179 of file DTCCBConfig.cc.
References dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), getDQMSummary::iter, and DTCCBId::stationId.
Referenced by setConfigKey().
int DTCCBConfig::setConfigKey | ( | const DTChamberId & | id, |
const std::vector< int > & | confKey | ||
) |
Definition at line 229 of file DTCCBConfig.cc.
References setConfigKey(), and relativeConstraints::station.
void DTCCBConfig::setFullKey | ( | const std::vector< DTConfigKey > & | key | ) |
Definition at line 169 of file DTCCBConfig.cc.
References fullConfigKey, and relval_steps::key.
Referenced by DTKeyedConfigHandler::getNewObjects(), and DTUserKeyedConfigHandler::getNewObjects().
void DTCCBConfig::setStamp | ( | int | s | ) |
Definition at line 174 of file DTCCBConfig.cc.
References alignCSCRings::s, and timeStamp.
Referenced by DTKeyedConfigHandler::getNewObjects(), and DTUserKeyedConfigHandler::getNewObjects().
int DTCCBConfig::stamp | ( | ) | const |
Definition at line 82 of file DTCCBConfig.cc.
References timeStamp.
const std::string & DTCCBConfig::version | ( | ) | const |
std::string & DTCCBConfig::version | ( | ) |
|
friend |
Definition at line 135 of file DTCCBConfig.h.
|
friend |
Definition at line 135 of file DTCCBConfig.h.
|
private |
Definition at line 131 of file DTCCBConfig.h.
Referenced by appendConfigKey(), begin(), clear(), DTCCBConfig(), end(), initialize(), and setConfigKey().
|
private |
Definition at line 129 of file DTCCBConfig.h.
Referenced by version().
|
private |
Definition at line 133 of file DTCCBConfig.h.
Referenced by appendConfigKey(), configKey(), initialize(), and setConfigKey().
|
private |
Definition at line 130 of file DTCCBConfig.h.
Referenced by fullKey(), and setFullKey().
|
private |
Definition at line 128 of file DTCCBConfig.h.
Referenced by setStamp(), and stamp().