#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.
|
inline |
get content
Operations
Definition at line 100 of file DTStatusFlag.h.
Referenced by DTSegmentsTask::analyze(), DTTTrigCalibration::analyze(), DTSegmentAnalysisTask::analyze(), DTDigiTask::analyze(), and DTSegmentSelector::checkNoisySegment().
|
inline |
Definition at line 115 of file DTStatusFlag.h.
References DTStatusFlagId::cellId, hitfit::clear(), hcalTTPDigis_cfi::id, DTStatusFlagId::layerId, DTStatusFlagId::sectorId, DTStatusFlagId::slId, DTStatusFlagId::stationId, AlCaHLTBitMon_QueryRunRegistry::string, jetIDSelector_cfi::version, and DTStatusFlagId::wheelId.
void DTStatusFlag::clear | ( | void | ) |
reset content
Definition at line 153 of file DTStatusFlag.cc.
References 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.
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, DTStatusFlagData::deadFlag, DTStatusFlagData::feMask, DTStatusFlagData::nohvFlag, DTStatusFlagData::noiseFlag, edm::second(), DTStatusFlagData::tdcMask, and DTStatusFlagData::trigMask.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), 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.
References DTStatusFlagData::deadFlag, DTStatusFlagData::feMask, DTStatusFlagData::nohvFlag, DTStatusFlagData::noiseFlag, DTStatusFlagData::tdcMask, and DTStatusFlagData::trigMask.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
void DTStatusFlag::initialize | ( | ) |
Definition at line 586 of file DTStatusFlag.cc.
References officialStyle::chan, and DTStatusFlagId::stationId.
|
private |
|
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, DTStatusFlagData::deadFlag, DTStatusFlagData::feMask, crabWrapper::key, DTStatusFlagData::nohvFlag, DTStatusFlagData::noiseFlag, edm::second(), DTStatusFlagId::stationId, DTStatusFlagData::tdcMask, and DTStatusFlagData::trigMask.
Referenced by DTStatusFlagHandler::getNewObjects().
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 DTStatusFlagData::deadFlag, DTStatusFlagData::feMask, DTStatusFlagData::nohvFlag, DTStatusFlagData::noiseFlag, DTStatusFlagData::tdcMask, and DTStatusFlagData::trigMask.
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 DTStatusFlagData::deadFlag, DTStatusFlagData::feMask, RemoveAddSevLevel::flag, DTStatusFlagData::nohvFlag, DTStatusFlagData::noiseFlag, mps_update::status, DTStatusFlagData::tdcMask, and DTStatusFlagData::trigMask.
int DTStatusFlag::setCellDead | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 502 of file DTStatusFlag.cc.
References relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
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 DTStatusFlagData::deadFlag, DTStatusFlagData::feMask, RecoTauDiscriminantConfiguration::mask, DTStatusFlagData::nohvFlag, DTStatusFlagData::noiseFlag, mps_update::status, DTStatusFlagData::tdcMask, and DTStatusFlagData::trigMask.
int DTStatusFlag::setCellFEMask | ( | const DTWireId & | id, |
bool | mask | ||
) |
Definition at line 337 of file DTStatusFlag.cc.
References relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
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 DTStatusFlagData::deadFlag, DTStatusFlagData::feMask, RemoveAddSevLevel::flag, DTStatusFlagData::nohvFlag, DTStatusFlagData::noiseFlag, mps_update::status, DTStatusFlagData::tdcMask, and DTStatusFlagData::trigMask.
int DTStatusFlag::setCellNoHV | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 557 of file DTStatusFlag.cc.
References relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
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 DTStatusFlagData::deadFlag, DTStatusFlagData::feMask, RemoveAddSevLevel::flag, DTStatusFlagData::nohvFlag, DTStatusFlagData::noiseFlag, mps_update::status, DTStatusFlagData::tdcMask, and DTStatusFlagData::trigMask.
Referenced by DTNoiseCalibration::endJob().
int DTStatusFlag::setCellNoise | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 282 of file DTStatusFlag.cc.
References relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
|
inline |
Definition at line 153 of file DTStatusFlag.h.
References DTStatusFlagId::cellId, DTStatusFlagId::layerId, DTStatusFlagId::sectorId, DTStatusFlagId::slId, DTStatusFlagId::stationId, and DTStatusFlagId::wheelId.
|
inline |
Definition at line 168 of file DTStatusFlag.h.
References DTStatusFlagId::cellId, DTStatusFlagId::DTStatusFlagId(), RemoveAddSevLevel::flag, hcalTTPDigis_cfi::id, DTStatusFlagId::layerId, RecoTauDiscriminantConfiguration::mask, DTStatusFlagId::sectorId, DTStatusFlagId::slId, DTStatusFlagId::stationId, and DTStatusFlagId::wheelId.
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 DTStatusFlagData::deadFlag, DTStatusFlagData::feMask, RecoTauDiscriminantConfiguration::mask, DTStatusFlagData::nohvFlag, DTStatusFlagData::noiseFlag, mps_update::status, DTStatusFlagData::tdcMask, and DTStatusFlagData::trigMask.
int DTStatusFlag::setCellTDCMask | ( | const DTWireId & | id, |
bool | mask | ||
) |
Definition at line 392 of file DTStatusFlag.cc.
References relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
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 DTStatusFlagData::deadFlag, DTStatusFlagData::feMask, RecoTauDiscriminantConfiguration::mask, DTStatusFlagData::nohvFlag, DTStatusFlagData::noiseFlag, mps_update::status, DTStatusFlagData::tdcMask, and DTStatusFlagData::trigMask.
int DTStatusFlag::setCellTrigMask | ( | const DTWireId & | id, |
bool | mask | ||
) |
Definition at line 447 of file DTStatusFlag.cc.
References relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
const std::string & DTStatusFlag::version | ( | ) | const |
access version
Definition at line 143 of file DTStatusFlag.cc.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
std::string & DTStatusFlag::version | ( | ) |
Definition at line 148 of file DTStatusFlag.cc.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
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 DTStatusFlag().
|
private |
Definition at line 273 of file DTStatusFlag.h.
|
private |
Definition at line 277 of file DTStatusFlag.h.