#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 (DTStatusFlag const &)=delete | |
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 () |
DTStatusFlag & | operator= (DTStatusFlag const &)=delete |
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 | |
std::string | mapName () 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 74 of file DTStatusFlag.h.
typedef std::vector<std::pair<DTStatusFlagId, DTStatusFlagData> >::const_iterator DTStatusFlag::const_iterator |
Access methods to data.
Definition at line 194 of file DTStatusFlag.h.
DTStatusFlag::DTStatusFlag | ( | ) |
Constructor
Definition at line 27 of file DTStatusFlag.cc.
References dataList.
|
delete |
DTStatusFlag::DTStatusFlag | ( | const std::string & | version | ) |
Definition at line 29 of file DTStatusFlag.cc.
References dataList.
DTStatusFlag::~DTStatusFlag | ( | ) |
DTStatusFlag::const_iterator DTStatusFlag::begin | ( | void | ) | const |
Definition at line 294 of file DTStatusFlag.cc.
References dataList.
Referenced by DTnoiseDBValidation::beginRun().
|
inline |
get content
Operations
Definition at line 90 of file DTStatusFlag.h.
Referenced by DTSegmentsTask::analyze(), DTTTrigCalibration::analyze(), DTSegmentAnalysisTask::analyze(), DTDigiTask::analyze(), and DTSegmentSelector::checkNoisySegment().
|
inline |
void DTStatusFlag::clear | ( | void | ) |
reset content
Definition at line 112 of file DTStatusFlag.cc.
References dataList, and initialize().
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 | ( | 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(), 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 | ( | const DTWireId & | id, |
bool & | noiseFlag, | ||
bool & | feMask, | ||
bool & | tdcMask, | ||
bool & | trigMask, | ||
bool & | deadFlag, | ||
bool & | nohvFlag | ||
) | const |
Definition at line 87 of file DTStatusFlag.cc.
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().
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 |
|
delete |
|
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 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().
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.
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, and mps_update::status.
Referenced by setCellDead().
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::setCellFEMask | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | mask | ||
) |
Definition at line 207 of file DTStatusFlag.cc.
References gpuClustering::pixelStatus::mask, and mps_update::status.
Referenced by setCellFEMask().
int DTStatusFlag::setCellFEMask | ( | const DTWireId & | id, |
bool | mask | ||
) |
Definition at line 220 of file DTStatusFlag.cc.
References phase1PixelTopology::layer, gpuClustering::pixelStatus::mask, setCellFEMask(), 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, and mps_update::status.
Referenced by setCellNoHV().
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::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, and mps_update::status.
Referenced by DTNoiseCalibration::endJob(), and setCellNoise().
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.
|
inline |
Definition at line 141 of file DTStatusFlag.h.
|
inline |
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 gpuClustering::pixelStatus::mask, and mps_update::status.
Referenced by setCellTDCMask().
int DTStatusFlag::setCellTDCMask | ( | const DTWireId & | id, |
bool | mask | ||
) |
Definition at line 238 of file DTStatusFlag.cc.
References phase1PixelTopology::layer, gpuClustering::pixelStatus::mask, setCellTDCMask(), 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 gpuClustering::pixelStatus::mask, and mps_update::status.
Referenced by setCellTrigMask().
int DTStatusFlag::setCellTrigMask | ( | const DTWireId & | id, |
bool | mask | ||
) |
Definition at line 256 of file DTStatusFlag.cc.
References phase1PixelTopology::layer, gpuClustering::pixelStatus::mask, setCellTrigMask(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
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().
std::string & DTStatusFlag::version | ( | ) |
Definition at line 110 of file DTStatusFlag.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
Definition at line 209 of file DTStatusFlag.h.
|
friend |
Definition at line 209 of file DTStatusFlag.h.
|
private |
Definition at line 203 of file DTStatusFlag.h.
Referenced by begin(), clear(), DTStatusFlag(), end(), get(), initialize(), and set().
|
private |
Definition at line 201 of file DTStatusFlag.h.
|
private |
Definition at line 205 of file DTStatusFlag.h.
Referenced by get(), initialize(), and set().