#include <DTDeadFlag.h>
Public Types | |
typedef std::vector< std::pair< DTDeadFlagId, DTDeadFlagData > >::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 &dead_HV, bool &dead_TP, bool &dead_RO, bool &discCat) const |
get content More... | |
int | cellStatus (const DTWireId &id, bool &dead_HV, bool &dead_TP, bool &dead_RO, bool &discCat) const |
void | clear () |
reset content More... | |
DTDeadFlag () | |
DTDeadFlag (DTDeadFlag const &)=delete | |
DTDeadFlag (const std::string &version) | |
const_iterator | end () const |
int | get (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool &dead_HV, bool &dead_TP, bool &dead_RO, bool &discCat) const |
int | get (const DTWireId &id, bool &dead_HV, bool &dead_TP, bool &dead_RO, bool &discCat) const |
bool | getCellDead_HV (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const |
bool | getCellDead_HV (const DTWireId &id) const |
bool | getCellDead_RO (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const |
bool | getCellDead_RO (const DTWireId &id) const |
bool | getCellDead_TP (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const |
bool | getCellDead_TP (const DTWireId &id) const |
bool | getCellDiscCat (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const |
bool | getCellDiscCat (const DTWireId &id) const |
void | initialize () |
DTDeadFlag & | operator= (DTDeadFlag const &)=delete |
int | set (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool dead_HV, bool dead_TP, bool dead_RO, bool discCat) |
int | set (const DTWireId &id, bool dead_HV, bool dead_TP, bool dead_RO, bool discCat) |
int | setCellDead_HV (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag) |
int | setCellDead_HV (const DTWireId &id, bool flag) |
int | setCellDead_RO (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag) |
int | setCellDead_RO (const DTWireId &id, bool flag) |
int | setCellDead_TP (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag) |
int | setCellDead_TP (const DTWireId &id, bool flag) |
int | setCellDiscCat (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag) |
int | setCellDiscCat (const DTWireId &id, bool flag) |
int | setCellStatus (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool dead_HV, bool dead_TP, bool dead_RO, bool discCat) |
int | setCellStatus (const DTWireId &id, bool dead_HV, bool dead_TP, bool dead_RO, bool discCat) |
const std::string & | version () const |
access version More... | |
std::string & | version () |
~DTDeadFlag () | |
Private Member Functions | |
std::string | mapName () const |
read and store full content More... | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< std::pair< DTDeadFlagId, DTDeadFlagData > > | 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 life and HV status
Definition at line 66 of file DTDeadFlag.h.
typedef std::vector<std::pair<DTDeadFlagId, DTDeadFlagData> >::const_iterator DTDeadFlag::const_iterator |
Access methods to data.
Definition at line 169 of file DTDeadFlag.h.
DTDeadFlag::DTDeadFlag | ( | ) |
Constructor
Definition at line 27 of file DTDeadFlag.cc.
References dataList.
|
delete |
DTDeadFlag::DTDeadFlag | ( | const std::string & | version | ) |
Definition at line 29 of file DTDeadFlag.cc.
References dataList.
DTDeadFlag::~DTDeadFlag | ( | ) |
DTDeadFlag::const_iterator DTDeadFlag::begin | ( | void | ) | const |
Definition at line 260 of file DTDeadFlag.cc.
References dataList.
|
inline |
get content
Operations
Definition at line 82 of file DTDeadFlag.h.
Referenced by setCellDead_HV(), setCellDead_RO(), setCellDead_TP(), and setCellDiscCat().
|
inline |
void DTDeadFlag::clear | ( | void | ) |
reset content
Definition at line 143 of file DTDeadFlag.cc.
References dataList, and initialize().
DTDeadFlag::const_iterator DTDeadFlag::end | ( | void | ) | const |
Definition at line 262 of file DTDeadFlag.cc.
References dataList.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
int DTDeadFlag::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool & | dead_HV, | ||
bool & | dead_TP, | ||
bool & | dead_RO, | ||
bool & | discCat | ||
) | const |
Definition at line 49 of file DTDeadFlag.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 DTDeadFlag::get | ( | const DTWireId & | id, |
bool & | dead_HV, | ||
bool & | dead_TP, | ||
bool & | dead_RO, | ||
bool & | discCat | ||
) | const |
Definition at line 82 of file DTDeadFlag.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().
bool DTDeadFlag::getCellDead_HV | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId | ||
) | const |
Definition at line 87 of file DTDeadFlag.cc.
Referenced by getCellDead_HV().
bool DTDeadFlag::getCellDead_HV | ( | const DTWireId & | id | ) | const |
Definition at line 96 of file DTDeadFlag.cc.
References getCellDead_HV(), pixelTopology::layer, hgcalTBTopologyTester_cfi::sector, relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
bool DTDeadFlag::getCellDead_RO | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId | ||
) | const |
Definition at line 113 of file DTDeadFlag.cc.
Referenced by getCellDead_RO().
bool DTDeadFlag::getCellDead_RO | ( | const DTWireId & | id | ) | const |
Definition at line 122 of file DTDeadFlag.cc.
References getCellDead_RO(), pixelTopology::layer, hgcalTBTopologyTester_cfi::sector, relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
bool DTDeadFlag::getCellDead_TP | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId | ||
) | const |
Definition at line 100 of file DTDeadFlag.cc.
Referenced by getCellDead_TP().
bool DTDeadFlag::getCellDead_TP | ( | const DTWireId & | id | ) | const |
Definition at line 109 of file DTDeadFlag.cc.
References getCellDead_TP(), pixelTopology::layer, hgcalTBTopologyTester_cfi::sector, relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
bool DTDeadFlag::getCellDiscCat | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId | ||
) | const |
Definition at line 126 of file DTDeadFlag.cc.
Referenced by getCellDiscCat().
bool DTDeadFlag::getCellDiscCat | ( | const DTWireId & | id | ) | const |
Definition at line 135 of file DTDeadFlag.cc.
References getCellDiscCat(), pixelTopology::layer, hgcalTBTopologyTester_cfi::sector, relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
void DTDeadFlag::initialize | ( | ) |
Definition at line 270 of file DTDeadFlag.cc.
References officialStyle::chan, DTBufferTree< Key, Content >::clear(), dataList, dBuf, and DTBufferTree< Key, Content >::insert().
Referenced by clear().
|
private |
read and store full content
Definition at line 264 of file DTDeadFlag.cc.
References dataVersion, and Skims_PA_cff::name.
|
delete |
|
private |
int DTDeadFlag::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | dead_HV, | ||
bool | dead_TP, | ||
bool | dead_RO, | ||
bool | discCat | ||
) |
Definition at line 149 of file DTDeadFlag.cc.
References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), crabWrapper::key, and edm::second().
int DTDeadFlag::set | ( | const DTWireId & | id, |
bool | dead_HV, | ||
bool | dead_TP, | ||
bool | dead_RO, | ||
bool | discCat | ||
) |
Definition at line 199 of file DTDeadFlag.cc.
int DTDeadFlag::setCellDead_HV | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | flag | ||
) |
Definition at line 204 of file DTDeadFlag.cc.
References cellStatus(), RemoveAddSevLevel::flag, setCellStatus(), and mps_update::status.
Referenced by setCellDead_HV().
int DTDeadFlag::setCellDead_HV | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 214 of file DTDeadFlag.cc.
References RemoveAddSevLevel::flag, pixelTopology::layer, hgcalTBTopologyTester_cfi::sector, setCellDead_HV(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
int DTDeadFlag::setCellDead_RO | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | flag | ||
) |
Definition at line 232 of file DTDeadFlag.cc.
References cellStatus(), RemoveAddSevLevel::flag, setCellStatus(), and mps_update::status.
Referenced by setCellDead_RO().
int DTDeadFlag::setCellDead_RO | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 242 of file DTDeadFlag.cc.
References RemoveAddSevLevel::flag, pixelTopology::layer, hgcalTBTopologyTester_cfi::sector, setCellDead_RO(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
int DTDeadFlag::setCellDead_TP | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | flag | ||
) |
Definition at line 218 of file DTDeadFlag.cc.
References cellStatus(), RemoveAddSevLevel::flag, setCellStatus(), and mps_update::status.
Referenced by DTTPDeadWriter::analyze(), and setCellDead_TP().
int DTDeadFlag::setCellDead_TP | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 228 of file DTDeadFlag.cc.
References RemoveAddSevLevel::flag, pixelTopology::layer, hgcalTBTopologyTester_cfi::sector, setCellDead_TP(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
int DTDeadFlag::setCellDiscCat | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
bool | flag | ||
) |
Definition at line 246 of file DTDeadFlag.cc.
References cellStatus(), RemoveAddSevLevel::flag, setCellStatus(), and mps_update::status.
Referenced by setCellDiscCat().
int DTDeadFlag::setCellDiscCat | ( | const DTWireId & | id, |
bool | flag | ||
) |
Definition at line 256 of file DTDeadFlag.cc.
References RemoveAddSevLevel::flag, pixelTopology::layer, hgcalTBTopologyTester_cfi::sector, setCellDiscCat(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.
|
inline |
Definition at line 128 of file DTDeadFlag.h.
Referenced by setCellDead_HV(), setCellDead_RO(), setCellDead_TP(), and setCellDiscCat().
|
inline |
const std::string & DTDeadFlag::version | ( | ) | const |
access version
Definition at line 139 of file DTDeadFlag.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
std::string & DTDeadFlag::version | ( | ) |
Definition at line 141 of file DTDeadFlag.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
Definition at line 185 of file DTDeadFlag.h.
|
friend |
Definition at line 185 of file DTDeadFlag.h.
|
private |
Definition at line 178 of file DTDeadFlag.h.
Referenced by begin(), clear(), DTDeadFlag(), end(), get(), initialize(), and set().
|
private |
Definition at line 176 of file DTDeadFlag.h.
|
private |
Definition at line 180 of file DTDeadFlag.h.
Referenced by get(), initialize(), and set().