#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 (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 |
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 | |
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 | ( | ) |
Constructor
Definition at line 34 of file DTHVStatus.cc.
References dataList.
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, mps_splice::entry, DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, and DTHVStatusData::lCell.
int DTHVStatus::badChannelsNumber | ( | const DTChamberId & | id | ) | const |
Definition at line 167 of file DTHVStatus.cc.
References begin, data, end, mps_splice::entry, DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, DTHVStatusData::lCell, DTHVStatusId::sectorId, DTHVStatusId::stationId, and DTHVStatusId::wheelId.
DTHVStatus::const_iterator DTHVStatus::begin | ( | void | ) | const |
Definition at line 298 of file DTHVStatus.cc.
Referenced by DTHVStatusHandler::checkForPeriod(), DTHVStatusHandler::filterData(), and DTHVHandler::offChannelsNumber().
void DTHVStatus::clear | ( | void | ) |
reset content
Definition at line 191 of file DTHVStatus.cc.
References 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().
DTHVStatus::const_iterator DTHVStatus::end | ( | void | ) | const |
Definition at line 300 of file DTHVStatus.cc.
Referenced by DTHVStatusHandler::checkForPeriod(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), DTHVStatusHandler::filterData(), and DTHVHandler::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, DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, DTHVStatusData::lCell, and edm::second().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), util.rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), DTDCSByLumiTask::dqmEndLuminosityBlock(), DTHVHandler::get(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), util.rrapi.RRApi::reports(), rrapi.RRApi::reports(), DTHVStatusHandler::setChannelFlag(), 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().
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 DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, and DTHVStatusData::lCell.
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 DTHVStatus::get | ( | const DTWireId & | id, |
int & | flagA, | ||
int & | flagC, | ||
int & | flagS | ||
) | const |
Definition at line 96 of file DTHVStatus.cc.
References DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, and DTHVStatusData::lCell.
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().
void DTHVStatus::initialize | ( | ) |
Definition at line 308 of file DTHVStatus.cc.
References officialStyle::chan, DTHVStatusId::layerId, DTHVStatusId::partId, DTHVStatusId::sectorId, DTHVStatusId::slId, DTHVStatusId::stationId, and DTHVStatusId::wheelId.
|
private |
read and store full content
Definition at line 302 of file DTHVStatus.cc.
References Skims_PA_cff::name.
int DTHVStatus::offChannelsNumber | ( | ) | const |
Definition at line 113 of file DTHVStatus.cc.
References begin, data, end, mps_splice::entry, DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, and DTHVStatusData::lCell.
int DTHVStatus::offChannelsNumber | ( | const DTChamberId & | id | ) | const |
Definition at line 130 of file DTHVStatus.cc.
References begin, data, end, mps_splice::entry, DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, DTHVStatusData::lCell, DTHVStatusId::sectorId, DTHVStatusId::stationId, and DTHVStatusId::wheelId.
|
privatedelete |
|
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, DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, crabWrapper::key, DTHVStatusId::layerId, DTHVStatusData::lCell, DTHVStatusId::partId, edm::second(), DTHVStatusId::sectorId, DTHVStatusId::slId, DTHVStatusId::stationId, and DTHVStatusId::wheelId.
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.
References DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, and DTHVStatusData::lCell.
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 DTHVStatusData::fCell, RemoveAddSevLevel::flag, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, and DTHVStatusData::lCell.
int DTHVStatus::setFlagA | ( | const DTLayerId & | id, |
int | partId, | ||
int | flag | ||
) |
Definition at line 266 of file DTHVStatus.cc.
References 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 DTHVStatusData::fCell, RemoveAddSevLevel::flag, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, and DTHVStatusData::lCell.
int DTHVStatus::setFlagC | ( | const DTLayerId & | id, |
int | partId, | ||
int | flag | ||
) |
Definition at line 280 of file DTHVStatus.cc.
References 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 DTHVStatusData::fCell, RemoveAddSevLevel::flag, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, and DTHVStatusData::lCell.
int DTHVStatus::setFlagS | ( | const DTLayerId & | id, |
int | partId, | ||
int | flag | ||
) |
Definition at line 294 of file DTHVStatus.cc.
References relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
const std::string & DTHVStatus::version | ( | ) | const |
access version
Definition at line 187 of file DTHVStatus.cc.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
std::string & DTHVStatus::version | ( | ) |
Definition at line 189 of file DTHVStatus.cc.
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 DTHVStatus().
|
private |
Definition at line 138 of file DTHVStatus.h.
|
private |
Definition at line 142 of file DTHVStatus.h.