#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 |
void | initialize () |
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 | |
DTStatusFlag (DTStatusFlag const &) | |
std::string | mapName () const |
DTStatusFlag & | operator= (DTStatusFlag const &) |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< std::pair < DTStatusFlagId, DTStatusFlagData > > | 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 drift tubes status ( cell by cell noise and masks )
Definition at line 84 of file DTStatusFlag.h.
typedef std::vector< std::pair<DTStatusFlagId, DTStatusFlagData> >::const_iterator DTStatusFlag::const_iterator |
Access methods to data.
Definition at line 262 of file DTStatusFlag.h.
DTStatusFlag::DTStatusFlag | ( | ) |
Constructor
Definition at line 27 of file DTStatusFlag.cc.
References dataList.
DTStatusFlag::DTStatusFlag | ( | const std::string & | version | ) |
Definition at line 34 of file DTStatusFlag.cc.
References dataList.
DTStatusFlag::~DTStatusFlag | ( | ) |
|
private |
DTStatusFlag::const_iterator DTStatusFlag::begin | ( | void | ) | const |
Definition at line 569 of file DTStatusFlag.cc.
References dataList.
|
inline |
|
inline |
Definition at line 115 of file DTStatusFlag.h.
void DTStatusFlag::clear | ( | void | ) |
reset content
Definition at line 153 of file DTStatusFlag.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().
DTStatusFlag::const_iterator DTStatusFlag::end | ( | void | ) | const |
Definition at line 574 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 79 of file DTStatusFlag.cc.
References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTStatusFlagData::noiseFlag, 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 DTStatusFlag::get | ( | const DTWireId & | id, |
bool & | noiseFlag, | ||
bool & | feMask, | ||
bool & | tdcMask, | ||
bool & | trigMask, | ||
bool & | deadFlag, | ||
bool & | nohvFlag | ||
) | const |
Definition at line 124 of file DTStatusFlag.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 DTStatusFlag::initialize | ( | ) |
Definition at line 586 of file DTStatusFlag.cc.
References DTBufferTree< Key, Content >::clear(), dataList, dBuf, DTBufferTree< Key, Content >::insert(), and DTStatusFlagId::stationId.
Referenced by clear().
|
private |
Definition at line 579 of file DTStatusFlag.cc.
References dataVersion, and mergeVDriftHistosByStation::name.
|
private |
|
private |
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 160 of file DTStatusFlag.cc.
References 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 221 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 459 of file DTStatusFlag.cc.
References set(), and ntuplemaker::status.
Referenced by setCellDead().
int DTStatusFlag::setCellDead | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 502 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 294 of file DTStatusFlag.cc.
References set(), and ntuplemaker::status.
Referenced by setCellFEMask().
int DTStatusFlag::setCellFEMask | ( | const DTWireId & | id, |
bool | mask | ||
) |
Definition at line 337 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 514 of file DTStatusFlag.cc.
References set(), and ntuplemaker::status.
Referenced by setCellNoHV().
int DTStatusFlag::setCellNoHV | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 557 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 239 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 282 of file DTStatusFlag.cc.
References setCellNoise(), and relativeConstraints::station.
|
inline |
Definition at line 153 of file DTStatusFlag.h.
References set().
|
inline |
Definition at line 168 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 349 of file DTStatusFlag.cc.
References set(), and ntuplemaker::status.
Referenced by setCellTDCMask().
int DTStatusFlag::setCellTDCMask | ( | const DTWireId & | id, |
bool | mask | ||
) |
Definition at line 392 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 404 of file DTStatusFlag.cc.
References set(), and ntuplemaker::status.
Referenced by setCellTrigMask().
int DTStatusFlag::setCellTrigMask | ( | const DTWireId & | id, |
bool | mask | ||
) |
Definition at line 447 of file DTStatusFlag.cc.
References setCellTrigMask(), and relativeConstraints::station.
const std::string & DTStatusFlag::version | ( | ) | const |
std::string & DTStatusFlag::version | ( | ) |
|
friend |
Definition at line 282 of file DTStatusFlag.h.
|
friend |
Definition at line 282 of file DTStatusFlag.h.
|
private |
Definition at line 275 of file DTStatusFlag.h.
Referenced by begin(), clear(), DTStatusFlag(), end(), get(), initialize(), and set().
|
private |
Definition at line 273 of file DTStatusFlag.h.
|
private |
Definition at line 277 of file DTStatusFlag.h.
Referenced by get(), initialize(), and set().