CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
EcalDetIdToBeRecoveredProducer Class Reference
Inheritance diagram for EcalDetIdToBeRecoveredProducer:
edm::stream::EDProducer<>

Public Member Functions

 EcalDetIdToBeRecoveredProducer (const edm::ParameterSet &ps)
 
void produce (edm::Event &evt, const edm::EventSetup &es) final
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 

Private Attributes

edm::ESGetToken< EcalChannelStatusMap, EcalChannelStatusRcdchannelStatusToken_
 
const EcalChannelStatusMapchStatus_
 
std::string ebDetIdCollection_
 
edm::EDGetTokenT< EBDetIdCollectionebIntegrityChIdErrorsToken_
 
edm::EDGetTokenT< EBDetIdCollectionebIntegrityGainErrorsToken_
 
edm::EDGetTokenT< EBDetIdCollectionebIntegrityGainSwitchErrorsToken_
 
edm::EDGetTokenT< EBSrFlagCollectionebSrFlagToken_
 
const EcalElectronicsMappingecalMapping_
 
edm::ESGetToken< EcalElectronicsMapping, EcalMappingRcdecalMappingToken_
 
std::string eeDetIdCollection_
 
edm::EDGetTokenT< EEDetIdCollectioneeIntegrityChIdErrorsToken_
 
edm::EDGetTokenT< EEDetIdCollectioneeIntegrityGainErrorsToken_
 
edm::EDGetTokenT< EEDetIdCollectioneeIntegrityGainSwitchErrorsToken_
 
edm::EDGetTokenT< EESrFlagCollectioneeSrFlagToken_
 
edm::EDGetTokenT< EcalElectronicsIdCollectionintegrityBlockSizeErrorsToken_
 
edm::EDGetTokenT< EcalElectronicsIdCollectionintegrityTTIdErrorsToken_
 
std::string scDetIdCollection_
 
std::string ttDetIdCollection_
 
edm::ESHandle< EcalTrigTowerConstituentsMapttMap_
 
edm::ESGetToken< EcalTrigTowerConstituentsMap, IdealGeometryRecordttMapToken_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 

Detailed Description

produce ECAL rechits from uncalibrated rechits

$Id: $Date: $Revision:

Author
Federico Ferri, CEA-Saclay IRFU/SPP

Definition at line 37 of file EcalDetIdToBeRecoveredProducer.cc.

Constructor & Destructor Documentation

◆ EcalDetIdToBeRecoveredProducer()

EcalDetIdToBeRecoveredProducer::EcalDetIdToBeRecoveredProducer ( const edm::ParameterSet ps)
explicit

Definition at line 83 of file EcalDetIdToBeRecoveredProducer.cc.

References channelStatusToken_, ebDetIdCollection_, ebIntegrityChIdErrorsToken_, ebIntegrityGainErrorsToken_, ebIntegrityGainSwitchErrorsToken_, ebSrFlagToken_, ecalMappingToken_, eeDetIdCollection_, eeIntegrityChIdErrorsToken_, eeIntegrityGainErrorsToken_, eeIntegrityGainSwitchErrorsToken_, eeSrFlagToken_, edm::ParameterSet::getParameter(), integrityBlockSizeErrorsToken_, integrityTTIdErrorsToken_, scDetIdCollection_, AlCaHLTBitMon_QueryRunRegistry::string, ttDetIdCollection_, and ttMapToken_.

83  {
84  ecalMappingToken_ = esConsumes<EcalElectronicsMapping, EcalMappingRcd>();
85  channelStatusToken_ = esConsumes<EcalChannelStatusMap, EcalChannelStatusRcd>();
86  ttMapToken_ = esConsumes<EcalTrigTowerConstituentsMap, IdealGeometryRecord>();
87  // SRP collections
88  ebSrFlagToken_ = consumes<EBSrFlagCollection>(ps.getParameter<edm::InputTag>("ebSrFlagCollection"));
89  eeSrFlagToken_ = consumes<EESrFlagCollection>(ps.getParameter<edm::InputTag>("eeSrFlagCollection"));
90 
91  // Integrity for xtal data
92  ebIntegrityGainErrorsToken_ = consumes<EBDetIdCollection>(ps.getParameter<edm::InputTag>("ebIntegrityGainErrors"));
94  consumes<EBDetIdCollection>(ps.getParameter<edm::InputTag>("ebIntegrityGainSwitchErrors"));
95  ebIntegrityChIdErrorsToken_ = consumes<EBDetIdCollection>(ps.getParameter<edm::InputTag>("ebIntegrityChIdErrors"));
96 
97  // Integrity for xtal data - EE specific (to be rivisited towards EB+EE common collection)
98  eeIntegrityGainErrorsToken_ = consumes<EEDetIdCollection>(ps.getParameter<edm::InputTag>("eeIntegrityGainErrors"));
100  consumes<EEDetIdCollection>(ps.getParameter<edm::InputTag>("eeIntegrityGainSwitchErrors"));
101  eeIntegrityChIdErrorsToken_ = consumes<EEDetIdCollection>(ps.getParameter<edm::InputTag>("eeIntegrityChIdErrors"));
102 
103  // Integrity Errors
105  consumes<EcalElectronicsIdCollection>(ps.getParameter<edm::InputTag>("integrityTTIdErrors"));
107  consumes<EcalElectronicsIdCollection>(ps.getParameter<edm::InputTag>("integrityBlockSizeErrors"));
108 
109  // output collections
110  ebDetIdCollection_ = ps.getParameter<std::string>("ebDetIdToBeRecovered");
111  eeDetIdCollection_ = ps.getParameter<std::string>("eeDetIdToBeRecovered");
112  ttDetIdCollection_ = ps.getParameter<std::string>("ebFEToBeRecovered");
113  scDetIdCollection_ = ps.getParameter<std::string>("eeFEToBeRecovered");
114 
115  produces<std::set<EBDetId>>(ebDetIdCollection_);
116  produces<std::set<EEDetId>>(eeDetIdCollection_);
117  produces<std::set<EcalTrigTowerDetId>>(ttDetIdCollection_);
118  produces<std::set<EcalScDetId>>(scDetIdCollection_);
119 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
edm::EDGetTokenT< EcalElectronicsIdCollection > integrityBlockSizeErrorsToken_
edm::ESGetToken< EcalTrigTowerConstituentsMap, IdealGeometryRecord > ttMapToken_
edm::EDGetTokenT< EBDetIdCollection > ebIntegrityGainErrorsToken_
edm::EDGetTokenT< EcalElectronicsIdCollection > integrityTTIdErrorsToken_
edm::EDGetTokenT< EEDetIdCollection > eeIntegrityGainSwitchErrorsToken_
edm::EDGetTokenT< EBSrFlagCollection > ebSrFlagToken_
edm::EDGetTokenT< EBDetIdCollection > ebIntegrityGainSwitchErrorsToken_
edm::EDGetTokenT< EEDetIdCollection > eeIntegrityChIdErrorsToken_
edm::ESGetToken< EcalElectronicsMapping, EcalMappingRcd > ecalMappingToken_
edm::EDGetTokenT< EEDetIdCollection > eeIntegrityGainErrorsToken_
edm::EDGetTokenT< EESrFlagCollection > eeSrFlagToken_
edm::EDGetTokenT< EBDetIdCollection > ebIntegrityChIdErrorsToken_
edm::ESGetToken< EcalChannelStatusMap, EcalChannelStatusRcd > channelStatusToken_

Member Function Documentation

◆ fillDescriptions()

void EcalDetIdToBeRecoveredProducer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 357 of file EcalDetIdToBeRecoveredProducer.cc.

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

357  {
359  desc.add<edm::InputTag>("ebIntegrityChIdErrors", edm::InputTag("ecalDigis", "EcalIntegrityChIdErrors"));
360  desc.add<std::string>("ebDetIdToBeRecovered", "ebDetId");
361  desc.add<edm::InputTag>("integrityTTIdErrors", edm::InputTag("ecalDigis", "EcalIntegrityTTIdErrors"));
362  desc.add<edm::InputTag>("eeIntegrityGainErrors", edm::InputTag("ecalDigis", "EcalIntegrityGainErrors"));
363  desc.add<std::string>("ebFEToBeRecovered", "ebFE");
364  desc.add<edm::InputTag>("ebIntegrityGainErrors", edm::InputTag("ecalDigis", "EcalIntegrityGainErrors"));
365  desc.add<std::string>("eeDetIdToBeRecovered", "eeDetId");
366  desc.add<edm::InputTag>("eeIntegrityGainSwitchErrors", edm::InputTag("ecalDigis", "EcalIntegrityGainSwitchErrors"));
367  desc.add<edm::InputTag>("eeIntegrityChIdErrors", edm::InputTag("ecalDigis", "EcalIntegrityChIdErrors"));
368  desc.add<edm::InputTag>("ebIntegrityGainSwitchErrors", edm::InputTag("ecalDigis", "EcalIntegrityGainSwitchErrors"));
369  desc.add<edm::InputTag>("ebSrFlagCollection", edm::InputTag("ecalDigis"));
370  desc.add<std::string>("eeFEToBeRecovered", "eeFE");
371  desc.add<edm::InputTag>("integrityBlockSizeErrors", edm::InputTag("ecalDigis", "EcalIntegrityBlockSizeErrors"));
372  desc.add<edm::InputTag>("eeSrFlagCollection", edm::InputTag("ecalDigis"));
373  descriptions.add("ecalDetIdToBeRecovered", desc);
374 }
void add(std::string const &label, ParameterSetDescription const &psetDescription)

◆ produce()

void EcalDetIdToBeRecoveredProducer::produce ( edm::Event evt,
const edm::EventSetup es 
)
final

Definition at line 128 of file EcalDetIdToBeRecoveredProducer.cc.

References edm::EDCollection< T >::begin(), edm::SortedCollection< T, SORT >::begin(), channelStatusToken_, chStatus_, EcalTrigTowerConstituentsMap::constituentsOf(), hcalRecHitTable_cff::detId, PVValHelper::dx, PVValHelper::dy, ebDetIdCollection_, HLT_2024v14_cff::ebIntegrityChIdErrors, ebIntegrityChIdErrorsToken_, HLT_2024v14_cff::ebIntegrityGainErrors, ebIntegrityGainErrorsToken_, HLT_2024v14_cff::ebIntegrityGainSwitchErrors, ebIntegrityGainSwitchErrorsToken_, ebSrFlagToken_, EcalBarrel, EcalEndcap, ecalMapping_, ecalMappingToken_, eeDetIdCollection_, HLT_2024v14_cff::eeIntegrityChIdErrors, eeIntegrityChIdErrorsToken_, HLT_2024v14_cff::eeIntegrityGainErrors, eeIntegrityGainErrorsToken_, HLT_2024v14_cff::eeIntegrityGainSwitchErrors, eeIntegrityGainSwitchErrorsToken_, eeSrFlagToken_, edm::SortedCollection< T, SORT >::empty(), edm::EDCollection< T >::end(), EcalCondObjectContainer< T >::end(), edm::SortedCollection< T, SORT >::end(), makeMEIFBenchmarkPlots::ev, EcalCondObjectContainer< T >::find(), RemoveAddSevLevel::flag, edm::EventSetup::getData(), EcalElectronicsMapping::getDetId(), edm::EventSetup::getHandle(), mps_fire::i, include(), HLT_2024v14_cff::integrityBlockSizeErrors, integrityBlockSizeErrorsToken_, HLT_2024v14_cff::integrityTTIdErrors, integrityTTIdErrorsToken_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, EcalScDetId::ix(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), EcalScDetId::iy(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), dqmiolumiharvest::j, eostools::move(), edm::EDCollection< T >::push_back(), scDetIdCollection_, edm::EDCollection< T >::size(), EcalSrFlag::SRF_FORCED_MASK, EcalSrFlag::SRF_FULL, EcalElectronicsId::subdet(), submitPVValidationJobs::t, EBDetId::tower(), EcalTrigTowerConstituentsMap::towerOf(), ttDetIdCollection_, ecaldqm::ttId(), ttMap_, ttMapToken_, EEDetId::validDetId(), trackerHitRTTI::vector, and EcalScDetId::zside().

128  {
132 
133  std::vector<edm::Handle<EBDetIdCollection>> ebDetIdColls;
134  std::vector<edm::Handle<EEDetIdCollection>> eeDetIdColls;
135  std::vector<edm::Handle<EcalElectronicsIdCollection>> ttColls;
136 
137  auto ebDetIdToRecover = std::make_unique<std::set<EBDetId>>(); // isolated channels to be recovered
138  auto eeDetIdToRecover = std::make_unique<std::set<EEDetId>>(); // isolated channels to be recovered
139  auto ebTTDetIdToRecover = std::make_unique<std::set<EcalTrigTowerDetId>>(); // tt to be recovered
140  auto eeSCDetIdToRecover = std::make_unique<std::set<EcalScDetId>>(); // sc to be recovered
141 
142  /*
143  * get collections
144  */
145 
146  // Selective Readout Flags
148  ev.getByToken(ebSrFlagToken_, ebSrFlags);
149 
151  ev.getByToken(eeSrFlagToken_, eeSrFlags);
152 
153  // Integrity errors
156 
157  ebDetIdColls.push_back(ebIntegrityGainErrors);
158 
161  ebDetIdColls.push_back(ebIntegrityGainSwitchErrors);
162 
165  ebDetIdColls.push_back(ebIntegrityChIdErrors);
166 
169  eeDetIdColls.push_back(eeIntegrityGainErrors);
170 
173  eeDetIdColls.push_back(eeIntegrityGainSwitchErrors);
174 
177  eeDetIdColls.push_back(eeIntegrityChIdErrors);
178 
181  ttColls.push_back(integrityTTIdErrors);
182 
185  ttColls.push_back(integrityBlockSizeErrors);
186 
187  /*
188  * get regions of interest from SRP
189  */
190  // -- Barrel
191  EBDetIdCollection ebSrpDetId;
192  EcalTrigTowerDetIdCollection ebSrpTTDetId;
193  for (EBSrFlagCollection::const_iterator it = ebSrFlags->begin(); it != ebSrFlags->end(); ++it) {
194  const int flag = it->value();
196  const EcalTrigTowerDetId ttId = it->id();
197  ebSrpTTDetId.push_back(ttId);
198 
199  const std::vector<DetId> vid = ttMap_->constituentsOf(ttId);
200 
201  for (std::vector<DetId>::const_iterator itId = vid.begin(); itId != vid.end(); ++itId) {
202  ebSrpDetId.push_back(*itId);
203  }
204  }
205  }
206  // -- Endcap
207  EEDetIdCollection eeSrpDetId;
208  //EcalTrigTowerDetIdCollection eeSrpTTDetId;
209  for (EESrFlagCollection::const_iterator it = eeSrFlags->begin(); it != eeSrFlags->end(); ++it) {
210  const int flag = it->value();
212  //EcalTrigTowerDetId ttId = it->id();
213  //eeSrpTTDetId.push_back( ttId );
214  const EcalScDetId scId(it->id());
215  // not clear how to get the vector of DetId constituents of a SC...
217  //std::vector<DetId> vid = ecalMapping_->dccTowerConstituents( eId.dccId(), eId.towerId() );
218  std::vector<DetId> vid;
219  for (int dx = 1; dx <= 5; ++dx) {
220  for (int dy = 1; dy <= 5; ++dy) {
221  const int ix = (scId.ix() - 1) * 5 + dx;
222  const int iy = (scId.iy() - 1) * 5 + dy;
223  const int iz = scId.zside();
224  if (EEDetId::validDetId(ix, iy, iz)) {
225  vid.push_back(EEDetId(ix, iy, iz));
226  }
227  }
228  }
230  //std::vector<DetId> vid = ttMap_->constituentsOf( ttId );
231  for (std::vector<DetId>::const_iterator itId = vid.begin(); itId != vid.end(); ++itId) {
232  eeSrpDetId.push_back(*itId);
233  }
234  }
235  }
236  // SRP switched off: get the list from the DB
237  if (ebSrFlags->empty()) {
238  }
239  // SRP switched off: get the list from the DB
240  if (eeSrFlags->empty()) {
241  }
242 
243  /*
244  * get OR of integrity error collections
245  * in interesting regions flagged by SRP
246  * and insert them in the list of DetId to recover
247  */
248  // -- Barrel
249  for (std::vector<edm::Handle<EBDetIdCollection>>::const_iterator it = ebDetIdColls.begin(); it != ebDetIdColls.end();
250  ++it) {
251  const EBDetIdCollection* idc = it->product();
252  for (EBDetIdCollection::const_iterator jt = idc->begin(); jt != idc->end(); ++jt)
253  if (include(ebSrpDetId, *jt))
254  ebDetIdToRecover->insert(*jt);
255  }
256  // -- Endcap
257  for (std::vector<edm::Handle<EEDetIdCollection>>::const_iterator it = eeDetIdColls.begin(); it != eeDetIdColls.end();
258  ++it) {
259  const EEDetIdCollection* idc = it->product();
260  for (EEDetIdCollection::const_iterator jt = idc->begin(); jt != idc->end(); ++jt)
261  if (include(eeSrpDetId, *jt))
262  eeDetIdToRecover->insert(*jt);
263  }
264 
265  /*
266  * find isolated dead channels (from DB info) --> chStatus 10, 11, 12
267  * and group of dead channels w/ trigger(from DB info) --> chStatus 13
268  * in interesting regions flagged by SRP
269  */
270  // -- Barrel
271  for (EBDetIdCollection::const_iterator itId = ebSrpDetId.begin(); itId != ebSrpDetId.end(); ++itId) {
273  if (chit != chStatus_->end()) {
274  const int flag = (*chit).getStatusCode();
275  if (flag >= 10 && flag <= 12) { // FIXME -- avoid hardcoded values...
276  ebDetIdToRecover->insert(*itId);
277  } else if (flag == 13 || flag == 14) { // FIXME -- avoid hardcoded values...
278  ebTTDetIdToRecover->insert((*itId).tower());
279  }
280  } else {
281  edm::LogError("EcalDetIdToBeRecoveredProducer") << "No channel status found for xtal " << (*itId).rawId()
282  << "! something wrong with EcalChannelStatus in your DB? ";
283  }
284  }
285  // -- Endcap
286  for (EEDetIdCollection::const_iterator itId = eeSrpDetId.begin(); itId != eeSrpDetId.end(); ++itId) {
288  if (chit != chStatus_->end()) {
289  int flag = (*chit).getStatusCode();
290  if (flag >= 10 && flag <= 12) { // FIXME -- avoid hardcoded values...
291  eeDetIdToRecover->insert(*itId);
292  } else if (flag == 13 || flag == 14) { // FIXME -- avoid hardcoded values...
293  eeSCDetIdToRecover->insert(
294  EcalScDetId(1 + ((*itId).ix() - 1) / 5, 1 + ((*itId).iy() - 1) / 5, (*itId).zside()));
295  }
296  } else {
297  edm::LogError("EcalDetIdToBeRecoveredProducer") << "No channel status found for xtal " << (*itId).rawId()
298  << "! something wrong with EcalChannelStatus in your DB? ";
299  }
300  }
301 
302  // loop over electronics id associated with TT and SC
303  for (size_t t = 0; t < ttColls.size(); ++t) {
304  const EcalElectronicsIdCollection& coll = *(ttColls[t]);
305 
306  for (size_t i = 0; i < coll.size(); ++i) {
307  const EcalElectronicsId elId = coll[i];
308  const EcalSubdetector subdet = elId.subdet();
309  const DetId detId = ecalMapping_->getDetId(elId);
310 
311  if (subdet == EcalBarrel) { // elId pointing to TT
312  // get list of crystals corresponding to TT
314  const std::vector<DetId>& vid = ttMap_->constituentsOf(ttId);
315 
316  for (size_t j = 0; j < vid.size(); ++j) {
317  const EBDetId ebdi(vid[j]);
318  if (include(ebSrpDetId, ebdi)) {
319  ebDetIdToRecover->insert(ebdi);
320  ebTTDetIdToRecover->insert(ebdi.tower());
321  }
322  }
323  } else if (subdet == EcalEndcap) { // elId pointing to SC
324  // extract list of crystals corresponding to SC
325  const EcalScDetId scId(detId);
326  std::vector<DetId> vid;
327  for (int dx = 1; dx <= 5; ++dx) {
328  for (int dy = 1; dy <= 5; ++dy) {
329  const int ix = (scId.ix() - 1) * 5 + dx;
330  const int iy = (scId.iy() - 1) * 5 + dy;
331  const int iz = scId.zside();
332  if (EEDetId::validDetId(ix, iy, iz))
333  vid.push_back(EEDetId(ix, iy, iz));
334  }
335  }
336 
337  for (size_t j = 0; j < vid.size(); ++j) {
338  const EEDetId eedi(vid[i]);
339  if (include(eeSrpDetId, eedi)) {
340  eeDetIdToRecover->insert(eedi);
341  eeSCDetIdToRecover->insert(EcalScDetId(eedi));
342  }
343  }
344  } else
345  edm::LogWarning("EcalDetIdToBeRecoveredProducer")
346  << "Incorrect EcalSubdetector = " << subdet << " in EcalElectronicsIdCollection collection ";
347  }
348  }
349 
350  // return the collections
351  ev.put(std::move(ebDetIdToRecover), ebDetIdCollection_);
352  ev.put(std::move(eeDetIdToRecover), eeDetIdCollection_);
353  ev.put(std::move(ebTTDetIdToRecover), ttDetIdCollection_);
354  ev.put(std::move(eeSCDetIdToRecover), scDetIdCollection_);
355 }
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
Definition: EventSetup.h:119
std::vector< DetId > constituentsOf(const EcalTrigTowerDetId &id) const
Get the constituent detids for this tower id.
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [...
static const int SRF_FORCED_MASK
Definition: EcalSrFlag.h:29
edm::EDGetTokenT< EcalElectronicsIdCollection > integrityBlockSizeErrorsToken_
std::vector< T >::const_iterator const_iterator
edm::ESGetToken< EcalTrigTowerConstituentsMap, IdealGeometryRecord > ttMapToken_
void push_back(T const &t)
Definition: EDCollection.h:61
edm::EDGetTokenT< EBDetIdCollection > ebIntegrityGainErrorsToken_
edm::EDGetTokenT< EcalElectronicsIdCollection > integrityTTIdErrorsToken_
Log< level::Error, false > LogError
unsigned ttId(DetId const &, EcalElectronicsMapping const *)
EcalTrigTowerDetId towerOf(const DetId &id) const
Get the tower id for this det id (or null if not known)
edm::EDGetTokenT< EEDetIdCollection > eeIntegrityGainSwitchErrorsToken_
static const int SRF_FULL
Definition: EcalSrFlag.h:24
const_iterator begin() const
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:130
edm::EDGetTokenT< EBSrFlagCollection > ebSrFlagToken_
edm::EDGetTokenT< EBDetIdCollection > ebIntegrityGainSwitchErrorsToken_
const_iterator find(uint32_t rawId) const
edm::EDGetTokenT< EEDetIdCollection > eeIntegrityChIdErrorsToken_
EcalSubdetector subdet() const
get the subdet
const_iterator begin() const
Definition: EDCollection.h:118
const_iterator end() const
ALPAKA_FN_ACC ALPAKA_FN_INLINE uint32_t ix(uint32_t id)
Definition: DetId.h:17
edm::ESHandle< EcalTrigTowerConstituentsMap > ttMap_
static bool validDetId(int crystal_ix, int crystal_iy, int iz)
Definition: EEDetId.h:248
std::vector< Item >::const_iterator const_iterator
edm::ESGetToken< EcalElectronicsMapping, EcalMappingRcd > ecalMappingToken_
size_type size() const
Definition: EDCollection.h:83
edm::EDGetTokenT< EEDetIdCollection > eeIntegrityGainErrorsToken_
bool include(const CollT &coll, const ItemT &item)
edm::EDGetTokenT< EESrFlagCollection > eeSrFlagToken_
ALPAKA_FN_ACC ALPAKA_FN_INLINE uint32_t iy(uint32_t id)
const_iterator end() const
edm::EDGetTokenT< EBDetIdCollection > ebIntegrityChIdErrorsToken_
Log< level::Warning, false > LogWarning
const EcalElectronicsMapping * ecalMapping_
const_iterator end() const
Definition: EDCollection.h:123
EcalSubdetector
def move(src, dest)
Definition: eostools.py:511
DetId getDetId(const EcalElectronicsId &id) const
Get the detid given an electronicsId.
edm::ESGetToken< EcalChannelStatusMap, EcalChannelStatusRcd > channelStatusToken_
std::vector< T >::const_iterator const_iterator
Definition: EDCollection.h:19

Member Data Documentation

◆ channelStatusToken_

edm::ESGetToken<EcalChannelStatusMap, EcalChannelStatusRcd> EcalDetIdToBeRecoveredProducer::channelStatusToken_
private

Definition at line 51 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ chStatus_

const EcalChannelStatusMap* EcalDetIdToBeRecoveredProducer::chStatus_
private

Definition at line 47 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by produce().

◆ ebDetIdCollection_

std::string EcalDetIdToBeRecoveredProducer::ebDetIdCollection_
private

Definition at line 77 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ ebIntegrityChIdErrorsToken_

edm::EDGetTokenT<EBDetIdCollection> EcalDetIdToBeRecoveredProducer::ebIntegrityChIdErrorsToken_
private

Definition at line 63 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ ebIntegrityGainErrorsToken_

edm::EDGetTokenT<EBDetIdCollection> EcalDetIdToBeRecoveredProducer::ebIntegrityGainErrorsToken_
private

Definition at line 61 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ ebIntegrityGainSwitchErrorsToken_

edm::EDGetTokenT<EBDetIdCollection> EcalDetIdToBeRecoveredProducer::ebIntegrityGainSwitchErrorsToken_
private

Definition at line 62 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ ebSrFlagToken_

edm::EDGetTokenT<EBSrFlagCollection> EcalDetIdToBeRecoveredProducer::ebSrFlagToken_
private

Definition at line 57 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ ecalMapping_

const EcalElectronicsMapping* EcalDetIdToBeRecoveredProducer::ecalMapping_
private

Definition at line 48 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by produce().

◆ ecalMappingToken_

edm::ESGetToken<EcalElectronicsMapping, EcalMappingRcd> EcalDetIdToBeRecoveredProducer::ecalMappingToken_
private

Definition at line 50 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ eeDetIdCollection_

std::string EcalDetIdToBeRecoveredProducer::eeDetIdCollection_
private

Definition at line 78 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ eeIntegrityChIdErrorsToken_

edm::EDGetTokenT<EEDetIdCollection> EcalDetIdToBeRecoveredProducer::eeIntegrityChIdErrorsToken_
private

Definition at line 68 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ eeIntegrityGainErrorsToken_

edm::EDGetTokenT<EEDetIdCollection> EcalDetIdToBeRecoveredProducer::eeIntegrityGainErrorsToken_
private

Definition at line 66 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ eeIntegrityGainSwitchErrorsToken_

edm::EDGetTokenT<EEDetIdCollection> EcalDetIdToBeRecoveredProducer::eeIntegrityGainSwitchErrorsToken_
private

Definition at line 67 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ eeSrFlagToken_

edm::EDGetTokenT<EESrFlagCollection> EcalDetIdToBeRecoveredProducer::eeSrFlagToken_
private

Definition at line 58 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ integrityBlockSizeErrorsToken_

edm::EDGetTokenT<EcalElectronicsIdCollection> EcalDetIdToBeRecoveredProducer::integrityBlockSizeErrorsToken_
private

Definition at line 72 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ integrityTTIdErrorsToken_

edm::EDGetTokenT<EcalElectronicsIdCollection> EcalDetIdToBeRecoveredProducer::integrityTTIdErrorsToken_
private

Definition at line 71 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ scDetIdCollection_

std::string EcalDetIdToBeRecoveredProducer::scDetIdCollection_
private

Definition at line 80 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ ttDetIdCollection_

std::string EcalDetIdToBeRecoveredProducer::ttDetIdCollection_
private

Definition at line 79 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ ttMap_

edm::ESHandle<EcalTrigTowerConstituentsMap> EcalDetIdToBeRecoveredProducer::ttMap_
private

Definition at line 49 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by produce().

◆ ttMapToken_

edm::ESGetToken<EcalTrigTowerConstituentsMap, IdealGeometryRecord> EcalDetIdToBeRecoveredProducer::ttMapToken_
private

Definition at line 52 of file EcalDetIdToBeRecoveredProducer.cc.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().