CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
EcalDetIdToBeRecoveredProducer Class Reference

#include <EcalDetIdToBeRecoveredProducer.h>

Inheritance diagram for EcalDetIdToBeRecoveredProducer:
edm::stream::EDProducer<>

Public Member Functions

void beginRun (edm::Run const &run, const edm::EventSetup &es) final
 
 EcalDetIdToBeRecoveredProducer (const edm::ParameterSet &ps)
 
void produce (edm::Event &evt, const edm::EventSetup &es) final
 
 ~EcalDetIdToBeRecoveredProducer () override
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 

Private Attributes

const EcalChannelStatusMapchStatus_
 
std::string ebDetIdCollection_
 
edm::EDGetTokenT< EBDetIdCollectionebIntegrityChIdErrorsToken_
 
edm::EDGetTokenT< EBDetIdCollectionebIntegrityGainErrorsToken_
 
edm::EDGetTokenT< EBDetIdCollectionebIntegrityGainSwitchErrorsToken_
 
edm::EDGetTokenT< EBSrFlagCollectionebSrFlagToken_
 
const EcalElectronicsMappingecalMapping_
 
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_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 

Detailed Description

produce ECAL rechits from uncalibrated rechits

$Id: $Date: $Revision:

Author
Federico Ferri, CEA-Saclay IRFU/SPP

Definition at line 29 of file EcalDetIdToBeRecoveredProducer.h.

Constructor & Destructor Documentation

◆ EcalDetIdToBeRecoveredProducer()

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

Definition at line 23 of file EcalDetIdToBeRecoveredProducer.cc.

23  {
24  // SRP collections
25  ebSrFlagToken_ = consumes<EBSrFlagCollection>(ps.getParameter<edm::InputTag>("ebSrFlagCollection"));
26  eeSrFlagToken_ = consumes<EESrFlagCollection>(ps.getParameter<edm::InputTag>("eeSrFlagCollection"));
27 
28  // Integrity for xtal data
29  ebIntegrityGainErrorsToken_ = consumes<EBDetIdCollection>(ps.getParameter<edm::InputTag>("ebIntegrityGainErrors"));
31  consumes<EBDetIdCollection>(ps.getParameter<edm::InputTag>("ebIntegrityGainSwitchErrors"));
32  ebIntegrityChIdErrorsToken_ = consumes<EBDetIdCollection>(ps.getParameter<edm::InputTag>("ebIntegrityChIdErrors"));
33 
34  // Integrity for xtal data - EE specific (to be rivisited towards EB+EE common collection)
35  eeIntegrityGainErrorsToken_ = consumes<EEDetIdCollection>(ps.getParameter<edm::InputTag>("eeIntegrityGainErrors"));
37  consumes<EEDetIdCollection>(ps.getParameter<edm::InputTag>("eeIntegrityGainSwitchErrors"));
38  eeIntegrityChIdErrorsToken_ = consumes<EEDetIdCollection>(ps.getParameter<edm::InputTag>("eeIntegrityChIdErrors"));
39 
40  // Integrity Errors
42  consumes<EcalElectronicsIdCollection>(ps.getParameter<edm::InputTag>("integrityTTIdErrors"));
44  consumes<EcalElectronicsIdCollection>(ps.getParameter<edm::InputTag>("integrityBlockSizeErrors"));
45 
46  // output collections
47  ebDetIdCollection_ = ps.getParameter<std::string>("ebDetIdToBeRecovered");
48  eeDetIdCollection_ = ps.getParameter<std::string>("eeDetIdToBeRecovered");
49  ttDetIdCollection_ = ps.getParameter<std::string>("ebFEToBeRecovered");
50  scDetIdCollection_ = ps.getParameter<std::string>("eeFEToBeRecovered");
51 
52  produces<std::set<EBDetId>>(ebDetIdCollection_);
53  produces<std::set<EEDetId>>(eeDetIdCollection_);
54  produces<std::set<EcalTrigTowerDetId>>(ttDetIdCollection_);
55  produces<std::set<EcalScDetId>>(scDetIdCollection_);
56 }

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

◆ ~EcalDetIdToBeRecoveredProducer()

EcalDetIdToBeRecoveredProducer::~EcalDetIdToBeRecoveredProducer ( )
override

Definition at line 58 of file EcalDetIdToBeRecoveredProducer.cc.

58 {}

Member Function Documentation

◆ beginRun()

void EcalDetIdToBeRecoveredProducer::beginRun ( edm::Run const &  run,
const edm::EventSetup es 
)
final

Definition at line 60 of file EcalDetIdToBeRecoveredProducer.cc.

60  {
62  es.get<EcalMappingRcd>().get(pEcalMapping);
63  ecalMapping_ = pEcalMapping.product();
64 
66  es.get<EcalChannelStatusRcd>().get(pChStatus);
67  chStatus_ = pChStatus.product();
68 
70 }

References chStatus_, ecalMapping_, edm::EventSetup::get(), get, edm::ESHandle< T >::product(), and ttMap_.

◆ fillDescriptions()

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

Definition at line 304 of file EcalDetIdToBeRecoveredProducer.cc.

304  {
306  desc.add<edm::InputTag>("ebIntegrityChIdErrors", edm::InputTag("ecalDigis", "EcalIntegrityChIdErrors"));
307  desc.add<std::string>("ebDetIdToBeRecovered", "ebDetId");
308  desc.add<edm::InputTag>("integrityTTIdErrors", edm::InputTag("ecalDigis", "EcalIntegrityTTIdErrors"));
309  desc.add<edm::InputTag>("eeIntegrityGainErrors", edm::InputTag("ecalDigis", "EcalIntegrityGainErrors"));
310  desc.add<std::string>("ebFEToBeRecovered", "ebFE");
311  desc.add<edm::InputTag>("ebIntegrityGainErrors", edm::InputTag("ecalDigis", "EcalIntegrityGainErrors"));
312  desc.add<std::string>("eeDetIdToBeRecovered", "eeDetId");
313  desc.add<edm::InputTag>("eeIntegrityGainSwitchErrors", edm::InputTag("ecalDigis", "EcalIntegrityGainSwitchErrors"));
314  desc.add<edm::InputTag>("eeIntegrityChIdErrors", edm::InputTag("ecalDigis", "EcalIntegrityChIdErrors"));
315  desc.add<edm::InputTag>("ebIntegrityGainSwitchErrors", edm::InputTag("ecalDigis", "EcalIntegrityGainSwitchErrors"));
316  desc.add<edm::InputTag>("ebSrFlagCollection", edm::InputTag("ecalDigis"));
317  desc.add<std::string>("eeFEToBeRecovered", "eeFE");
318  desc.add<edm::InputTag>("integrityBlockSizeErrors", edm::InputTag("ecalDigis", "EcalIntegrityBlockSizeErrors"));
319  desc.add<edm::InputTag>("eeSrFlagCollection", edm::InputTag("ecalDigis"));
320  descriptions.add("ecalDetIdToBeRecovered", desc);
321 }

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), HLT_2018_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ produce()

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

Definition at line 79 of file EcalDetIdToBeRecoveredProducer.cc.

79  {
80  std::vector<edm::Handle<EBDetIdCollection>> ebDetIdColls;
81  std::vector<edm::Handle<EEDetIdCollection>> eeDetIdColls;
82  std::vector<edm::Handle<EcalElectronicsIdCollection>> ttColls;
83 
84  auto ebDetIdToRecover = std::make_unique<std::set<EBDetId>>(); // isolated channels to be recovered
85  auto eeDetIdToRecover = std::make_unique<std::set<EEDetId>>(); // isolated channels to be recovered
86  auto ebTTDetIdToRecover = std::make_unique<std::set<EcalTrigTowerDetId>>(); // tt to be recovered
87  auto eeSCDetIdToRecover = std::make_unique<std::set<EcalScDetId>>(); // sc to be recovered
88 
89  /*
90  * get collections
91  */
92 
93  // Selective Readout Flags
95  ev.getByToken(ebSrFlagToken_, ebSrFlags);
96 
98  ev.getByToken(eeSrFlagToken_, eeSrFlags);
99 
100  // Integrity errors
103 
104  ebDetIdColls.push_back(ebIntegrityGainErrors);
105 
108  ebDetIdColls.push_back(ebIntegrityGainSwitchErrors);
109 
112  ebDetIdColls.push_back(ebIntegrityChIdErrors);
113 
116  eeDetIdColls.push_back(eeIntegrityGainErrors);
117 
120  eeDetIdColls.push_back(eeIntegrityGainSwitchErrors);
121 
124  eeDetIdColls.push_back(eeIntegrityChIdErrors);
125 
128  ttColls.push_back(integrityTTIdErrors);
129 
132  ttColls.push_back(integrityBlockSizeErrors);
133 
134  /*
135  * get regions of interest from SRP
136  */
137  // -- Barrel
138  EBDetIdCollection ebSrpDetId;
139  EcalTrigTowerDetIdCollection ebSrpTTDetId;
140  for (EBSrFlagCollection::const_iterator it = ebSrFlags->begin(); it != ebSrFlags->end(); ++it) {
141  const int flag = it->value();
143  const EcalTrigTowerDetId ttId = it->id();
144  ebSrpTTDetId.push_back(ttId);
145 
146  const std::vector<DetId> vid = ttMap_->constituentsOf(ttId);
147 
148  for (std::vector<DetId>::const_iterator itId = vid.begin(); itId != vid.end(); ++itId) {
149  ebSrpDetId.push_back(*itId);
150  }
151  }
152  }
153  // -- Endcap
154  EEDetIdCollection eeSrpDetId;
155  //EcalTrigTowerDetIdCollection eeSrpTTDetId;
156  for (EESrFlagCollection::const_iterator it = eeSrFlags->begin(); it != eeSrFlags->end(); ++it) {
157  const int flag = it->value();
159  //EcalTrigTowerDetId ttId = it->id();
160  //eeSrpTTDetId.push_back( ttId );
161  const EcalScDetId scId(it->id());
162  // not clear how to get the vector of DetId constituents of a SC...
164  //std::vector<DetId> vid = ecalMapping_->dccTowerConstituents( eId.dccId(), eId.towerId() );
165  std::vector<DetId> vid;
166  for (int dx = 1; dx <= 5; ++dx) {
167  for (int dy = 1; dy <= 5; ++dy) {
168  const int ix = (scId.ix() - 1) * 5 + dx;
169  const int iy = (scId.iy() - 1) * 5 + dy;
170  const int iz = scId.zside();
171  if (EEDetId::validDetId(ix, iy, iz)) {
172  vid.push_back(EEDetId(ix, iy, iz));
173  }
174  }
175  }
177  //std::vector<DetId> vid = ttMap_->constituentsOf( ttId );
178  for (std::vector<DetId>::const_iterator itId = vid.begin(); itId != vid.end(); ++itId) {
179  eeSrpDetId.push_back(*itId);
180  }
181  }
182  }
183  // SRP switched off: get the list from the DB
184  if (ebSrFlags->empty()) {
185  }
186  // SRP switched off: get the list from the DB
187  if (eeSrFlags->empty()) {
188  }
189 
190  /*
191  * get OR of integrity error collections
192  * in interesting regions flagged by SRP
193  * and insert them in the list of DetId to recover
194  */
195  // -- Barrel
196  for (std::vector<edm::Handle<EBDetIdCollection>>::const_iterator it = ebDetIdColls.begin(); it != ebDetIdColls.end();
197  ++it) {
198  const EBDetIdCollection* idc = it->product();
199  for (EBDetIdCollection::const_iterator jt = idc->begin(); jt != idc->end(); ++jt)
200  if (include(ebSrpDetId, *jt))
201  ebDetIdToRecover->insert(*jt);
202  }
203  // -- Endcap
204  for (std::vector<edm::Handle<EEDetIdCollection>>::const_iterator it = eeDetIdColls.begin(); it != eeDetIdColls.end();
205  ++it) {
206  const EEDetIdCollection* idc = it->product();
207  for (EEDetIdCollection::const_iterator jt = idc->begin(); jt != idc->end(); ++jt)
208  if (include(eeSrpDetId, *jt))
209  eeDetIdToRecover->insert(*jt);
210  }
211 
212  /*
213  * find isolated dead channels (from DB info) --> chStatus 10, 11, 12
214  * and group of dead channels w/ trigger(from DB info) --> chStatus 13
215  * in interesting regions flagged by SRP
216  */
217  // -- Barrel
218  for (EBDetIdCollection::const_iterator itId = ebSrpDetId.begin(); itId != ebSrpDetId.end(); ++itId) {
220  if (chit != chStatus_->end()) {
221  const int flag = (*chit).getStatusCode();
222  if (flag >= 10 && flag <= 12) { // FIXME -- avoid hardcoded values...
223  ebDetIdToRecover->insert(*itId);
224  } else if (flag == 13 || flag == 14) { // FIXME -- avoid hardcoded values...
225  ebTTDetIdToRecover->insert((*itId).tower());
226  }
227  } else {
228  edm::LogError("EcalDetIdToBeRecoveredProducer") << "No channel status found for xtal " << (*itId).rawId()
229  << "! something wrong with EcalChannelStatus in your DB? ";
230  }
231  }
232  // -- Endcap
233  for (EEDetIdCollection::const_iterator itId = eeSrpDetId.begin(); itId != eeSrpDetId.end(); ++itId) {
235  if (chit != chStatus_->end()) {
236  int flag = (*chit).getStatusCode();
237  if (flag >= 10 && flag <= 12) { // FIXME -- avoid hardcoded values...
238  eeDetIdToRecover->insert(*itId);
239  } else if (flag == 13 || flag == 14) { // FIXME -- avoid hardcoded values...
240  eeSCDetIdToRecover->insert(
241  EcalScDetId(1 + ((*itId).ix() - 1) / 5, 1 + ((*itId).iy() - 1) / 5, (*itId).zside()));
242  }
243  } else {
244  edm::LogError("EcalDetIdToBeRecoveredProducer") << "No channel status found for xtal " << (*itId).rawId()
245  << "! something wrong with EcalChannelStatus in your DB? ";
246  }
247  }
248 
249  // loop over electronics id associated with TT and SC
250  for (size_t t = 0; t < ttColls.size(); ++t) {
251  const EcalElectronicsIdCollection& coll = *(ttColls[t]);
252 
253  for (size_t i = 0; i < coll.size(); ++i) {
254  const EcalElectronicsId elId = coll[i];
255  const EcalSubdetector subdet = elId.subdet();
256  const DetId detId = ecalMapping_->getDetId(elId);
257 
258  if (subdet == EcalBarrel) { // elId pointing to TT
259  // get list of crystals corresponding to TT
260  const EcalTrigTowerDetId ttId(ttMap_->towerOf(detId));
261  const std::vector<DetId>& vid = ttMap_->constituentsOf(ttId);
262 
263  for (size_t j = 0; j < vid.size(); ++j) {
264  const EBDetId ebdi(vid[j]);
265  if (include(ebSrpDetId, ebdi)) {
266  ebDetIdToRecover->insert(ebdi);
267  ebTTDetIdToRecover->insert(ebdi.tower());
268  }
269  }
270  } else if (subdet == EcalEndcap) { // elId pointing to SC
271  // extract list of crystals corresponding to SC
272  const EcalScDetId scId(detId);
273  std::vector<DetId> vid;
274  for (int dx = 1; dx <= 5; ++dx) {
275  for (int dy = 1; dy <= 5; ++dy) {
276  const int ix = (scId.ix() - 1) * 5 + dx;
277  const int iy = (scId.iy() - 1) * 5 + dy;
278  const int iz = scId.zside();
279  if (EEDetId::validDetId(ix, iy, iz))
280  vid.push_back(EEDetId(ix, iy, iz));
281  }
282  }
283 
284  for (size_t j = 0; j < vid.size(); ++j) {
285  const EEDetId eedi(vid[i]);
286  if (include(eeSrpDetId, eedi)) {
287  eeDetIdToRecover->insert(eedi);
288  eeSCDetIdToRecover->insert(EcalScDetId(eedi));
289  }
290  }
291  } else
292  edm::LogWarning("EcalDetIdToBeRecoveredProducer")
293  << "Incorrect EcalSubdetector = " << subdet << " in EcalElectronicsIdCollection collection ";
294  }
295  }
296 
297  // return the collections
298  ev.put(std::move(ebDetIdToRecover), ebDetIdCollection_);
299  ev.put(std::move(eeDetIdToRecover), eeDetIdCollection_);
300  ev.put(std::move(ebTTDetIdToRecover), ttDetIdCollection_);
301  ev.put(std::move(eeSCDetIdToRecover), scDetIdCollection_);
302 }

References edm::EDCollection< T >::begin(), edm::SortedCollection< T, SORT >::begin(), chStatus_, EcalTrigTowerConstituentsMap::constituentsOf(), PVValHelper::dx, PVValHelper::dy, ebDetIdCollection_, HLT_2018_cff::ebIntegrityChIdErrors, ebIntegrityChIdErrorsToken_, HLT_2018_cff::ebIntegrityGainErrors, ebIntegrityGainErrorsToken_, HLT_2018_cff::ebIntegrityGainSwitchErrors, ebIntegrityGainSwitchErrorsToken_, ebSrFlagToken_, EcalBarrel, EcalEndcap, ecalMapping_, eeDetIdCollection_, HLT_2018_cff::eeIntegrityChIdErrors, eeIntegrityChIdErrorsToken_, HLT_2018_cff::eeIntegrityGainErrors, eeIntegrityGainErrorsToken_, HLT_2018_cff::eeIntegrityGainSwitchErrors, eeIntegrityGainSwitchErrorsToken_, eeSrFlagToken_, edm::SortedCollection< T, SORT >::empty(), edm::EDCollection< T >::end(), EcalCondObjectContainer< T >::end(), edm::SortedCollection< T, SORT >::end(), ev, EcalCondObjectContainer< T >::find(), RemoveAddSevLevel::flag, EcalElectronicsMapping::getDetId(), mps_fire::i, include(), HLT_2018_cff::integrityBlockSizeErrors, integrityBlockSizeErrorsToken_, HLT_2018_cff::integrityTTIdErrors, integrityTTIdErrorsToken_, EcalScDetId::ix(), EcalScDetId::iy(), dqmiolumiharvest::j, eostools::move(), edm::EDCollection< T >::push_back(), scDetIdCollection_, edm::EDCollection< T >::size(), EcalSrFlag::SRF_FORCED_MASK, EcalSrFlag::SRF_FULL, EcalElectronicsId::subdet(), OrderedSet::t, EBDetId::tower(), EcalTrigTowerConstituentsMap::towerOf(), ttDetIdCollection_, ecaldqm::ttId(), ttMap_, EEDetId::validDetId(), and EcalScDetId::zside().

Member Data Documentation

◆ chStatus_

const EcalChannelStatusMap* EcalDetIdToBeRecoveredProducer::chStatus_
private

Definition at line 41 of file EcalDetIdToBeRecoveredProducer.h.

Referenced by beginRun(), and produce().

◆ ebDetIdCollection_

std::string EcalDetIdToBeRecoveredProducer::ebDetIdCollection_
private

Definition at line 69 of file EcalDetIdToBeRecoveredProducer.h.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ ebIntegrityChIdErrorsToken_

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

Definition at line 55 of file EcalDetIdToBeRecoveredProducer.h.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ ebIntegrityGainErrorsToken_

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

Definition at line 53 of file EcalDetIdToBeRecoveredProducer.h.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ ebIntegrityGainSwitchErrorsToken_

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

Definition at line 54 of file EcalDetIdToBeRecoveredProducer.h.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ ebSrFlagToken_

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

Definition at line 49 of file EcalDetIdToBeRecoveredProducer.h.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ ecalMapping_

const EcalElectronicsMapping* EcalDetIdToBeRecoveredProducer::ecalMapping_
private

Definition at line 42 of file EcalDetIdToBeRecoveredProducer.h.

Referenced by beginRun(), and produce().

◆ eeDetIdCollection_

std::string EcalDetIdToBeRecoveredProducer::eeDetIdCollection_
private

Definition at line 70 of file EcalDetIdToBeRecoveredProducer.h.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ eeIntegrityChIdErrorsToken_

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

Definition at line 60 of file EcalDetIdToBeRecoveredProducer.h.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ eeIntegrityGainErrorsToken_

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

Definition at line 58 of file EcalDetIdToBeRecoveredProducer.h.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ eeIntegrityGainSwitchErrorsToken_

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

Definition at line 59 of file EcalDetIdToBeRecoveredProducer.h.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ eeSrFlagToken_

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

Definition at line 50 of file EcalDetIdToBeRecoveredProducer.h.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ integrityBlockSizeErrorsToken_

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

Definition at line 64 of file EcalDetIdToBeRecoveredProducer.h.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ integrityTTIdErrorsToken_

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

Definition at line 63 of file EcalDetIdToBeRecoveredProducer.h.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ scDetIdCollection_

std::string EcalDetIdToBeRecoveredProducer::scDetIdCollection_
private

Definition at line 72 of file EcalDetIdToBeRecoveredProducer.h.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ ttDetIdCollection_

std::string EcalDetIdToBeRecoveredProducer::ttDetIdCollection_
private

Definition at line 71 of file EcalDetIdToBeRecoveredProducer.h.

Referenced by EcalDetIdToBeRecoveredProducer(), and produce().

◆ ttMap_

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

Definition at line 43 of file EcalDetIdToBeRecoveredProducer.h.

Referenced by beginRun(), and produce().

edm::EDCollection::push_back
void push_back(T const &t)
Definition: EDCollection.h:60
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
EcalDetIdToBeRecoveredProducer::integrityTTIdErrorsToken_
edm::EDGetTokenT< EcalElectronicsIdCollection > integrityTTIdErrorsToken_
Definition: EcalDetIdToBeRecoveredProducer.h:63
EcalCondObjectContainer::end
const_iterator end() const
Definition: EcalCondObjectContainer.h:76
EcalDetIdToBeRecoveredProducer::eeIntegrityChIdErrorsToken_
edm::EDGetTokenT< EEDetIdCollection > eeIntegrityChIdErrorsToken_
Definition: EcalDetIdToBeRecoveredProducer.h:60
edm::EDCollection::begin
const_iterator begin() const
Definition: EDCollection.h:117
EcalDetIdToBeRecoveredProducer::integrityBlockSizeErrorsToken_
edm::EDGetTokenT< EcalElectronicsIdCollection > integrityBlockSizeErrorsToken_
Definition: EcalDetIdToBeRecoveredProducer.h:64
mps_fire.i
i
Definition: mps_fire.py:355
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
edm::SortedCollection::const_iterator
std::vector< T >::const_iterator const_iterator
Definition: SortedCollection.h:80
EcalDetIdToBeRecoveredProducer::scDetIdCollection_
std::string scDetIdCollection_
Definition: EcalDetIdToBeRecoveredProducer.h:72
EcalDetIdToBeRecoveredProducer::ebIntegrityGainSwitchErrorsToken_
edm::EDGetTokenT< EBDetIdCollection > ebIntegrityGainSwitchErrorsToken_
Definition: EcalDetIdToBeRecoveredProducer.h:54
EcalDetIdToBeRecoveredProducer::ttMap_
edm::ESHandle< EcalTrigTowerConstituentsMap > ttMap_
Definition: EcalDetIdToBeRecoveredProducer.h:43
vid
Definition: VIDCutFlowResult.h:25
EBDetId
Definition: EBDetId.h:17
HLT_2018_cff.integrityTTIdErrors
integrityTTIdErrors
Definition: HLT_2018_cff.py:6916
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
ecaldqm::ttId
unsigned ttId(DetId const &)
Definition: EcalDQMCommonUtils.cc:101
EcalSubdetector
EcalSubdetector
Definition: EcalSubdetector.h:10
EcalTrigTowerDetId
Definition: EcalTrigTowerDetId.h:14
edm::Handle
Definition: AssociativeIterator.h:50
EcalBarrel
Definition: EcalSubdetector.h:10
HLT_2018_cff.eeIntegrityChIdErrors
eeIntegrityChIdErrors
Definition: HLT_2018_cff.py:6922
DetId
Definition: DetId.h:17
EcalDetIdToBeRecoveredProducer::eeIntegrityGainSwitchErrorsToken_
edm::EDGetTokenT< EEDetIdCollection > eeIntegrityGainSwitchErrorsToken_
Definition: EcalDetIdToBeRecoveredProducer.h:59
edm::EDCollection::const_iterator
std::vector< T >::const_iterator const_iterator
Definition: EDCollection.h:19
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
HLT_2018_cff.eeIntegrityGainErrors
eeIntegrityGainErrors
Definition: HLT_2018_cff.py:6917
HLT_2018_cff.eeIntegrityGainSwitchErrors
eeIntegrityGainSwitchErrors
Definition: HLT_2018_cff.py:6921
edm::SortedCollection::begin
const_iterator begin() const
Definition: SortedCollection.h:262
EcalScDetId
Definition: EcalScDetId.h:24
EcalDetIdToBeRecoveredProducer::ebDetIdCollection_
std::string ebDetIdCollection_
Definition: EcalDetIdToBeRecoveredProducer.h:69
edm::ESHandle< EcalElectronicsMapping >
EcalCondObjectContainer::find
const_iterator find(uint32_t rawId) const
Definition: EcalCondObjectContainer.h:53
OrderedSet.t
t
Definition: OrderedSet.py:90
EcalElectronicsId
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [...
Definition: EcalElectronicsId.h:18
EcalDetIdToBeRecoveredProducer::ttDetIdCollection_
std::string ttDetIdCollection_
Definition: EcalDetIdToBeRecoveredProducer.h:71
EEDetId
Definition: EEDetId.h:14
EcalDetIdToBeRecoveredProducer::eeIntegrityGainErrorsToken_
edm::EDGetTokenT< EEDetIdCollection > eeIntegrityGainErrorsToken_
Definition: EcalDetIdToBeRecoveredProducer.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalEndcap
Definition: EcalSubdetector.h:10
edm::LogWarning
Definition: MessageLogger.h:141
HLT_2018_cff.ebIntegrityGainSwitchErrors
ebIntegrityGainSwitchErrors
Definition: HLT_2018_cff.py:6923
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
edm::LogError
Definition: MessageLogger.h:183
EcalDetIdToBeRecoveredProducer::eeDetIdCollection_
std::string eeDetIdCollection_
Definition: EcalDetIdToBeRecoveredProducer.h:70
EcalDetIdToBeRecoveredProducer::ebIntegrityChIdErrorsToken_
edm::EDGetTokenT< EBDetIdCollection > ebIntegrityChIdErrorsToken_
Definition: EcalDetIdToBeRecoveredProducer.h:55
EcalChannelStatusRcd
Definition: EcalChannelStatusRcd.h:5
edm::SortedCollection::end
const_iterator end() const
Definition: SortedCollection.h:267
EcalElectronicsMapping::getDetId
DetId getDetId(const EcalElectronicsId &id) const
Get the detid given an electronicsId.
Definition: EcalElectronicsMapping.cc:410
PVValHelper::dy
Definition: PVValidationHelpers.h:49
EcalDetIdToBeRecoveredProducer::chStatus_
const EcalChannelStatusMap * chStatus_
Definition: EcalDetIdToBeRecoveredProducer.h:41
get
#define get
edm::EDCollection
Definition: EDCollection.h:16
EcalTrigTowerConstituentsMap::towerOf
EcalTrigTowerDetId towerOf(const DetId &id) const
Get the tower id for this det id (or null if not known)
Definition: EcalTrigTowerConstituentsMap.cc:11
HLT_2018_cff.ebIntegrityGainErrors
ebIntegrityGainErrors
Definition: HLT_2018_cff.py:6919
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
HLT_2018_cff.integrityBlockSizeErrors
integrityBlockSizeErrors
Definition: HLT_2018_cff.py:6926
eostools.move
def move(src, dest)
Definition: eostools.py:511
EcalMappingRcd
Definition: EcalMappingRcd.h:15
EcalElectronicsId::subdet
EcalSubdetector subdet() const
get the subdet
Definition: EcalElectronicsId.cc:19
EcalDetIdToBeRecoveredProducer::ecalMapping_
const EcalElectronicsMapping * ecalMapping_
Definition: EcalDetIdToBeRecoveredProducer.h:42
EcalTrigTowerConstituentsMap::constituentsOf
std::vector< DetId > constituentsOf(const EcalTrigTowerDetId &id) const
Get the constituent detids for this tower id.
Definition: EcalTrigTowerConstituentsMap.cc:162
EcalSrFlag::SRF_FULL
static const int SRF_FULL
Definition: EcalSrFlag.h:24
edm::EDCollection::size
size_type size() const
Definition: EDCollection.h:82
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
EcalDetIdToBeRecoveredProducer::eeSrFlagToken_
edm::EDGetTokenT< EESrFlagCollection > eeSrFlagToken_
Definition: EcalDetIdToBeRecoveredProducer.h:50
EcalDetIdToBeRecoveredProducer::ebSrFlagToken_
edm::EDGetTokenT< EBSrFlagCollection > ebSrFlagToken_
Definition: EcalDetIdToBeRecoveredProducer.h:49
EEDetId::validDetId
static bool validDetId(int crystal_ix, int crystal_iy, int iz)
Definition: EEDetId.h:248
include
bool include(const CollT &coll, const ItemT &item)
Definition: EcalDetIdToBeRecoveredProducer.cc:74
EcalCondObjectContainer< EcalChannelStatusCode >::const_iterator
std::vector< Item >::const_iterator const_iterator
Definition: EcalCondObjectContainer.h:19
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
EcalSrFlag::SRF_FORCED_MASK
static const int SRF_FORCED_MASK
Definition: EcalSrFlag.h:29
EcalDetIdToBeRecoveredProducer::ebIntegrityGainErrorsToken_
edm::EDGetTokenT< EBDetIdCollection > ebIntegrityGainErrorsToken_
Definition: EcalDetIdToBeRecoveredProducer.h:53
HLT_2018_cff.ebIntegrityChIdErrors
ebIntegrityChIdErrors
Definition: HLT_2018_cff.py:6914
edm::InputTag
Definition: InputTag.h:15
edm::EDCollection::end
const_iterator end() const
Definition: EDCollection.h:122
PVValHelper::dx
Definition: PVValidationHelpers.h:48
IdealGeometryRecord
Definition: IdealGeometryRecord.h:27
RemoveAddSevLevel.flag
flag
Definition: RemoveAddSevLevel.py:116
edm::SortedCollection::empty
bool empty() const
Definition: SortedCollection.h:210