#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 (const DTWireId &id, bool &noiseFlag, bool &feMask, bool &tdcMask, bool &trigMask, bool &deadFlag, bool &nohvFlag) 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... | |
void | clear () |
reset content More... | |
DTStatusFlag () | |
DTStatusFlag (const std::string &version) | |
const_iterator | end () const |
int | get (const DTWireId &id, bool &noiseFlag, bool &feMask, bool &tdcMask, bool &trigMask, bool &deadFlag, bool &nohvFlag) 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 |
void | initialize () |
int | set (const DTWireId &id, bool noiseFlag, bool feMask, bool tdcMask, bool trigMask, bool deadFlag, bool nohvFlag) |
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 | setCellDead (const DTWireId &id, bool flag) |
int | setCellDead (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag) |
int | setCellFEMask (const DTWireId &id, bool mask) |
int | setCellFEMask (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool mask) |
int | setCellNoHV (const DTWireId &id, bool flag) |
int | setCellNoHV (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag) |
int | setCellNoise (const DTWireId &id, bool flag) |
int | setCellNoise (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag) |
int | setCellStatus (const DTWireId &id, bool noiseFlag, bool feMask, bool tdcMask, bool trigMask, bool deadFlag, bool nohvFlag) |
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 | setCellTDCMask (const DTWireId &id, bool mask) |
int | setCellTDCMask (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool mask) |
int | setCellTrigMask (const DTWireId &id, bool mask) |
int | setCellTrigMask (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool mask) |
std::string & | version () |
const std::string & | version () const |
access version More... | |
~DTStatusFlag () | |
Private Member Functions | |
DTStatusFlag (DTStatusFlag const &)=delete | |
std::string | mapName () const |
DTStatusFlag & | operator= (DTStatusFlag const &)=delete |
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 74 of file DTStatusFlag.h.
typedef std::vector<std::pair<DTStatusFlagId, DTStatusFlagData> >::const_iterator DTStatusFlag::const_iterator |
Access methods to data.
Definition at line 192 of file DTStatusFlag.h.
DTStatusFlag::DTStatusFlag | ( | ) |
DTStatusFlag::DTStatusFlag | ( | const std::string & | version | ) |
Definition at line 29 of file DTStatusFlag.cc.
References dataList.
DTStatusFlag::~DTStatusFlag | ( | ) |
|
privatedelete |
DTStatusFlag::const_iterator DTStatusFlag::begin | ( | void | ) | const |
Definition at line 294 of file DTStatusFlag.cc.
References dataList.
Referenced by DTnoiseDBValidation::beginRun().
|
inline |
Definition at line 103 of file DTStatusFlag.h.
References get().
|
inline |
get content
Operations
Definition at line 88 of file DTStatusFlag.h.
Referenced by DTSegmentsTask::analyze(), DTTTrigCalibration::analyze(), DTSegmentAnalysisTask::analyze(), DTDigiTask::analyze(), and DTSegmentSelector::checkNoisySegment().
void DTStatusFlag::clear | ( | void | ) |
reset content
Definition at line 112 of file DTStatusFlag.cc.
References dataList, and initialize().
Referenced by BeautifulSoup.Tag::setString().
DTStatusFlag::const_iterator DTStatusFlag::end | ( | void | ) | const |
Definition at line 296 of file DTStatusFlag.cc.
References dataList.
Referenced by DTnoiseDBValidation::beginRun(), Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
int DTStatusFlag::get | ( | const DTWireId & | id, |
bool & | noiseFlag, | ||
bool & | feMask, | ||
bool & | tdcMask, | ||
bool & | trigMask, | ||
bool & | deadFlag, | ||
bool & | nohvFlag | ||
) | const |
Definition at line 87 of file DTStatusFlag.cc.
References get(), phase1PixelTopology::layer, relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
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 50 of file DTStatusFlag.cc.
References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), and edm::second().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), cellStatus(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), get(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), util.rrapi.RRApi::reports(), rrapi.RRApi::reports(), setCellDead(), setCellFEMask(), setCellNoHV(), setCellNoise(), setCellTDCMask(), setCellTrigMask(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), util.rrapi.RRApi::templates(), rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
void DTStatusFlag::initialize | ( | ) |
Definition at line 304 of file DTStatusFlag.cc.
References officialStyle::chan, DTBufferTree< Key, Content >::clear(), dataList, dBuf, and DTBufferTree< Key, Content >::insert().
Referenced by clear().
|
private |
|
privatedelete |
|
private |
int DTStatusFlag::set | ( | const DTWireId & | id, |
bool | noiseFlag, | ||
bool | feMask, | ||
bool | tdcMask, | ||
bool | trigMask, | ||
bool | deadFlag, | ||
bool | nohvFlag | ||
) |
Definition at line 174 of file DTStatusFlag.cc.
References phase1PixelTopology::layer, set(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
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 118 of file DTStatusFlag.cc.
References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), crabWrapper::key, and edm::second().
Referenced by DTStatusFlagHandler::getNewObjects(), set(), setCellDead(), setCellFEMask(), setCellNoHV(), setCellNoise(), setCellStatus(), setCellTDCMask(), and setCellTrigMask().
int DTStatusFlag::setCellDead | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 273 of file DTStatusFlag.cc.
References RemoveAddSevLevel::flag, phase1PixelTopology::layer, setCellDead(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
int DTStatusFlag::setCellDead | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | flag | ||
) |
Definition at line 260 of file DTStatusFlag.cc.
References RemoveAddSevLevel::flag, get(), set(), and mps_update::status.
Referenced by setCellDead().
int DTStatusFlag::setCellFEMask | ( | const DTWireId & | id, |
bool | mask | ||
) |
Definition at line 220 of file DTStatusFlag.cc.
References phase1PixelTopology::layer, setCellFEMask(), 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 207 of file DTStatusFlag.cc.
References get(), set(), and mps_update::status.
Referenced by setCellFEMask().
int DTStatusFlag::setCellNoHV | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 290 of file DTStatusFlag.cc.
References RemoveAddSevLevel::flag, phase1PixelTopology::layer, setCellNoHV(), 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 277 of file DTStatusFlag.cc.
References RemoveAddSevLevel::flag, get(), set(), and mps_update::status.
Referenced by setCellNoHV().
int DTStatusFlag::setCellNoise | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 203 of file DTStatusFlag.cc.
References RemoveAddSevLevel::flag, phase1PixelTopology::layer, setCellNoise(), 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 190 of file DTStatusFlag.cc.
References RemoveAddSevLevel::flag, get(), set(), and mps_update::status.
Referenced by DTNoiseCalibration::endJob(), and setCellNoise().
|
inline |
Definition at line 154 of file DTStatusFlag.h.
References set().
|
inline |
Definition at line 139 of file DTStatusFlag.h.
References set().
int DTStatusFlag::setCellTDCMask | ( | const DTWireId & | id, |
bool | mask | ||
) |
Definition at line 238 of file DTStatusFlag.cc.
References phase1PixelTopology::layer, setCellTDCMask(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
int DTStatusFlag::setCellTDCMask | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | mask | ||
) |
Definition at line 224 of file DTStatusFlag.cc.
References get(), set(), and mps_update::status.
Referenced by setCellTDCMask().
int DTStatusFlag::setCellTrigMask | ( | const DTWireId & | id, |
bool | mask | ||
) |
Definition at line 256 of file DTStatusFlag.cc.
References phase1PixelTopology::layer, setCellTrigMask(), 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 242 of file DTStatusFlag.cc.
References get(), set(), and mps_update::status.
Referenced by setCellTrigMask().
std::string & DTStatusFlag::version | ( | ) |
Definition at line 110 of file DTStatusFlag.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
const std::string & DTStatusFlag::version | ( | ) | const |
access version
Definition at line 108 of file DTStatusFlag.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
Definition at line 210 of file DTStatusFlag.h.
|
friend |
Definition at line 210 of file DTStatusFlag.h.
|
private |
Definition at line 204 of file DTStatusFlag.h.
Referenced by begin(), clear(), DTStatusFlag(), end(), get(), initialize(), and set().
|
private |
Definition at line 202 of file DTStatusFlag.h.
|
private |
Definition at line 206 of file DTStatusFlag.h.
Referenced by get(), initialize(), and set().