#include <DTStatusFlag.h>
Public Types | |
typedef std::vector< std::pair < DTStatusFlagId, DTStatusFlagData > >::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 &noiseFlag, bool &feMask, bool &tdcMask, bool &trigMask, bool &deadFlag, bool &nohvFlag) const |
get content More... | |
int | cellStatus (const DTWireId &id, bool &noiseFlag, bool &feMask, bool &tdcMask, bool &trigMask, bool &deadFlag, bool &nohvFlag) const |
void | clear () |
reset content More... | |
DTStatusFlag () | |
DTStatusFlag (const std::string &version) | |
const_iterator | end () const |
int | get (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool &noiseFlag, bool &feMask, bool &tdcMask, bool &trigMask, bool &deadFlag, bool &nohvFlag) const |
int | get (const DTWireId &id, bool &noiseFlag, bool &feMask, bool &tdcMask, bool &trigMask, bool &deadFlag, bool &nohvFlag) const |
int | set (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool noiseFlag, bool feMask, bool tdcMask, bool trigMask, bool deadFlag, bool nohvFlag) |
int | set (const DTWireId &id, bool noiseFlag, bool feMask, bool tdcMask, bool trigMask, bool deadFlag, bool nohvFlag) |
int | setCellDead (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag) |
int | setCellDead (const DTWireId &id, bool flag) |
int | setCellFEMask (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool mask) |
int | setCellFEMask (const DTWireId &id, bool mask) |
int | setCellNoHV (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag) |
int | setCellNoHV (const DTWireId &id, bool flag) |
int | setCellNoise (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag) |
int | setCellNoise (const DTWireId &id, bool flag) |
int | setCellStatus (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool noiseFlag, bool feMask, bool tdcMask, bool trigMask, bool deadFlag, bool nohvFlag) |
int | setCellStatus (const DTWireId &id, bool noiseFlag, bool feMask, bool tdcMask, bool trigMask, bool deadFlag, bool nohvFlag) |
int | setCellTDCMask (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool mask) |
int | setCellTDCMask (const DTWireId &id, bool mask) |
int | setCellTrigMask (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool mask) |
int | setCellTrigMask (const DTWireId &id, bool mask) |
const std::string & | version () const |
access version More... | |
std::string & | version () |
~DTStatusFlag () | |
Private Member Functions | |
void | cacheMap () const |
read and store full content More... | |
std::string | mapName () const |
Private Attributes | |
std::vector< std::pair < DTStatusFlagId, DTStatusFlagData > > | dataList |
std::string | dataVersion |
DTBufferTree< int, int > * | dBuf |
Description: Class to hold drift tubes status ( cell by cell noise and masks )
Definition at line 77 of file DTStatusFlag.h.
typedef std::vector< std::pair<DTStatusFlagId, DTStatusFlagData> >::const_iterator DTStatusFlag::const_iterator |
Access methods to data.
Definition at line 255 of file DTStatusFlag.h.
DTStatusFlag::DTStatusFlag | ( | ) |
Constructor
Definition at line 29 of file DTStatusFlag.cc.
References dataList, and dBuf.
DTStatusFlag::DTStatusFlag | ( | const std::string & | version | ) |
Definition at line 36 of file DTStatusFlag.cc.
References dataList, and dBuf.
DTStatusFlag::~DTStatusFlag | ( | ) |
DTStatusFlag::const_iterator DTStatusFlag::begin | ( | void | ) | const |
Definition at line 594 of file DTStatusFlag.cc.
References dataList.
|
private |
read and store full content
Definition at line 611 of file DTStatusFlag.cc.
References dataList, dBuf, DTBufferTree< Key, Content >::insert(), and DTStatusFlagId::stationId.
Referenced by get(), and set().
|
inline |
|
inline |
Definition at line 108 of file DTStatusFlag.h.
void DTStatusFlag::clear | ( | void | ) |
reset content
Definition at line 167 of file DTStatusFlag.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().
DTStatusFlag::const_iterator DTStatusFlag::end | ( | void | ) | const |
Definition at line 599 of file DTStatusFlag.cc.
References dataList.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
int DTStatusFlag::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool & | noiseFlag, | ||
bool & | feMask, | ||
bool & | tdcMask, | ||
bool & | trigMask, | ||
bool & | deadFlag, | ||
bool & | nohvFlag | ||
) | const |
Definition at line 83 of file DTStatusFlag.cc.
References cacheMap(), data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTStatusFlagData::noiseFlag, and edm::second().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
int DTStatusFlag::get | ( | const DTWireId & | id, |
bool & | noiseFlag, | ||
bool & | feMask, | ||
bool & | tdcMask, | ||
bool & | trigMask, | ||
bool & | deadFlag, | ||
bool & | nohvFlag | ||
) | const |
Definition at line 138 of file DTStatusFlag.cc.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
private |
Definition at line 604 of file DTStatusFlag.cc.
References dataVersion, and mergeVDriftHistosByStation::name.
int DTStatusFlag::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | noiseFlag, | ||
bool | feMask, | ||
bool | tdcMask, | ||
bool | trigMask, | ||
bool | deadFlag, | ||
bool | nohvFlag | ||
) |
Definition at line 176 of file DTStatusFlag.cc.
References cacheMap(), data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), combine::key, DTStatusFlagData::noiseFlag, edm::second(), and DTStatusFlagId::stationId.
Referenced by betterConfigParser.BetterConfigParser::getGeneral(), DTStatusFlagHandler::getNewObjects(), set(), setCellDead(), setCellFEMask(), setCellNoHV(), setCellNoise(), setCellStatus(), setCellTDCMask(), and setCellTrigMask().
int DTStatusFlag::set | ( | const DTWireId & | id, |
bool | noiseFlag, | ||
bool | feMask, | ||
bool | tdcMask, | ||
bool | trigMask, | ||
bool | deadFlag, | ||
bool | nohvFlag | ||
) |
Definition at line 246 of file DTStatusFlag.cc.
References set(), and relativeConstraints::station.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
int DTStatusFlag::setCellDead | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | flag | ||
) |
Definition at line 484 of file DTStatusFlag.cc.
References set(), and ntuplemaker::status.
Referenced by setCellDead().
int DTStatusFlag::setCellDead | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 527 of file DTStatusFlag.cc.
References setCellDead(), and relativeConstraints::station.
int DTStatusFlag::setCellFEMask | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | mask | ||
) |
Definition at line 319 of file DTStatusFlag.cc.
References set(), and ntuplemaker::status.
Referenced by setCellFEMask().
int DTStatusFlag::setCellFEMask | ( | const DTWireId & | id, |
bool | mask | ||
) |
Definition at line 362 of file DTStatusFlag.cc.
References setCellFEMask(), and relativeConstraints::station.
int DTStatusFlag::setCellNoHV | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | flag | ||
) |
Definition at line 539 of file DTStatusFlag.cc.
References set(), and ntuplemaker::status.
Referenced by setCellNoHV().
int DTStatusFlag::setCellNoHV | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 582 of file DTStatusFlag.cc.
References setCellNoHV(), and relativeConstraints::station.
int DTStatusFlag::setCellNoise | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | flag | ||
) |
Definition at line 264 of file DTStatusFlag.cc.
References set(), and ntuplemaker::status.
Referenced by DTNoiseCalibration::endJob(), and setCellNoise().
int DTStatusFlag::setCellNoise | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 307 of file DTStatusFlag.cc.
References setCellNoise(), and relativeConstraints::station.
|
inline |
Definition at line 146 of file DTStatusFlag.h.
References set().
|
inline |
Definition at line 161 of file DTStatusFlag.h.
References set().
int DTStatusFlag::setCellTDCMask | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | mask | ||
) |
Definition at line 374 of file DTStatusFlag.cc.
References set(), and ntuplemaker::status.
Referenced by setCellTDCMask().
int DTStatusFlag::setCellTDCMask | ( | const DTWireId & | id, |
bool | mask | ||
) |
Definition at line 417 of file DTStatusFlag.cc.
References setCellTDCMask(), and relativeConstraints::station.
int DTStatusFlag::setCellTrigMask | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | mask | ||
) |
Definition at line 429 of file DTStatusFlag.cc.
References set(), and ntuplemaker::status.
Referenced by setCellTrigMask().
int DTStatusFlag::setCellTrigMask | ( | const DTWireId & | id, |
bool | mask | ||
) |
Definition at line 472 of file DTStatusFlag.cc.
References setCellTrigMask(), and relativeConstraints::station.
const std::string & DTStatusFlag::version | ( | ) | const |
std::string & DTStatusFlag::version | ( | ) |
|
private |
Definition at line 263 of file DTStatusFlag.h.
Referenced by begin(), cacheMap(), clear(), DTStatusFlag(), end(), get(), and set().
|
private |
Definition at line 261 of file DTStatusFlag.h.
|
private |
Definition at line 265 of file DTStatusFlag.h.
Referenced by cacheMap(), clear(), DTStatusFlag(), get(), set(), and ~DTStatusFlag().