#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 |
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 | |
void | cacheMap () const |
read and store full content More... | |
std::string | mapName () const |
Private Attributes | |
std::vector< std::pair < DTDeadFlagId, DTDeadFlagData > > | dataList |
std::string | dataVersion |
DTBufferTree< int, int > * | dBuf |
Description: Class to hold drift tubes life and HV status
Definition at line 67 of file DTDeadFlag.h.
typedef std::vector< std::pair<DTDeadFlagId, DTDeadFlagData> >::const_iterator DTDeadFlag::const_iterator |
Access methods to data.
Definition at line 235 of file DTDeadFlag.h.
DTDeadFlag::DTDeadFlag | ( | ) |
Constructor
Definition at line 29 of file DTDeadFlag.cc.
References dataList, and dBuf.
DTDeadFlag::DTDeadFlag | ( | const std::string & | version | ) |
Definition at line 36 of file DTDeadFlag.cc.
References dataList, and dBuf.
DTDeadFlag::~DTDeadFlag | ( | ) |
DTDeadFlag::const_iterator DTDeadFlag::begin | ( | void | ) | const |
Definition at line 547 of file DTDeadFlag.cc.
References dataList.
|
private |
read and store full content
Definition at line 564 of file DTDeadFlag.cc.
References dataList, dBuf, DTBufferTree< Key, Content >::insert(), and DTDeadFlagId::stationId.
Referenced by get(), and set().
|
inline |
get content
Operations
Definition at line 83 of file DTDeadFlag.h.
Referenced by setCellDead_HV(), setCellDead_RO(), setCellDead_TP(), and setCellDiscCat().
|
inline |
Definition at line 95 of file DTDeadFlag.h.
void DTDeadFlag::clear | ( | void | ) |
reset content
Definition at line 287 of file DTDeadFlag.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(), 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 552 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 81 of file DTDeadFlag.cc.
References cacheMap(), data, dataList, dBuf, DTDeadFlagData::dead_HV, DTDeadFlagData::dead_RO, DTDeadFlagData::dead_TP, DTDeadFlagData::discCat, DTBufferTree< Key, Content >::find(), and edm::second().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
int DTDeadFlag::get | ( | const DTWireId & | id, |
bool & | dead_HV, | ||
bool & | dead_TP, | ||
bool & | dead_RO, | ||
bool & | discCat | ||
) | const |
Definition at line 129 of file DTDeadFlag.cc.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
bool DTDeadFlag::getCellDead_HV | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId | ||
) | const |
Definition at line 144 of file DTDeadFlag.cc.
Referenced by getCellDead_HV().
bool DTDeadFlag::getCellDead_HV | ( | const DTWireId & | id | ) | const |
Definition at line 167 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 210 of file DTDeadFlag.cc.
Referenced by getCellDead_RO().
bool DTDeadFlag::getCellDead_RO | ( | const DTWireId & | id | ) | const |
Definition at line 233 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 177 of file DTDeadFlag.cc.
Referenced by getCellDead_TP().
bool DTDeadFlag::getCellDead_TP | ( | const DTWireId & | id | ) | const |
Definition at line 200 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 243 of file DTDeadFlag.cc.
Referenced by getCellDiscCat().
bool DTDeadFlag::getCellDiscCat | ( | const DTWireId & | id | ) | const |
Definition at line 266 of file DTDeadFlag.cc.
References getCellDiscCat(), and relativeConstraints::station.
|
private |
Definition at line 557 of file DTDeadFlag.cc.
References dataVersion, and mergeVDriftHistosByStation::name.
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 296 of file DTDeadFlag.cc.
References cacheMap(), data, dataList, dBuf, DTDeadFlagData::dead_HV, DTDeadFlagData::dead_RO, DTDeadFlagData::dead_TP, DTDeadFlagData::discCat, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), 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 360 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 375 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 406 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 461 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 492 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 418 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 449 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 504 of file DTDeadFlag.cc.
References cellStatus(), setCellStatus(), and ntuplemaker::status.
Referenced by setCellDiscCat().
int DTDeadFlag::setCellDiscCat | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 535 of file DTDeadFlag.cc.
References setCellDiscCat(), and relativeConstraints::station.
|
inline |
Definition at line 157 of file DTDeadFlag.h.
References set().
Referenced by setCellDead_HV(), setCellDead_RO(), setCellDead_TP(), and setCellDiscCat().
|
inline |
Definition at line 169 of file DTDeadFlag.h.
References set().
const std::string & DTDeadFlag::version | ( | ) | const |
std::string & DTDeadFlag::version | ( | ) |
|
private |
Definition at line 243 of file DTDeadFlag.h.
Referenced by begin(), cacheMap(), clear(), DTDeadFlag(), end(), get(), and set().
|
private |
Definition at line 241 of file DTDeadFlag.h.
|
private |
Definition at line 245 of file DTDeadFlag.h.
Referenced by cacheMap(), clear(), DTDeadFlag(), get(), set(), and ~DTDeadFlag().