#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 (const std::string &version) | |
const_iterator | end () const |
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 |
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... | |
void | initialize () |
int | offChannelsNumber () const |
int | offChannelsNumber (const DTChamberId &id) const |
int | set (const DTLayerId &id, int partId, int fCell, int lCell, int flagA, int flagC, int flagS) |
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 | setFlagA (const DTLayerId &id, int partId, int flag) |
int | setFlagA (int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int flag) |
int | setFlagC (const DTLayerId &id, int partId, int flag) |
int | setFlagC (int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int flag) |
int | setFlagS (const DTLayerId &id, int partId, int flag) |
int | setFlagS (int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int flag) |
std::string & | version () |
const std::string & | version () const |
access version More... | |
~DTHVStatus () | |
Private Member Functions | |
DTHVStatus (DTHVStatus const &)=delete | |
std::string | mapName () const |
read and store full content More... | |
DTHVStatus & | operator= (DTHVStatus const &)=delete |
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 128 of file DTHVStatus.h.
DTHVStatus::DTHVStatus | ( | ) |
DTHVStatus::DTHVStatus | ( | const std::string & | version | ) |
Definition at line 36 of file DTHVStatus.cc.
References dataList.
DTHVStatus::~DTHVStatus | ( | ) |
|
privatedelete |
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().
Referenced by BeautifulSoup.Tag::setString().
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 | ( | const DTLayerId & | id, |
int | partId, | ||
int & | fCell, | ||
int & | lCell, | ||
int & | flagA, | ||
int & | flagC, | ||
int & | flagS | ||
) | const |
Definition at line 91 of file DTHVStatus.cc.
References get(), phase1PixelTopology::layer, relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
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.
References get(), phase1PixelTopology::layer, relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
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 | ( | 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(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), DTDCSByLumiTask::dqmEndLuminosityBlock(), DTHVHandler::get(), 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(), setFlagA(), setFlagC(), setFlagS(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), util.rrapi.RRApi::templates(), 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.
|
privatedelete |
|
private |
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.
References phase1PixelTopology::layer, set(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
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 set(), DTHVStatusHandler::setChannelFlag(), setFlagA(), setFlagC(), and setFlagS().
int DTHVStatus::setFlagA | ( | const DTLayerId & | id, |
int | partId, | ||
int | flag | ||
) |
Definition at line 266 of file DTHVStatus.cc.
References RemoveAddSevLevel::flag, phase1PixelTopology::layer, setFlagA(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
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, get(), and set().
Referenced by setFlagA().
int DTHVStatus::setFlagC | ( | const DTLayerId & | id, |
int | partId, | ||
int | flag | ||
) |
Definition at line 280 of file DTHVStatus.cc.
References RemoveAddSevLevel::flag, phase1PixelTopology::layer, setFlagC(), relativeConstraints::station, 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, get(), and set().
Referenced by setFlagC().
int DTHVStatus::setFlagS | ( | const DTLayerId & | id, |
int | partId, | ||
int | flag | ||
) |
Definition at line 294 of file DTHVStatus.cc.
References RemoveAddSevLevel::flag, phase1PixelTopology::layer, setFlagS(), relativeConstraints::station, 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, get(), and set().
Referenced by setFlagS().
std::string & DTHVStatus::version | ( | ) |
Definition at line 189 of file DTHVStatus.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
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().
|
friend |
Definition at line 147 of file DTHVStatus.h.
|
friend |
Definition at line 147 of file DTHVStatus.h.
|
private |
Definition at line 140 of file DTHVStatus.h.
Referenced by begin(), clear(), DTHVStatus(), end(), get(), initialize(), and set().
|
private |
Definition at line 138 of file DTHVStatus.h.
|
private |
Definition at line 142 of file DTHVStatus.h.
Referenced by get(), initialize(), and set().