#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 DTSegmentAnalysisTask::analyze(), and DTDigiTask::analyze().
|
inline |
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 | ( | 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, DTStatusFlagData::deadFlag, DTStatusFlagData::feMask, DTBufferTree< Key, Content >::find(), DTStatusFlagData::nohvFlag, DTStatusFlagData::noiseFlag, edm::second(), DTStatusFlagData::tdcMask, and DTStatusFlagData::trigMask.
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 DTStatusFlagId::cellId, officialStyle::chan, DTBufferTree< Key, Content >::clear(), dataList, dBuf, DTBufferTree< Key, Content >::insert(), DTStatusFlagId::layerId, DTStatusFlagId::sectorId, DTStatusFlagId::slId, DTStatusFlagId::stationId, and DTStatusFlagId::wheelId.
Referenced by clear().
|
private |
Definition at line 298 of file DTStatusFlag.cc.
References dataVersion, and mergeVDriftHistosByStation::name.
|
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 DTStatusFlagId::cellId, data, dataList, dBuf, DTStatusFlagData::deadFlag, DTStatusFlagData::feMask, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), submitPVResolutionJobs::key, DTStatusFlagId::layerId, DTStatusFlagData::nohvFlag, DTStatusFlagData::noiseFlag, edm::second(), DTStatusFlagId::sectorId, DTStatusFlagId::slId, DTStatusFlagId::stationId, DTStatusFlagData::tdcMask, DTStatusFlagData::trigMask, and DTStatusFlagId::wheelId.
Referenced by 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 174 of file DTStatusFlag.cc.
References phase1PixelTopology::layer, set(), and relativeConstraints::station.
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 set(), and mps_update::status.
Referenced by setCellDead().
int DTStatusFlag::setCellDead | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 273 of file DTStatusFlag.cc.
References phase1PixelTopology::layer, setCellDead(), and relativeConstraints::station.
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 set(), 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, setCellFEMask(), and relativeConstraints::station.
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 set(), and mps_update::status.
Referenced by setCellNoHV().
int DTStatusFlag::setCellNoHV | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 290 of file DTStatusFlag.cc.
References phase1PixelTopology::layer, setCellNoHV(), and relativeConstraints::station.
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 set(), 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 phase1PixelTopology::layer, setCellNoise(), and relativeConstraints::station.
|
inline |
Definition at line 141 of file DTStatusFlag.h.
References set().
|
inline |
Definition at line 156 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 224 of file DTStatusFlag.cc.
References set(), 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, setCellTDCMask(), and relativeConstraints::station.
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 set(), 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, setCellTrigMask(), and relativeConstraints::station.
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().