#include <DTHVStatus.h>
Public Types | |
typedef std::vector< std::pair< DTHVStatusId, DTHVStatusData > >::const_iterator | const_iterator |
Access methods to data. More... | |
Public Member Functions | |
int | badChannelsNumber () const |
int | badChannelsNumber (const DTChamberId &id) const |
const_iterator | begin () const |
void | clear () |
reset content More... | |
DTHVStatus () | |
DTHVStatus (DTHVStatus const &)=delete | |
DTHVStatus (const std::string &version) | |
const_iterator | end () const |
int | get (int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int &fCell, int &lCell, int &flagA, int &flagC, int &flagS) const |
get content More... | |
int | get (const DTLayerId &id, int partId, int &fCell, int &lCell, int &flagA, int &flagC, int &flagS) const |
int | get (const DTWireId &id, int &flagA, int &flagC, int &flagS) const |
void | initialize () |
int | offChannelsNumber () const |
int | offChannelsNumber (const DTChamberId &id) const |
DTHVStatus & | operator= (DTHVStatus const &)=delete |
int | set (int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int fCell, int lCell, int flagA, int flagC, int flagS) |
int | set (const DTLayerId &id, int partId, int fCell, int lCell, int flagA, int flagC, int flagS) |
int | setFlagA (int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int flag) |
int | setFlagA (const DTLayerId &id, int partId, int flag) |
int | setFlagC (int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int flag) |
int | setFlagC (const DTLayerId &id, int partId, int flag) |
int | setFlagS (int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int flag) |
int | setFlagS (const DTLayerId &id, int partId, int flag) |
const std::string & | version () const |
access version More... | |
std::string & | version () |
~DTHVStatus () | |
Private Member Functions | |
std::string | mapName () const |
read and store full content More... | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< std::pair< DTHVStatusId, DTHVStatusData > > | 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 high voltage status ( half layer by half layer )
Definition at line 70 of file DTHVStatus.h.
typedef std::vector<std::pair<DTHVStatusId, DTHVStatusData> >::const_iterator DTHVStatus::const_iterator |
Access methods to data.
Definition at line 130 of file DTHVStatus.h.
DTHVStatus::DTHVStatus | ( | ) |
Constructor
Definition at line 34 of file DTHVStatus.cc.
References dataList.
|
delete |
DTHVStatus::DTHVStatus | ( | const std::string & | version | ) |
Definition at line 36 of file DTHVStatus.cc.
References dataList.
DTHVStatus::~DTHVStatus | ( | ) |
int DTHVStatus::badChannelsNumber | ( | ) | const |
Definition at line 153 of file DTHVStatus.cc.
References begin(), data, end(), and mps_splice::entry.
int DTHVStatus::badChannelsNumber | ( | const DTChamberId & | id | ) | const |
Definition at line 167 of file DTHVStatus.cc.
References begin(), data, end(), mps_splice::entry, DTHVStatusId::sectorId, DTHVStatusId::stationId, and DTHVStatusId::wheelId.
DTHVStatus::const_iterator DTHVStatus::begin | ( | void | ) | const |
Definition at line 298 of file DTHVStatus.cc.
References dataList.
Referenced by badChannelsNumber(), DTHVStatusHandler::checkForPeriod(), DTHVStatusHandler::filterData(), DTHVHandler::offChannelsNumber(), and offChannelsNumber().
void DTHVStatus::clear | ( | void | ) |
reset content
Definition at line 191 of file DTHVStatus.cc.
References dataList, and initialize().
DTHVStatus::const_iterator DTHVStatus::end | ( | void | ) | const |
Definition at line 300 of file DTHVStatus.cc.
References dataList.
Referenced by badChannelsNumber(), DTHVStatusHandler::checkForPeriod(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), DTHVStatusHandler::filterData(), DTHVHandler::offChannelsNumber(), and offChannelsNumber().
int DTHVStatus::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | partId, | ||
int & | fCell, | ||
int & | lCell, | ||
int & | flagA, | ||
int & | flagC, | ||
int & | flagS | ||
) | const |
get content
Operations
Definition at line 56 of file DTHVStatus.cc.
References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), and edm::second().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), util.rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), DTDCSByLumiTask::dqmEndLuminosityBlock(), DTHVHandler::get(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), DTHVStatusHandler::setChannelFlag(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), util.rrapi.RRApi::templates(), rrapi.RRApi::templates(), rrapi.RRApi::workspaces(), and util.rrapi.RRApi::workspaces().
int DTHVStatus::get | ( | const DTLayerId & | id, |
int | partId, | ||
int & | fCell, | ||
int & | lCell, | ||
int & | flagA, | ||
int & | flagC, | ||
int & | flagS | ||
) | const |
Definition at line 91 of file DTHVStatus.cc.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
int DTHVStatus::get | ( | const DTWireId & | id, |
int & | flagA, | ||
int & | flagC, | ||
int & | flagS | ||
) | const |
Definition at line 96 of file DTHVStatus.cc.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
void DTHVStatus::initialize | ( | ) |
Definition at line 308 of file DTHVStatus.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 302 of file DTHVStatus.cc.
References dataVersion, and Skims_PA_cff::name.
int DTHVStatus::offChannelsNumber | ( | ) | const |
Definition at line 113 of file DTHVStatus.cc.
References begin(), data, end(), and mps_splice::entry.
int DTHVStatus::offChannelsNumber | ( | const DTChamberId & | id | ) | const |
Definition at line 130 of file DTHVStatus.cc.
References begin(), data, end(), mps_splice::entry, DTHVStatusId::sectorId, DTHVStatusId::stationId, and DTHVStatusId::wheelId.
|
delete |
|
private |
int DTHVStatus::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | partId, | ||
int | fCell, | ||
int | lCell, | ||
int | flagA, | ||
int | flagC, | ||
int | flagS | ||
) |
Definition at line 198 of file DTHVStatus.cc.
References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), crabWrapper::key, and edm::second().
Referenced by DTHVStatusHandler::setChannelFlag().
int DTHVStatus::set | ( | const DTLayerId & | id, |
int | partId, | ||
int | fCell, | ||
int | lCell, | ||
int | flagA, | ||
int | flagC, | ||
int | flagS | ||
) |
Definition at line 251 of file DTHVStatus.cc.
int DTHVStatus::setFlagA | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | partId, | ||
int | flag | ||
) |
Definition at line 256 of file DTHVStatus.cc.
References RemoveAddSevLevel::flag.
Referenced by setFlagA().
int DTHVStatus::setFlagA | ( | const DTLayerId & | id, |
int | partId, | ||
int | flag | ||
) |
Definition at line 266 of file DTHVStatus.cc.
References RemoveAddSevLevel::flag, nano_mu_digi_cff::layer, nano_mu_digi_cff::sector, setFlagA(), relativeConstraints::station, nano_mu_digi_cff::superLayer, and makeMuonMisalignmentScenario::wheel.
int DTHVStatus::setFlagC | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | partId, | ||
int | flag | ||
) |
Definition at line 270 of file DTHVStatus.cc.
References RemoveAddSevLevel::flag.
Referenced by setFlagC().
int DTHVStatus::setFlagC | ( | const DTLayerId & | id, |
int | partId, | ||
int | flag | ||
) |
Definition at line 280 of file DTHVStatus.cc.
References RemoveAddSevLevel::flag, nano_mu_digi_cff::layer, nano_mu_digi_cff::sector, setFlagC(), relativeConstraints::station, nano_mu_digi_cff::superLayer, and makeMuonMisalignmentScenario::wheel.
int DTHVStatus::setFlagS | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | partId, | ||
int | flag | ||
) |
Definition at line 284 of file DTHVStatus.cc.
References RemoveAddSevLevel::flag.
Referenced by setFlagS().
int DTHVStatus::setFlagS | ( | const DTLayerId & | id, |
int | partId, | ||
int | flag | ||
) |
Definition at line 294 of file DTHVStatus.cc.
References RemoveAddSevLevel::flag, nano_mu_digi_cff::layer, nano_mu_digi_cff::sector, setFlagS(), relativeConstraints::station, nano_mu_digi_cff::superLayer, and makeMuonMisalignmentScenario::wheel.
const std::string & DTHVStatus::version | ( | ) | const |
access version
Definition at line 187 of file DTHVStatus.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
std::string & DTHVStatus::version | ( | ) |
Definition at line 189 of file DTHVStatus.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
Definition at line 146 of file DTHVStatus.h.
|
friend |
Definition at line 146 of file DTHVStatus.h.
|
private |
Definition at line 139 of file DTHVStatus.h.
Referenced by begin(), clear(), DTHVStatus(), end(), get(), initialize(), and set().
|
private |
Definition at line 137 of file DTHVStatus.h.
|
private |
Definition at line 141 of file DTHVStatus.h.
Referenced by get(), initialize(), and set().