#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 &) | |
std::string | mapName () const |
read and store full content More... | |
DTHVStatus & | operator= (DTHVStatus const &) |
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 78 of file DTHVStatus.h.
typedef std::vector< std::pair<DTHVStatusId, DTHVStatusData> >::const_iterator DTHVStatus::const_iterator |
Access methods to data.
Definition at line 180 of file DTHVStatus.h.
DTHVStatus::DTHVStatus | ( | ) |
Constructor
Definition at line 35 of file DTHVStatus.cc.
References dataList.
DTHVStatus::DTHVStatus | ( | const std::string & | version | ) |
Definition at line 42 of file DTHVStatus.cc.
References dataList.
DTHVStatus::~DTHVStatus | ( | ) |
|
private |
int DTHVStatus::badChannelsNumber | ( | ) | const |
Definition at line 215 of file DTHVStatus.cc.
References begin(), data, end(), DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, getDQMSummary::iter, and DTHVStatusData::lCell.
int DTHVStatus::badChannelsNumber | ( | const DTChamberId & | id | ) | const |
Definition at line 230 of file DTHVStatus.cc.
References begin(), data, end(), DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, getDQMSummary::iter, DTHVStatusData::lCell, and DTHVStatusId::stationId.
DTHVStatus::const_iterator DTHVStatus::begin | ( | void | ) | const |
Definition at line 492 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 259 of file DTHVStatus.cc.
References dataList, and 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 497 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 84 of file DTHVStatus.cc.
References data, dataList, dBuf, DTHVStatusData::fCell, DTBufferTree< Key, Content >::find(), DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, DTHVStatusData::lCell, and edm::second().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), DTHVHandler::get(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), DTHVStatusHandler::setChannelFlag(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), 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 125 of file DTHVStatus.cc.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
int DTHVStatus::get | ( | const DTWireId & | id, |
int & | flagA, | ||
int & | flagC, | ||
int & | flagS | ||
) | const |
Definition at line 142 of file DTHVStatus.cc.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
void DTHVStatus::initialize | ( | ) |
Definition at line 509 of file DTHVStatus.cc.
References DTBufferTree< Key, Content >::clear(), dataList, dBuf, DTBufferTree< Key, Content >::insert(), and DTHVStatusId::stationId.
Referenced by clear().
|
private |
read and store full content
Definition at line 502 of file DTHVStatus.cc.
References dataVersion, and mergeVDriftHistosByStation::name.
int DTHVStatus::offChannelsNumber | ( | ) | const |
Definition at line 176 of file DTHVStatus.cc.
References begin(), data, end(), DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, getDQMSummary::iter, and DTHVStatusData::lCell.
int DTHVStatus::offChannelsNumber | ( | const DTChamberId & | id | ) | const |
Definition at line 194 of file DTHVStatus.cc.
References begin(), data, end(), DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, getDQMSummary::iter, DTHVStatusData::lCell, and DTHVStatusId::stationId.
|
private |
|
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 267 of file DTHVStatus.cc.
References data, dataList, dBuf, DTHVStatusData::fCell, DTBufferTree< Key, Content >::find(), DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, DTBufferTree< Key, Content >::insert(), combine::key, DTHVStatusData::lCell, edm::second(), and DTHVStatusId::stationId.
Referenced by betterConfigParser.BetterConfigParser::getGeneral(), set(), DTHVStatusHandler::setChannelFlag(), setFlagA(), setFlagC(), and setFlagS().
int DTHVStatus::set | ( | const DTLayerId & | id, |
int | partId, | ||
int | fCell, | ||
int | lCell, | ||
int | flagA, | ||
int | flagC, | ||
int | flagS | ||
) |
Definition at line 325 of file DTHVStatus.cc.
References set(), and relativeConstraints::station.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
int DTHVStatus::setFlagA | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | partId, | ||
int | flag | ||
) |
Definition at line 342 of file DTHVStatus.cc.
References set().
Referenced by setFlagA().
int DTHVStatus::setFlagA | ( | const DTLayerId & | id, |
int | partId, | ||
int | flag | ||
) |
Definition at line 379 of file DTHVStatus.cc.
References setFlagA(), and relativeConstraints::station.
int DTHVStatus::setFlagC | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | partId, | ||
int | flag | ||
) |
Definition at line 392 of file DTHVStatus.cc.
References set().
Referenced by setFlagC().
int DTHVStatus::setFlagC | ( | const DTLayerId & | id, |
int | partId, | ||
int | flag | ||
) |
Definition at line 429 of file DTHVStatus.cc.
References setFlagC(), and relativeConstraints::station.
int DTHVStatus::setFlagS | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | partId, | ||
int | flag | ||
) |
Definition at line 442 of file DTHVStatus.cc.
References set().
Referenced by setFlagS().
int DTHVStatus::setFlagS | ( | const DTLayerId & | id, |
int | partId, | ||
int | flag | ||
) |
Definition at line 479 of file DTHVStatus.cc.
References setFlagS(), and relativeConstraints::station.
const std::string & DTHVStatus::version | ( | ) | const |
std::string & DTHVStatus::version | ( | ) |
|
friend |
Definition at line 201 of file DTHVStatus.h.
|
friend |
Definition at line 201 of file DTHVStatus.h.
|
private |
Definition at line 193 of file DTHVStatus.h.
Referenced by begin(), clear(), DTHVStatus(), end(), get(), initialize(), and set().
|
private |
Definition at line 191 of file DTHVStatus.h.
|
private |
Definition at line 195 of file DTHVStatus.h.
Referenced by get(), initialize(), and set().