#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 |
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 | |
void | cacheMap () const |
read and store full content More... | |
std::string | mapName () const |
Private Attributes | |
std::vector< std::pair < DTHVStatusId, DTHVStatusData > > | dataList |
std::string | dataVersion |
DTBufferTree< int, int > * | dBuf |
Description: Class to hold high voltage status ( half layer by half layer )
Definition at line 71 of file DTHVStatus.h.
typedef std::vector< std::pair<DTHVStatusId, DTHVStatusData> >::const_iterator DTHVStatus::const_iterator |
Access methods to data.
Definition at line 173 of file DTHVStatus.h.
DTHVStatus::DTHVStatus | ( | ) |
Constructor
Definition at line 37 of file DTHVStatus.cc.
References dataList, and dBuf.
DTHVStatus::DTHVStatus | ( | const std::string & | version | ) |
Definition at line 44 of file DTHVStatus.cc.
References dataList, and dBuf.
DTHVStatus::~DTHVStatus | ( | ) |
int DTHVStatus::badChannelsNumber | ( | ) | const |
Definition at line 229 of file DTHVStatus.cc.
References begin(), data, end(), DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, and DTHVStatusData::lCell.
int DTHVStatus::badChannelsNumber | ( | const DTChamberId & | id | ) | const |
Definition at line 244 of file DTHVStatus.cc.
References begin(), data, end(), DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, DTHVStatusData::lCell, and DTHVStatusId::stationId.
DTHVStatus::const_iterator DTHVStatus::begin | ( | void | ) | const |
Definition at line 517 of file DTHVStatus.cc.
References dataList.
Referenced by badChannelsNumber(), DTHVStatusHandler::checkForPeriod(), DTHVStatusHandler::filterData(), DTHVHandler::offChannelsNumber(), and offChannelsNumber().
|
private |
read and store full content
Definition at line 534 of file DTHVStatus.cc.
References dataList, dBuf, DTBufferTree< Key, Content >::insert(), and DTHVStatusId::stationId.
Referenced by get(), and set().
void DTHVStatus::clear | ( | void | ) |
reset content
Definition at line 273 of file DTHVStatus.cc.
References dataList, and dBuf.
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(), 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 522 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 88 of file DTHVStatus.cc.
References cacheMap(), 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(), DTHVHandler::get(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), and DTHVStatusHandler::setChannelFlag().
int DTHVStatus::get | ( | const DTLayerId & | id, |
int | partId, | ||
int & | fCell, | ||
int & | lCell, | ||
int & | flagA, | ||
int & | flagC, | ||
int & | flagS | ||
) | const |
Definition at line 139 of file DTHVStatus.cc.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
int DTHVStatus::get | ( | const DTWireId & | id, |
int & | flagA, | ||
int & | flagC, | ||
int & | flagS | ||
) | const |
Definition at line 156 of file DTHVStatus.cc.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
private |
Definition at line 527 of file DTHVStatus.cc.
References dataVersion, and mergeVDriftHistosByStation::name.
int DTHVStatus::offChannelsNumber | ( | ) | const |
Definition at line 190 of file DTHVStatus.cc.
References begin(), data, end(), DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, and DTHVStatusData::lCell.
int DTHVStatus::offChannelsNumber | ( | const DTChamberId & | id | ) | const |
Definition at line 208 of file DTHVStatus.cc.
References begin(), data, end(), DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, DTHVStatusData::lCell, and DTHVStatusId::stationId.
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 283 of file DTHVStatus.cc.
References cacheMap(), 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 350 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 367 of file DTHVStatus.cc.
References set().
Referenced by setFlagA().
int DTHVStatus::setFlagA | ( | const DTLayerId & | id, |
int | partId, | ||
int | flag | ||
) |
Definition at line 404 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 417 of file DTHVStatus.cc.
References set().
Referenced by setFlagC().
int DTHVStatus::setFlagC | ( | const DTLayerId & | id, |
int | partId, | ||
int | flag | ||
) |
Definition at line 454 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 467 of file DTHVStatus.cc.
References set().
Referenced by setFlagS().
int DTHVStatus::setFlagS | ( | const DTLayerId & | id, |
int | partId, | ||
int | flag | ||
) |
Definition at line 504 of file DTHVStatus.cc.
References setFlagS(), and relativeConstraints::station.
const std::string & DTHVStatus::version | ( | ) | const |
std::string & DTHVStatus::version | ( | ) |
|
private |
Definition at line 181 of file DTHVStatus.h.
Referenced by begin(), cacheMap(), clear(), DTHVStatus(), end(), get(), and set().
|
private |
Definition at line 179 of file DTHVStatus.h.
|
private |
Definition at line 183 of file DTHVStatus.h.
Referenced by cacheMap(), clear(), DTHVStatus(), get(), set(), and ~DTHVStatus().