#include <DTLVStatus.h>
Public Types | |
typedef std::vector< std::pair< DTLVStatusId, DTLVStatusData > >::const_iterator | const_iterator |
Access methods to data. More... | |
Public Member Functions | |
const_iterator | begin () const |
void | clear () |
reset content More... | |
DTLVStatus () | |
DTLVStatus (const std::string &version) | |
const_iterator | end () const |
int | get (const DTChamberId &id, int &flagCFE, int &flagDFE, int &flagCMC, int &flagDMC) const |
int | get (int wheelId, int stationId, int sectorId, int &flagCFE, int &flagDFE, int &flagCMC, int &flagDMC) const |
get content More... | |
void | initialize () |
int | set (const DTChamberId &id, int flagCFE, int flagDFE, int flagCMC, int flagDMC) |
int | set (int wheelId, int stationId, int sectorId, int flagCFE, int flagDFE, int flagCMC, int flagDMC) |
int | setFlagCFE (const DTChamberId &id, int flag) |
int | setFlagCFE (int wheelId, int stationId, int sectorId, int flag) |
int | setFlagCMC (const DTChamberId &id, int flag) |
int | setFlagCMC (int wheelId, int stationId, int sectorId, int flag) |
int | setFlagDFE (const DTChamberId &id, int flag) |
int | setFlagDFE (int wheelId, int stationId, int sectorId, int flag) |
int | setFlagDMC (const DTChamberId &id, int flag) |
int | setFlagDMC (int wheelId, int stationId, int sectorId, int flag) |
std::string & | version () |
const std::string & | version () const |
access version More... | |
~DTLVStatus () | |
Private Member Functions | |
DTLVStatus (DTLVStatus const &)=delete | |
std::string | mapName () const |
read and store full content More... | |
DTLVStatus & | operator= (DTLVStatus const &)=delete |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< std::pair< DTLVStatusId, DTLVStatusData > > | dataList |
std::string | dataVersion |
edm::ConstRespectingPtr< DTBufferTree< int, int > > | dBuf |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Description: Class to hold CCB status
Definition at line 63 of file DTLVStatus.h.
typedef std::vector<std::pair<DTLVStatusId, DTLVStatusData> >::const_iterator DTLVStatus::const_iterator |
Access methods to data.
Definition at line 98 of file DTLVStatus.h.
DTLVStatus::DTLVStatus | ( | ) |
DTLVStatus::DTLVStatus | ( | const std::string & | version | ) |
Definition at line 34 of file DTLVStatus.cc.
References dataList.
DTLVStatus::~DTLVStatus | ( | ) |
|
privatedelete |
DTLVStatus::const_iterator DTLVStatus::begin | ( | void | ) | const |
void DTLVStatus::clear | ( | void | ) |
reset content
Definition at line 87 of file DTLVStatus.cc.
References dataList, and initialize().
Referenced by BeautifulSoup.Tag::setString().
DTLVStatus::const_iterator DTLVStatus::end | ( | void | ) | const |
Definition at line 186 of file DTLVStatus.cc.
References dataList.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
int DTLVStatus::get | ( | const DTChamberId & | id, |
int & | flagCFE, | ||
int & | flagDFE, | ||
int & | flagCMC, | ||
int & | flagDMC | ||
) | const |
Definition at line 79 of file DTLVStatus.cc.
References get(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
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 DTLVStatus::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int & | flagCFE, | ||
int & | flagDFE, | ||
int & | flagCMC, | ||
int & | flagDMC | ||
) | const |
get content
Operations
Definition at line 54 of file DTLVStatus.cc.
References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), and edm::second().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), util.rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), get(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), setFlagCFE(), setFlagCMC(), setFlagDFE(), setFlagDMC(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), util.rrapi.RRApi::templates(), rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
void DTLVStatus::initialize | ( | ) |
Definition at line 194 of file DTLVStatus.cc.
References officialStyle::chan, DTBufferTree< Key, Content >::clear(), dataList, dBuf, and DTBufferTree< Key, Content >::insert().
Referenced by clear().
|
private |
read and store full content
Definition at line 188 of file DTLVStatus.cc.
References dataVersion, and Skims_PA_cff::name.
|
privatedelete |
|
private |
int DTLVStatus::set | ( | const DTChamberId & | id, |
int | flagCFE, | ||
int | flagDFE, | ||
int | flagCMC, | ||
int | flagDMC | ||
) |
Definition at line 128 of file DTLVStatus.cc.
References set(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
int DTLVStatus::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | flagCFE, | ||
int | flagDFE, | ||
int | flagCMC, | ||
int | flagDMC | ||
) |
Definition at line 93 of file DTLVStatus.cc.
References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), crabWrapper::key, and edm::second().
Referenced by set(), setFlagCFE(), setFlagCMC(), setFlagDFE(), and setFlagDMC().
int DTLVStatus::setFlagCFE | ( | const DTChamberId & | id, |
int | flag | ||
) |
Definition at line 141 of file DTLVStatus.cc.
References RemoveAddSevLevel::flag, setFlagCFE(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
int DTLVStatus::setFlagCFE | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | flag | ||
) |
Definition at line 132 of file DTLVStatus.cc.
References RemoveAddSevLevel::flag, get(), and set().
Referenced by setFlagCFE().
int DTLVStatus::setFlagCMC | ( | const DTChamberId & | id, |
int | flag | ||
) |
Definition at line 167 of file DTLVStatus.cc.
References RemoveAddSevLevel::flag, setFlagCMC(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
int DTLVStatus::setFlagCMC | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | flag | ||
) |
Definition at line 158 of file DTLVStatus.cc.
References RemoveAddSevLevel::flag, get(), and set().
Referenced by setFlagCMC().
int DTLVStatus::setFlagDFE | ( | const DTChamberId & | id, |
int | flag | ||
) |
Definition at line 154 of file DTLVStatus.cc.
References RemoveAddSevLevel::flag, setFlagDFE(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
int DTLVStatus::setFlagDFE | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | flag | ||
) |
Definition at line 145 of file DTLVStatus.cc.
References RemoveAddSevLevel::flag, get(), and set().
Referenced by setFlagDFE().
int DTLVStatus::setFlagDMC | ( | const DTChamberId & | id, |
int | flag | ||
) |
Definition at line 180 of file DTLVStatus.cc.
References RemoveAddSevLevel::flag, setFlagDMC(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
int DTLVStatus::setFlagDMC | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | flag | ||
) |
Definition at line 171 of file DTLVStatus.cc.
References RemoveAddSevLevel::flag, get(), and set().
Referenced by setFlagDMC().
std::string & DTLVStatus::version | ( | ) |
Definition at line 85 of file DTLVStatus.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
const std::string & DTLVStatus::version | ( | ) | const |
access version
Definition at line 83 of file DTLVStatus.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
Definition at line 117 of file DTLVStatus.h.
|
friend |
Definition at line 117 of file DTLVStatus.h.
|
private |
Definition at line 110 of file DTLVStatus.h.
Referenced by begin(), clear(), DTLVStatus(), end(), get(), initialize(), and set().
|
private |
Definition at line 108 of file DTLVStatus.h.
|
private |
Definition at line 112 of file DTLVStatus.h.
Referenced by get(), initialize(), and set().