#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 (DTCCBConfig const &)=delete | |
DTCCBConfig (const std::string &version) | |
const_iterator | end () const |
std::vector< DTConfigKey > | fullKey () const |
void | initialize () |
DTCCBConfig & | operator= (DTCCBConfig const &)=delete |
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 | |
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 60 of file DTCCBConfig.h.
typedef ccb_config_map::const_iterator DTCCBConfig::ccb_config_iterator |
Definition at line 74 of file DTCCBConfig.h.
typedef std::vector<std::pair<DTCCBId, std::vector<int> > > DTCCBConfig::ccb_config_map |
Definition at line 73 of file DTCCBConfig.h.
typedef std::vector<std::pair<DTCCBId, int> >::const_iterator DTCCBConfig::const_iterator |
Access methods to data.
Definition at line 94 of file DTCCBConfig.h.
DTCCBConfig::DTCCBConfig | ( | ) |
|
delete |
DTCCBConfig::DTCCBConfig | ( | const std::string & | version | ) |
Definition at line 33 of file DTCCBConfig.cc.
References dataList.
|
virtual |
Definition at line 45 of file DTCCBConfig.cc.
int DTCCBConfig::appendConfigKey | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
const std::vector< int > & | confKey | ||
) |
Definition at line 168 of file DTCCBConfig.cc.
References dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), crabWrapper::key, eostools::move(), DTCCBId::sectorId, DTCCBId::stationId, and DTCCBId::wheelId.
Referenced by appendConfigKey(), DTUserKeyedConfigHandler::getNewObjects(), and DTKeyedConfigHandler::getNewObjects().
int DTCCBConfig::appendConfigKey | ( | const DTChamberId & | id, |
const std::vector< int > & | confKey | ||
) |
Definition at line 201 of file DTCCBConfig.cc.
References appendConfigKey(), nano_mu_digi_cff::sector, relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
DTCCBConfig::const_iterator DTCCBConfig::begin | ( | void | ) | const |
Definition at line 205 of file DTCCBConfig.cc.
References dataList.
Referenced by configKeyMap(), DTUserKeyedConfigHandler::getNewObjects(), and DTKeyedConfigHandler::getNewObjects().
void DTCCBConfig::clear | ( | void | ) |
int DTCCBConfig::configKey | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
std::vector< int > & | confKey | ||
) | const |
Definition at line 58 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 70 of file DTCCBConfig.cc.
References configKey(), nano_mu_digi_cff::sector, relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
DTCCBConfig::ccb_config_map DTCCBConfig::configKeyMap | ( | ) | const |
Definition at line 74 of file DTCCBConfig.cc.
References begin(), end(), DTCCBId::sectorId, DTCCBId::stationId, and DTCCBId::wheelId.
DTCCBConfig::const_iterator DTCCBConfig::end | ( | void | ) | const |
Definition at line 207 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 209 of file DTCCBConfig.cc.
References officialStyle::chan, DTBufferTree< Key, Content >::clear(), dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), and eostools::move().
Referenced by clear().
|
delete |
|
private |
int DTCCBConfig::setConfigKey | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
const std::vector< int > & | confKey | ||
) |
Definition at line 123 of file DTCCBConfig.cc.
References dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), DTCCBId::sectorId, DTCCBId::stationId, and DTCCBId::wheelId.
Referenced by setConfigKey().
int DTCCBConfig::setConfigKey | ( | const DTChamberId & | id, |
const std::vector< int > & | confKey | ||
) |
Definition at line 164 of file DTCCBConfig.cc.
References nano_mu_digi_cff::sector, setConfigKey(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
void DTCCBConfig::setFullKey | ( | const std::vector< DTConfigKey > & | key | ) |
Definition at line 119 of file DTCCBConfig.cc.
References fullConfigKey, and crabWrapper::key.
Referenced by DTKeyedConfigHandler::getNewObjects(), and DTUserKeyedConfigHandler::getNewObjects().
void DTCCBConfig::setStamp | ( | int | s | ) |
Definition at line 121 of file DTCCBConfig.cc.
References alignCSCRings::s, and timeStamp.
Referenced by DTKeyedConfigHandler::getNewObjects(), and DTUserKeyedConfigHandler::getNewObjects().
int DTCCBConfig::stamp | ( | ) | const |
const std::string & DTCCBConfig::version | ( | ) | const |
access version
Definition at line 109 of file DTCCBConfig.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
std::string & DTCCBConfig::version | ( | ) |
Definition at line 111 of file DTCCBConfig.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
Definition at line 108 of file DTCCBConfig.h.
|
friend |
Definition at line 108 of file DTCCBConfig.h.
|
private |
Definition at line 104 of file DTCCBConfig.h.
Referenced by appendConfigKey(), begin(), clear(), DTCCBConfig(), end(), initialize(), and setConfigKey().
|
private |
Definition at line 102 of file DTCCBConfig.h.
Referenced by version().
|
private |
Definition at line 106 of file DTCCBConfig.h.
Referenced by appendConfigKey(), configKey(), initialize(), and setConfigKey().
|
private |
Definition at line 103 of file DTCCBConfig.h.
Referenced by fullKey(), and setFullKey().
|
private |
Definition at line 101 of file DTCCBConfig.h.
Referenced by setStamp(), and stamp().