CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
DTDeadFlag Class Reference

#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 (const DTWireId &id, bool &dead_HV, bool &dead_TP, bool &dead_RO, bool &discCat) 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...
 
void clear ()
 reset content More...
 
 DTDeadFlag ()
 
 DTDeadFlag (const std::string &version)
 
const_iterator end () const
 
int get (const DTWireId &id, bool &dead_HV, bool &dead_TP, bool &dead_RO, bool &discCat) 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
 
bool getCellDead_HV (const DTWireId &id) const
 
bool getCellDead_HV (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const
 
bool getCellDead_RO (const DTWireId &id) const
 
bool getCellDead_RO (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const
 
bool getCellDead_TP (const DTWireId &id) const
 
bool getCellDead_TP (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const
 
bool getCellDiscCat (const DTWireId &id) const
 
bool getCellDiscCat (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const
 
void initialize ()
 
int set (const DTWireId &id, bool dead_HV, bool dead_TP, bool dead_RO, bool discCat)
 
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 setCellDead_HV (const DTWireId &id, bool flag)
 
int setCellDead_HV (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
 
int setCellDead_RO (const DTWireId &id, bool flag)
 
int setCellDead_RO (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
 
int setCellDead_TP (const DTWireId &id, bool flag)
 
int setCellDead_TP (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
 
int setCellDiscCat (const DTWireId &id, bool flag)
 
int setCellDiscCat (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
 
int setCellStatus (const DTWireId &id, bool dead_HV, bool dead_TP, bool dead_RO, bool discCat)
 
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)
 
std::string & version ()
 
const std::string & version () const
 access version More...
 
 ~DTDeadFlag ()
 

Private Member Functions

 DTDeadFlag (DTDeadFlag const &)=delete
 
std::string mapName () const
 read and store full content More...
 
DTDeadFlagoperator= (DTDeadFlag const &)=delete
 
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
 

Detailed Description

Description: Class to hold drift tubes life and HV status

Author
Paolo Ronchese INFN Padova

Definition at line 66 of file DTDeadFlag.h.

Member Typedef Documentation

◆ const_iterator

Access methods to data.

Definition at line 167 of file DTDeadFlag.h.

Constructor & Destructor Documentation

◆ DTDeadFlag() [1/3]

DTDeadFlag::DTDeadFlag ( )

Constructor

Definition at line 27 of file DTDeadFlag.cc.

27 : dataVersion(" "), dBuf(new DTBufferTree<int, int>) { dataList.reserve(1000); }

References dataList.

◆ DTDeadFlag() [2/3]

DTDeadFlag::DTDeadFlag ( const std::string &  version)

Definition at line 29 of file DTDeadFlag.cc.

30  dataList.reserve(1000);
31 }

References dataList.

◆ ~DTDeadFlag()

DTDeadFlag::~DTDeadFlag ( )

Destructor

Definition at line 40 of file DTDeadFlag.cc.

40 {}

◆ DTDeadFlag() [3/3]

DTDeadFlag::DTDeadFlag ( DTDeadFlag const &  )
privatedelete

Member Function Documentation

◆ begin()

DTDeadFlag::const_iterator DTDeadFlag::begin ( void  ) const

Definition at line 260 of file DTDeadFlag.cc.

260 { return dataList.begin(); }

References dataList.

◆ cellStatus() [1/2]

int DTDeadFlag::cellStatus ( const DTWireId id,
bool &  dead_HV,
bool &  dead_TP,
bool &  dead_RO,
bool &  discCat 
) const
inline

Definition at line 92 of file DTDeadFlag.h.

92  {
93  return get(id, dead_HV, dead_TP, dead_RO, discCat);
94  };

References get().

◆ cellStatus() [2/2]

int DTDeadFlag::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
inline

get content

Operations

Definition at line 80 of file DTDeadFlag.h.

89  {
90  return get(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
91  };

Referenced by setCellDead_HV(), setCellDead_RO(), setCellDead_TP(), and setCellDiscCat().

◆ clear()

void DTDeadFlag::clear ( void  )

reset content

Definition at line 143 of file DTDeadFlag.cc.

143  {
144  dataList.clear();
145  initialize();
146  return;
147 }

References dataList, and initialize().

Referenced by BeautifulSoup.Tag::setString().

◆ end()

DTDeadFlag::const_iterator DTDeadFlag::end ( void  ) const

Definition at line 262 of file DTDeadFlag.cc.

262 { return dataList.end(); }

References dataList.

Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().

◆ get() [1/2]

int DTDeadFlag::get ( const DTWireId id,
bool &  dead_HV,
bool &  dead_TP,
bool &  dead_RO,
bool &  discCat 
) const

◆ get() [2/2]

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.

58  {
59  dead_HV = dead_TP = dead_RO = discCat = false;
60 
61  std::vector<int> chanKey;
62  chanKey.reserve(6);
63  chanKey.push_back(wheelId);
64  chanKey.push_back(stationId);
65  chanKey.push_back(sectorId);
66  chanKey.push_back(slId);
67  chanKey.push_back(layerId);
68  chanKey.push_back(cellId);
69  int ientry;
70  int searchStatus = dBuf->find(chanKey.begin(), chanKey.end(), ientry);
71  if (!searchStatus) {
72  const DTDeadFlagData& data(dataList[ientry].second);
73  dead_HV = data.dead_HV;
74  dead_TP = data.dead_TP;
75  dead_RO = data.dead_RO;
76  discCat = data.discCat;
77  }
78 
79  return searchStatus;
80 }

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(), getCellDead_HV(), getCellDead_RO(), getCellDead_TP(), getCellDiscCat(), 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(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), rrapi.RRApi::workspaces(), and util.rrapi.RRApi::workspaces().

◆ getCellDead_HV() [1/2]

bool DTDeadFlag::getCellDead_HV ( const DTWireId id) const

Definition at line 96 of file DTDeadFlag.cc.

96  {
97  return getCellDead_HV(id.wheel(), id.station(), id.sector(), id.superLayer(), id.layer(), id.wire());
98 }

References getCellDead_HV(), phase1PixelTopology::layer, relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.

◆ getCellDead_HV() [2/2]

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.

87  {
88  bool dead_HV;
89  bool dead_TP;
90  bool dead_RO;
91  bool discCat;
92  get(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
93  return dead_HV;
94 }

References get().

Referenced by getCellDead_HV().

◆ getCellDead_RO() [1/2]

bool DTDeadFlag::getCellDead_RO ( const DTWireId id) const

Definition at line 122 of file DTDeadFlag.cc.

122  {
123  return getCellDead_RO(id.wheel(), id.station(), id.sector(), id.superLayer(), id.layer(), id.wire());
124 }

References getCellDead_RO(), phase1PixelTopology::layer, relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.

◆ getCellDead_RO() [2/2]

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.

113  {
114  bool dead_HV;
115  bool dead_TP;
116  bool dead_RO;
117  bool discCat;
118  get(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
119  return dead_RO;
120 }

References get().

Referenced by getCellDead_RO().

◆ getCellDead_TP() [1/2]

bool DTDeadFlag::getCellDead_TP ( const DTWireId id) const

Definition at line 109 of file DTDeadFlag.cc.

109  {
110  return getCellDead_TP(id.wheel(), id.station(), id.sector(), id.superLayer(), id.layer(), id.wire());
111 }

References getCellDead_TP(), phase1PixelTopology::layer, relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.

◆ getCellDead_TP() [2/2]

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.

100  {
101  bool dead_HV;
102  bool dead_TP;
103  bool dead_RO;
104  bool discCat;
105  get(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
106  return dead_TP;
107 }

References get().

Referenced by getCellDead_TP().

◆ getCellDiscCat() [1/2]

bool DTDeadFlag::getCellDiscCat ( const DTWireId id) const

Definition at line 135 of file DTDeadFlag.cc.

135  {
136  return getCellDiscCat(id.wheel(), id.station(), id.sector(), id.superLayer(), id.layer(), id.wire());
137 }

References getCellDiscCat(), phase1PixelTopology::layer, relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.

◆ getCellDiscCat() [2/2]

bool DTDeadFlag::getCellDiscCat ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId 
) const

Definition at line 126 of file DTDeadFlag.cc.

126  {
127  bool dead_HV;
128  bool dead_TP;
129  bool dead_RO;
130  bool discCat;
131  get(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
132  return discCat;
133 }

References get().

Referenced by getCellDiscCat().

◆ initialize()

void DTDeadFlag::initialize ( )

Definition at line 270 of file DTDeadFlag.cc.

270  {
271  dBuf->clear();
272 
273  int entryNum = 0;
274  int entryMax = dataList.size();
275  std::vector<int> chanKey;
276  chanKey.reserve(6);
277  while (entryNum < entryMax) {
278  const DTDeadFlagId& chan = dataList[entryNum].first;
279 
280  chanKey.clear();
281  chanKey.push_back(chan.wheelId);
282  chanKey.push_back(chan.stationId);
283  chanKey.push_back(chan.sectorId);
284  chanKey.push_back(chan.slId);
285  chanKey.push_back(chan.layerId);
286  chanKey.push_back(chan.cellId);
287  dBuf->insert(chanKey.begin(), chanKey.end(), entryNum++);
288  }
289 
290  return;
291 }

References officialStyle::chan, DTBufferTree< Key, Content >::clear(), dataList, dBuf, and DTBufferTree< Key, Content >::insert().

Referenced by clear().

◆ mapName()

std::string DTDeadFlag::mapName ( ) const
private

read and store full content

Definition at line 264 of file DTDeadFlag.cc.

264  {
265  std::stringstream name;
266  name << dataVersion << "_map_DeadFlag" << this;
267  return name.str();
268 }

References dataVersion, and Skims_PA_cff::name.

◆ operator=()

DTDeadFlag& DTDeadFlag::operator= ( DTDeadFlag const &  )
privatedelete

◆ serialize()

template<class Archive >
void DTDeadFlag::serialize ( Archive &  ar,
const unsigned int  version 
)
private

◆ set() [1/2]

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.

199  {
200  return set(
201  id.wheel(), id.station(), id.sector(), id.superLayer(), id.layer(), id.wire(), dead_HV, dead_TP, dead_RO, discCat);
202 }

References phase1PixelTopology::layer, set(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.

◆ set() [2/2]

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.

158  {
159  std::vector<int> chanKey;
160  chanKey.reserve(6);
161  chanKey.push_back(wheelId);
162  chanKey.push_back(stationId);
163  chanKey.push_back(sectorId);
164  chanKey.push_back(slId);
165  chanKey.push_back(layerId);
166  chanKey.push_back(cellId);
167  int ientry;
168  int searchStatus = dBuf->find(chanKey.begin(), chanKey.end(), ientry);
169 
170  if (!searchStatus) {
172  data.dead_HV = dead_HV;
173  data.dead_TP = dead_TP;
174  data.dead_RO = dead_RO;
175  data.discCat = discCat;
176  return -1;
177  } else {
179  key.wheelId = wheelId;
180  key.stationId = stationId;
181  key.sectorId = sectorId;
182  key.slId = slId;
183  key.layerId = layerId;
184  key.cellId = cellId;
186  data.dead_HV = dead_HV;
187  data.dead_TP = dead_TP;
188  data.dead_RO = dead_RO;
189  data.discCat = discCat;
190  ientry = dataList.size();
191  dataList.push_back(std::pair<const DTDeadFlagId, DTDeadFlagData>(key, data));
192  dBuf->insert(chanKey.begin(), chanKey.end(), ientry);
193  return 0;
194  }
195 
196  return 99;
197 }

References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), crabWrapper::key, and edm::second().

Referenced by set(), and setCellStatus().

◆ setCellDead_HV() [1/2]

int DTDeadFlag::setCellDead_HV ( const DTWireId id,
bool  flag 
)

Definition at line 214 of file DTDeadFlag.cc.

214  {
215  return setCellDead_HV(id.wheel(), id.station(), id.sector(), id.superLayer(), id.layer(), id.wire(), flag);
216 }

References RemoveAddSevLevel::flag, phase1PixelTopology::layer, setCellDead_HV(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.

◆ setCellDead_HV() [2/2]

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.

204  {
205  bool dead_HV;
206  bool dead_TP;
207  bool dead_RO;
208  bool discCat;
209  int status = cellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
210  setCellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, flag, dead_TP, dead_RO, discCat);
211  return status;
212 }

References cellStatus(), RemoveAddSevLevel::flag, setCellStatus(), and mps_update::status.

Referenced by setCellDead_HV().

◆ setCellDead_RO() [1/2]

int DTDeadFlag::setCellDead_RO ( const DTWireId id,
bool  flag 
)

Definition at line 242 of file DTDeadFlag.cc.

242  {
243  return setCellDead_RO(id.wheel(), id.station(), id.sector(), id.superLayer(), id.layer(), id.wire(), flag);
244 }

References RemoveAddSevLevel::flag, phase1PixelTopology::layer, setCellDead_RO(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.

◆ setCellDead_RO() [2/2]

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.

232  {
233  bool dead_HV;
234  bool dead_TP;
235  bool dead_RO;
236  bool discCat;
237  int status = cellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
238  setCellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, flag, discCat);
239  return status;
240 }

References cellStatus(), RemoveAddSevLevel::flag, setCellStatus(), and mps_update::status.

Referenced by setCellDead_RO().

◆ setCellDead_TP() [1/2]

int DTDeadFlag::setCellDead_TP ( const DTWireId id,
bool  flag 
)

Definition at line 228 of file DTDeadFlag.cc.

228  {
229  return setCellDead_TP(id.wheel(), id.station(), id.sector(), id.superLayer(), id.layer(), id.wire(), flag);
230 }

References RemoveAddSevLevel::flag, phase1PixelTopology::layer, setCellDead_TP(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.

◆ setCellDead_TP() [2/2]

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.

218  {
219  bool dead_HV;
220  bool dead_TP;
221  bool dead_RO;
222  bool discCat;
223  int status = cellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
224  setCellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, flag, dead_RO, discCat);
225  return status;
226 }

References cellStatus(), RemoveAddSevLevel::flag, setCellStatus(), and mps_update::status.

Referenced by setCellDead_TP().

◆ setCellDiscCat() [1/2]

int DTDeadFlag::setCellDiscCat ( const DTWireId id,
bool  flag 
)

Definition at line 256 of file DTDeadFlag.cc.

256  {
257  return setCellDiscCat(id.wheel(), id.station(), id.sector(), id.superLayer(), id.layer(), id.wire(), flag);
258 }

References RemoveAddSevLevel::flag, phase1PixelTopology::layer, setCellDiscCat(), relativeConstraints::station, and makeMuonMisalignmentScenario::wheel.

◆ setCellDiscCat() [2/2]

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.

246  {
247  bool dead_HV;
248  bool dead_TP;
249  bool dead_RO;
250  bool discCat;
251  int status = cellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
252  setCellStatus(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, flag);
253  return status;
254 }

References cellStatus(), RemoveAddSevLevel::flag, setCellStatus(), and mps_update::status.

Referenced by setCellDiscCat().

◆ setCellStatus() [1/2]

int DTDeadFlag::setCellStatus ( const DTWireId id,
bool  dead_HV,
bool  dead_TP,
bool  dead_RO,
bool  discCat 
)
inline

Definition at line 138 of file DTDeadFlag.h.

138  {
139  return set(id, dead_HV, dead_TP, dead_RO, discCat);
140  };

References set().

◆ setCellStatus() [2/2]

int DTDeadFlag::setCellStatus ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
bool  dead_HV,
bool  dead_TP,
bool  dead_RO,
bool  discCat 
)
inline

Definition at line 126 of file DTDeadFlag.h.

135  {
136  return set(wheelId, stationId, sectorId, slId, layerId, cellId, dead_HV, dead_TP, dead_RO, discCat);
137  };

References set().

Referenced by setCellDead_HV(), setCellDead_RO(), setCellDead_TP(), and setCellDiscCat().

◆ version() [1/2]

std::string & DTDeadFlag::version ( )

Definition at line 141 of file DTDeadFlag.cc.

141 { return dataVersion; }

References dataVersion.

Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().

◆ version() [2/2]

const std::string & DTDeadFlag::version ( ) const

access version

Definition at line 139 of file DTDeadFlag.cc.

139 { return dataVersion; }

References dataVersion.

Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 186 of file DTDeadFlag.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 186 of file DTDeadFlag.h.

Member Data Documentation

◆ dataList

std::vector<std::pair<DTDeadFlagId, DTDeadFlagData> > DTDeadFlag::dataList
private

Definition at line 179 of file DTDeadFlag.h.

Referenced by begin(), clear(), DTDeadFlag(), end(), get(), initialize(), and set().

◆ dataVersion

std::string DTDeadFlag::dataVersion
private

Definition at line 177 of file DTDeadFlag.h.

Referenced by mapName(), and version().

◆ dBuf

edm::ConstRespectingPtr<DTBufferTree<int, int> > DTDeadFlag::dBuf
private

Definition at line 181 of file DTDeadFlag.h.

Referenced by get(), initialize(), and set().

DTDeadFlag::dataVersion
std::string dataVersion
Definition: DTDeadFlag.h:177
DTDeadFlag::get
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
Definition: DTDeadFlag.cc:49
DTDeadFlag::getCellDead_TP
bool getCellDead_TP(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const
Definition: DTDeadFlag.cc:100
mps_update.status
status
Definition: mps_update.py:69
relativeConstraints.station
station
Definition: relativeConstraints.py:67
DTDeadFlagData
Definition: DTDeadFlag.h:53
DTBufferTree::clear
void clear()
edm::second
U second(std::pair< T, U > const &p)
Definition: ParameterSet.cc:222
DTDeadFlag::setCellDiscCat
int setCellDiscCat(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
Definition: DTDeadFlag.cc:246
DTDeadFlag::dBuf
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
Definition: DTDeadFlag.h:181
DTDeadFlag::cellStatus
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
Definition: DTDeadFlag.h:80
DTDeadFlag::getCellDead_RO
bool getCellDead_RO(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const
Definition: DTDeadFlag.cc:113
DTBufferTree::insert
int insert(ElementKey fKey, ElementKey lKey, Content cont)
DTDeadFlag::setCellDead_TP
int setCellDead_TP(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
Definition: DTDeadFlag.cc:218
DTDeadFlag::set
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)
Definition: DTDeadFlag.cc:149
DTDeadFlag::getCellDiscCat
bool getCellDiscCat(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const
Definition: DTDeadFlag.cc:126
DTDeadFlag::setCellDead_HV
int setCellDead_HV(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
Definition: DTDeadFlag.cc:204
DTDeadFlagId
Definition: DTDeadFlag.h:38
DTDeadFlag::initialize
void initialize()
Definition: DTDeadFlag.cc:270
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
makeMuonMisalignmentScenario.wheel
wheel
Definition: makeMuonMisalignmentScenario.py:319
DTBufferTree< int, int >
DTDeadFlag::getCellDead_HV
bool getCellDead_HV(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) const
Definition: DTDeadFlag.cc:87
DTDeadFlag::dataList
std::vector< std::pair< DTDeadFlagId, DTDeadFlagData > > dataList
Definition: DTDeadFlag.h:179
officialStyle.chan
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi....
Definition: officialStyle.py:106
DTDeadFlag::version
const std::string & version() const
access version
Definition: DTDeadFlag.cc:139
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
DTBufferTree::find
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
DTDeadFlag::setCellStatus
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)
Definition: DTDeadFlag.h:126
crabWrapper.key
key
Definition: crabWrapper.py:19
RemoveAddSevLevel.flag
flag
Definition: RemoveAddSevLevel.py:116
DTDeadFlag::setCellDead_RO
int setCellDead_RO(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
Definition: DTDeadFlag.cc:232