#include <DTDeadFlag.h>
Public Types | |
typedef std::vector< std::pair < DTDeadFlagId, DTDeadFlagData > >::const_iterator | const_iterator |
Access methods to data. More... | |
Public Member Functions | |
const_iterator | begin () const |
int | cellStatus (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool &dead_HV, bool &dead_TP, bool &dead_RO, bool &discCat) const |
get content More... | |
int | cellStatus (const DTWireId &id, bool &dead_HV, bool &dead_TP, bool &dead_RO, bool &discCat) const |
void | clear () |
reset content More... | |
DTDeadFlag () | |
DTDeadFlag (const std::string &version) | |
const_iterator | end () const |
int | get (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool &dead_HV, bool &dead_TP, bool &dead_RO, bool &discCat) const |
int | get (const DTWireId &id, bool &dead_HV, bool &dead_TP, bool &dead_RO, bool &discCat) const |
bool | getCellDead_HV (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const |
bool | getCellDead_HV (const DTWireId &id) const |
bool | getCellDead_RO (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const |
bool | getCellDead_RO (const DTWireId &id) const |
bool | getCellDead_TP (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const |
bool | getCellDead_TP (const DTWireId &id) const |
bool | getCellDiscCat (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const |
bool | getCellDiscCat (const DTWireId &id) const |
void | initialize () |
int | set (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool dead_HV, bool dead_TP, bool dead_RO, bool discCat) |
int | set (const DTWireId &id, bool dead_HV, bool dead_TP, bool dead_RO, bool discCat) |
int | setCellDead_HV (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag) |
int | setCellDead_HV (const DTWireId &id, bool flag) |
int | setCellDead_RO (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag) |
int | setCellDead_RO (const DTWireId &id, bool flag) |
int | setCellDead_TP (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag) |
int | setCellDead_TP (const DTWireId &id, bool flag) |
int | setCellDiscCat (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag) |
int | setCellDiscCat (const DTWireId &id, bool flag) |
int | setCellStatus (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool dead_HV, bool dead_TP, bool dead_RO, bool discCat) |
int | setCellStatus (const DTWireId &id, bool dead_HV, bool dead_TP, bool dead_RO, bool discCat) |
const std::string & | version () const |
access version More... | |
std::string & | version () |
~DTDeadFlag () | |
Private Member Functions | |
DTDeadFlag (DTDeadFlag const &) | |
std::string | mapName () const |
read and store full content More... | |
DTDeadFlag & | operator= (DTDeadFlag const &) |
Private Attributes | |
COND_SERIALIZABLE | |
edm::ConstRespectingPtr < DTBufferTree< int, int > > dBuf | COND_TRANSIENT |
std::vector< std::pair < DTDeadFlagId, DTDeadFlagData > > | dataList |
std::string | dataVersion |
Description: Class to hold drift tubes life and HV status
Definition at line 74 of file DTDeadFlag.h.
typedef std::vector< std::pair<DTDeadFlagId, DTDeadFlagData> >::const_iterator DTDeadFlag::const_iterator |
Access methods to data.
Definition at line 242 of file DTDeadFlag.h.
DTDeadFlag::DTDeadFlag | ( | ) |
Constructor
Definition at line 27 of file DTDeadFlag.cc.
References dataList.
DTDeadFlag::DTDeadFlag | ( | const std::string & | version | ) |
Definition at line 34 of file DTDeadFlag.cc.
References dataList.
DTDeadFlag::~DTDeadFlag | ( | ) |
|
private |
DTDeadFlag::const_iterator DTDeadFlag::begin | ( | void | ) | const |
Definition at line 523 of file DTDeadFlag.cc.
References dataList.
|
inline |
get content
Operations
Definition at line 90 of file DTDeadFlag.h.
Referenced by setCellDead_HV(), setCellDead_RO(), setCellDead_TP(), and setCellDiscCat().
|
inline |
Definition at line 102 of file DTDeadFlag.h.
void DTDeadFlag::clear | ( | void | ) |
reset content
Definition at line 274 of file DTDeadFlag.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().
DTDeadFlag::const_iterator DTDeadFlag::end | ( | void | ) | const |
Definition at line 528 of file DTDeadFlag.cc.
References dataList.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
int DTDeadFlag::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool & | dead_HV, | ||
bool & | dead_TP, | ||
bool & | dead_RO, | ||
bool & | discCat | ||
) | const |
Definition at line 77 of file DTDeadFlag.cc.
References data, dataList, DTDeadFlagData::dead_HV, DTDeadFlagData::dead_RO, DTDeadFlagData::dead_TP, DTDeadFlagData::discCat, and edm::second().
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 DTDeadFlag::get | ( | const DTWireId & | id, |
bool & | dead_HV, | ||
bool & | dead_TP, | ||
bool & | dead_RO, | ||
bool & | discCat | ||
) | const |
Definition at line 116 of file DTDeadFlag.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().
bool DTDeadFlag::getCellDead_HV | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId | ||
) | const |
Definition at line 131 of file DTDeadFlag.cc.
Referenced by getCellDead_HV().
bool DTDeadFlag::getCellDead_HV | ( | const DTWireId & | id | ) | const |
Definition at line 154 of file DTDeadFlag.cc.
References getCellDead_HV(), and relativeConstraints::station.
bool DTDeadFlag::getCellDead_RO | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId | ||
) | const |
Definition at line 197 of file DTDeadFlag.cc.
Referenced by getCellDead_RO().
bool DTDeadFlag::getCellDead_RO | ( | const DTWireId & | id | ) | const |
Definition at line 220 of file DTDeadFlag.cc.
References getCellDead_RO(), and relativeConstraints::station.
bool DTDeadFlag::getCellDead_TP | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId | ||
) | const |
Definition at line 164 of file DTDeadFlag.cc.
Referenced by getCellDead_TP().
bool DTDeadFlag::getCellDead_TP | ( | const DTWireId & | id | ) | const |
Definition at line 187 of file DTDeadFlag.cc.
References getCellDead_TP(), and relativeConstraints::station.
bool DTDeadFlag::getCellDiscCat | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId | ||
) | const |
Definition at line 230 of file DTDeadFlag.cc.
Referenced by getCellDiscCat().
bool DTDeadFlag::getCellDiscCat | ( | const DTWireId & | id | ) | const |
Definition at line 253 of file DTDeadFlag.cc.
References getCellDiscCat(), and relativeConstraints::station.
void DTDeadFlag::initialize | ( | ) |
Definition at line 540 of file DTDeadFlag.cc.
References dataList, and DTDeadFlagId::stationId.
Referenced by clear().
|
private |
read and store full content
Definition at line 533 of file DTDeadFlag.cc.
References dataVersion, and mergeVDriftHistosByStation::name.
|
private |
int DTDeadFlag::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | dead_HV, | ||
bool | dead_TP, | ||
bool | dead_RO, | ||
bool | discCat | ||
) |
Definition at line 281 of file DTDeadFlag.cc.
References data, dataList, DTDeadFlagData::dead_HV, DTDeadFlagData::dead_RO, DTDeadFlagData::dead_TP, DTDeadFlagData::discCat, combine::key, edm::second(), and DTDeadFlagId::stationId.
Referenced by betterConfigParser.BetterConfigParser::getGeneral(), DTDeadFlagHandler::getNewObjects(), set(), and setCellStatus().
int DTDeadFlag::set | ( | const DTWireId & | id, |
bool | dead_HV, | ||
bool | dead_TP, | ||
bool | dead_RO, | ||
bool | discCat | ||
) |
Definition at line 336 of file DTDeadFlag.cc.
References set(), and relativeConstraints::station.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
int DTDeadFlag::setCellDead_HV | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | flag | ||
) |
Definition at line 351 of file DTDeadFlag.cc.
References cellStatus(), setCellStatus(), and ntuplemaker::status.
Referenced by setCellDead_HV().
int DTDeadFlag::setCellDead_HV | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 382 of file DTDeadFlag.cc.
References setCellDead_HV(), and relativeConstraints::station.
int DTDeadFlag::setCellDead_RO | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | flag | ||
) |
Definition at line 437 of file DTDeadFlag.cc.
References cellStatus(), setCellStatus(), and ntuplemaker::status.
Referenced by setCellDead_RO().
int DTDeadFlag::setCellDead_RO | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 468 of file DTDeadFlag.cc.
References setCellDead_RO(), and relativeConstraints::station.
int DTDeadFlag::setCellDead_TP | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | flag | ||
) |
Definition at line 394 of file DTDeadFlag.cc.
References cellStatus(), setCellStatus(), and ntuplemaker::status.
Referenced by setCellDead_TP().
int DTDeadFlag::setCellDead_TP | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 425 of file DTDeadFlag.cc.
References setCellDead_TP(), and relativeConstraints::station.
int DTDeadFlag::setCellDiscCat | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | flag | ||
) |
Definition at line 480 of file DTDeadFlag.cc.
References cellStatus(), setCellStatus(), and ntuplemaker::status.
Referenced by setCellDiscCat().
int DTDeadFlag::setCellDiscCat | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 511 of file DTDeadFlag.cc.
References setCellDiscCat(), and relativeConstraints::station.
|
inline |
Definition at line 164 of file DTDeadFlag.h.
References set().
Referenced by setCellDead_HV(), setCellDead_RO(), setCellDead_TP(), and setCellDiscCat().
|
inline |
Definition at line 176 of file DTDeadFlag.h.
References set().
const std::string & DTDeadFlag::version | ( | ) | const |
std::string & DTDeadFlag::version | ( | ) |
|
private |
Definition at line 263 of file DTDeadFlag.h.
|
private |
Definition at line 257 of file DTDeadFlag.h.
|
private |
Definition at line 255 of file DTDeadFlag.h.
Referenced by begin(), clear(), DTDeadFlag(), end(), get(), initialize(), and set().
|
private |
Definition at line 253 of file DTDeadFlag.h.