CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalTPCondAnalyzer.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Class: EcalTPDBAnalyzer
4 //
10 //
11 //
12 // Original Author: Ursula Berthon
13 // Created: Wed Oct 15 11:38:38 CEST 2008
14 //
15 //
16 //
17 
18 // system include files
19 #include <memory>
20 #include <utility>
21 #include <vector>
22 
23 // user include files
26 
28 
30  : tokenEndcapGeom_(esConsumes<edm::Transition::BeginRun>(edm::ESInputTag("", "EcalEndcap"))),
31  tokenBarrelGeom_(esConsumes<edm::Transition::BeginRun>(edm::ESInputTag("", "EcalBarrel"))),
32  tokenEcalTPGPhysics_(esConsumes<edm::Transition::BeginRun>()),
33  tokenEcalTPGLinearization_(esConsumes<edm::Transition::BeginRun>()),
34  tokenEcalTPGPedestals_(esConsumes<edm::Transition::BeginRun>()),
35  tokenEcalTPGWeightIdMap_(esConsumes<edm::Transition::BeginRun>()),
36  tokenEcalTPGFineGrainEBIdMap_(esConsumes<edm::Transition::BeginRun>()),
37  tokenEcalTPGLutIdMap_(esConsumes<edm::Transition::BeginRun>()),
38  tokenEcalTPGSlidingWindow_(esConsumes<edm::Transition::BeginRun>()),
39  tokenEcalTPGFineGrainStripEE_(esConsumes<edm::Transition::BeginRun>()),
40  tokenEcalTPGWeightGroup_(esConsumes<edm::Transition::BeginRun>()),
41  tokenEcalTPGLutGroup_(esConsumes<edm::Transition::BeginRun>()),
42  tokenEcalTPGFineGrainEBGroup_(esConsumes<edm::Transition::BeginRun>()),
43  tokenEcalTPGSpike_(esConsumes<edm::Transition::BeginRun>()),
44  tokenEcalTPGFineGrainTowerEE_(esConsumes<edm::Transition::BeginRun>()) {}
45 
47  // get geometry
50 
51  cacheID_ = this->getRecords(evtSetup);
52 }
53 
55 
57 
59  //
60  // get Eventsetup records and print them
61  //
62  printComment();
63 
64  const auto ecaltpPhysConst = &setup.getData(tokenEcalTPGPhysics_);
65  printEcalTPGPhysicsConst(ecaltpPhysConst);
66 
67  // for EcalFenixStrip...
68  // get parameter records for xtals
69  const auto *ecaltpLin = &setup.getData(tokenEcalTPGLinearization_);
70  const auto *ecaltpPed = &setup.getData(tokenEcalTPGPedestals_);
71  printCRYSTAL(ecaltpPed, ecaltpLin);
72 
73  // weight
74  const auto *ecaltpgWeightMap = &setup.getData(tokenEcalTPGWeightIdMap_);
75  printWEIGHT(ecaltpgWeightMap);
76 
77  // .. and for EcalFenixTcp
78  const auto *ecaltpgFineGrainEB = &setup.getData(tokenEcalTPGFineGrainEBIdMap_);
79  printEcalTPGFineGrainEBIdMap(ecaltpgFineGrainEB);
80 
81  const auto *ecaltpgLut = &setup.getData(tokenEcalTPGLutIdMap_);
82  printEcalTPGLutIdMap(ecaltpgLut);
83 
84  // for strips
85  const auto *ecaltpgSlidW = &setup.getData(tokenEcalTPGSlidingWindow_);
86  const auto *ecaltpgFgStripEE = &setup.getData(tokenEcalTPGFineGrainStripEE_);
87  const auto *ecaltpgWeightGroup = &setup.getData(tokenEcalTPGWeightGroup_);
88  printSTRIP(ecaltpgSlidW, ecaltpgWeightGroup, ecaltpgFgStripEE);
89 
90  // get parameter records for towers
91  const auto *ecaltpgLutGroup = &setup.getData(tokenEcalTPGLutGroup_);
92  const auto *ecaltpgFgEBGroup = &setup.getData(tokenEcalTPGFineGrainEBGroup_);
93  const auto *ecaltpgSpikeTh = &setup.getData(tokenEcalTPGSpike_);
94  const auto *ecaltpgFineGrainTowerEE = &setup.getData(tokenEcalTPGFineGrainTowerEE_);
95 
96  printTOWEREB(ecaltpgSpikeTh, ecaltpgFgEBGroup, ecaltpgLutGroup);
97  printTOWEREE(ecaltpgFineGrainTowerEE, ecaltpgLutGroup);
98 
99  edm::LogVerbatim("EcalTPCondAnalyzer") << "EOF";
100 
101  return setup.get<EcalTPGFineGrainTowerEERcd>().cacheIdentifier();
102 }
103 
104 // ------------ method called to analyze the data ------------
106 
108 
110 
113  const EcalTPGPhysicsConstMap &mymap = ecaltpgPhysConst->getMap();
114  for (it = mymap.begin(); it != mymap.end(); ++it) {
115  if (it == mymap.begin()) {
116  edm::LogVerbatim("EcalTPCondAnalyzer") << "\nPHYSICS_EB " << (*it).first;
117  } else {
118  edm::LogVerbatim("EcalTPCondAnalyzer") << "\nPHYSICS_EE " << (*it).first;
119  }
120  edm::LogVerbatim("EcalTPCondAnalyzer")
121  << (*it).second.EtSat << " " << (*it).second.ttf_threshold_Low << " " << (*it).second.ttf_threshold_High;
122  edm::LogVerbatim("EcalTPCondAnalyzer") << (*it).second.FG_lowThreshold << " " << (*it).second.FG_highThreshold
123  << " " << (*it).second.FG_lowRatio << " " << (*it).second.FG_highRatio;
124  }
125 }
126 
128  const EcalTPGWeightGroup *ecaltpgWeightGroup,
129  const EcalTPGFineGrainStripEE *ecaltpgFgStripEE) const {
130  // print STRIP information
131  const EcalTPGSlidingWindowMap &slwinmap = slWin->getMap();
132  const EcalTPGFineGrainStripEEMap &fgstripEEmap = ecaltpgFgStripEE->getMap();
134  const EcalTPGGroups::EcalTPGGroupsMap &gMap = ecaltpgWeightGroup->getMap();
136 
137  edm::LogVerbatim("EcalTPCondAnalyzer");
138  for (int mysub = 1; mysub <= 2; ++mysub) {
139  edm::LogVerbatim("EcalTPCondAnalyzer");
140  for (it = slwinmap.begin(); it != slwinmap.end(); ++it) {
141  EcalTriggerElectronicsId elid((*it).first);
142  groupId = gMap.find((*it).first);
143  int subdet = elid.subdet();
144  if (subdet == mysub) {
145  if (subdet == 1) {
146  edm::LogVerbatim("EcalTPCondAnalyzer") << "STRIP_EB " << std::dec << (*it).first << "\n"
147  << std::hex << "0x" << (*it).second << "\n"
148  << "" << (*groupId).second; // weightgroupid
149  EcalTPGFineGrainStripEEMapIterator it2 = fgstripEEmap.find((*it).first);
150  if (it2 == fgstripEEmap.end()) {
151  edm::LogWarning("EcalTPGCondAnalyzer") << " could not find strip Id " << (*it).first
152  << ", given in sliding window, inside the "
153  "EcalTPGFineGranStripEEMap!!!";
154  } else {
155  EcalTPGFineGrainStripEE::Item item = (*it2).second;
156  edm::LogVerbatim("EcalTPCondAnalyzer") << std::hex << "0x" << item.threshold << " 0x" << item.lut;
157  }
158  } else if (subdet == 2) {
159  edm::LogVerbatim("EcalTPCondAnalyzer") << "STRIP_EE " << std::dec << (*it).first << "\n"
160  << std::hex << "0x" << (*it).second << "\n"
161  << " " << (*groupId).second; // weightgroupid
162  EcalTPGFineGrainStripEEMapIterator it2 = fgstripEEmap.find((*it).first);
163  if (it2 == fgstripEEmap.end()) {
164  edm::LogWarning("EcalTPGCondAnalyzer") << " could not find strip Id " << (*it).first
165  << ", given in sliding window, inside the "
166  "EcalTPGFineGranStripEEMap!!!";
167  } else {
168  EcalTPGFineGrainStripEE::Item item = (*it2).second;
169  edm::LogVerbatim("EcalTPCondAnalyzer") << std::hex << "0x" << item.threshold << " 0x" << item.lut;
170  }
171  }
172  }
173  }
174  }
175 }
176 
177 void EcalTPCondAnalyzer::printWEIGHT(const EcalTPGWeightIdMap *ecaltpgWeightIdMap) const {
178  edm::LogVerbatim("EcalTPCondAnalyzer");
180  uint32_t w0, w1, w2, w3, w4;
181  const EcalTPGWeightIdMap::EcalTPGWeightMap &map = ecaltpgWeightIdMap->getMap();
182  for (it = map.begin(); it != map.end(); ++it) {
183  edm::LogVerbatim("EcalTPCondAnalyzer") << "WEIGHT " << (*it).first;
184  (*it).second.getValues(w0, w1, w2, w3, w4);
185  edm::LogVerbatim("EcalTPCondAnalyzer")
186  << std::hex << "0x" << w0 << " 0x" << w1 << " 0x" << w2 << " 0x" << w3 << " 0x" << w4 << " \n\n\n";
187  }
188 }
189 
192  const EcalTPGFineGrainEBIdMap::EcalTPGFineGrainEBMap &map = ecaltpgFineGrainEB->getMap();
193  uint32_t ThresholdETLow, ThresholdETHigh, RatioLow, RatioHigh, LUT;
194 
195  for (it = map.begin(); it != map.end(); ++it) {
196  edm::LogVerbatim("EcalTPCondAnalyzer") << "FG " << (*it).first;
197  (*it).second.getValues(ThresholdETLow, ThresholdETHigh, RatioLow, RatioHigh, LUT);
198  edm::LogVerbatim("EcalTPCondAnalyzer") << std::hex << "0x" << ThresholdETLow << " 0x" << ThresholdETHigh << " 0x"
199  << RatioLow << " 0x" << RatioHigh << " 0x" << LUT;
200  }
201 }
202 
205  const EcalTPGLutIdMap::EcalTPGLutMap &map = ecaltpgLut->getMap();
206 
207  edm::LogVerbatim("EcalTPCondAnalyzer");
208  for (it = map.begin(); it != map.end(); ++it) {
209  edm::LogVerbatim("EcalTPCondAnalyzer") << "LUT " << (*it).first;
210  const unsigned int *lut = (*it).second.getLut();
211  for (unsigned int i = 0; i < 1024; ++i)
212  edm::LogVerbatim("EcalTPCondAnalyzer") << std::hex << "0x" << *lut++;
213  }
214 }
215 
217  edm::LogVerbatim("EcalTPCondAnalyzer");
218  const EcalTPGPedestalsMap &pedMap = ecaltpPed->getMap();
219  const EcalTPGLinearizationConstMap &linMap = ecaltpLin->getMap();
220 
221  const std::vector<DetId> &ebCells = theBarrelGeometry_->getValidDetIds(DetId::Ecal, EcalBarrel);
222 
223  edm::LogVerbatim("EcalTPCondAnalyzer") << "COMMENT ====== barrel crystals ====== ";
224  for (std::vector<DetId>::const_iterator it = ebCells.begin(); it != ebCells.end(); ++it) {
225  EBDetId id(*it);
226  edm::LogVerbatim("EcalTPCondAnalyzer") << "CRYSTAL " << std::dec << id.rawId();
227  const EcalTPGPedestal &ped = pedMap[id.rawId()];
228  const EcalTPGLinearizationConstant &lin = linMap[id.rawId()];
229  edm::LogVerbatim("EcalTPCondAnalyzer")
230  << std::hex << " 0x" << ped.mean_x12 << " 0x" << lin.mult_x12 << " 0x" << lin.shift_x12 << "\n"
231  << std::hex << " 0x" << ped.mean_x6 << " 0x" << lin.mult_x6 << " 0x" << lin.shift_x6 << "\n"
232  << std::hex << " 0x" << ped.mean_x1 << " 0x" << lin.mult_x1 << " 0x" << lin.shift_x1;
233  }
234 
235  const std::vector<DetId> &eeCells = theEndcapGeometry_->getValidDetIds(DetId::Ecal, EcalEndcap);
236  edm::LogVerbatim("EcalTPCondAnalyzer") << "COMMENT ====== endcap crystals ====== ";
237  for (std::vector<DetId>::const_iterator it = eeCells.begin(); it != eeCells.end(); ++it) {
238  EEDetId id(*it);
239  edm::LogVerbatim("EcalTPCondAnalyzer") << "CRYSTAL " << std::dec << id.rawId();
240  const EcalTPGPedestal &ped = pedMap[id.rawId()];
241  const EcalTPGLinearizationConstant &lin = linMap[id.rawId()];
242  edm::LogVerbatim("EcalTPCondAnalyzer")
243  << std::hex << " 0x" << ped.mean_x12 << " 0x" << lin.mult_x12 << " 0x" << lin.shift_x12 << "\n"
244  << std::hex << " 0x" << ped.mean_x6 << " 0x" << lin.mult_x6 << " 0x" << lin.shift_x6 << "\n"
245  << std::hex << " 0x" << ped.mean_x1 << " 0x" << lin.mult_x1 << " 0x" << lin.shift_x1;
246  }
247 }
249  edm::LogVerbatim("EcalTPCondAnalyzer") << "COMMENT put your comments here\n"
250  << "COMMENT =================================\n"
251  << "COMMENT physics EB structure\n"
252  << "COMMENT\n"
253  << "COMMENT EtSaturation (GeV), ttf_threshold_Low (GeV), "
254  "ttf_threshold_High (GeV)\n"
255  << "COMMENT FG_lowThreshold (GeV), FG_highThreshold (GeV), "
256  "FG_lowRatio, FG_highRatio\n"
257  << "COMMENT =================================\n"
258  << "COMMENT\n"
259  << "COMMENT =================================\n"
260  << "COMMENT physics EE structure\n"
261  << "COMMENT\n"
262  << "COMMENT EtSaturation (GeV), ttf_threshold_Low (GeV), "
263  "ttf_threshold_High (GeV)\n"
264  << "COMMENT FG_Threshold (GeV), dummy, dummy, dummy\n"
265  << "COMMENT =================================\n"
266  << "COMMENT\n"
267  << "COMMENT =================================\n"
268  << "COMMENT crystal structure (same for EB and EE)\n"
269  << "COMMENT\n"
270  << "COMMENT ped, mult, shift [gain12]\n"
271  << "COMMENT ped, mult, shift [gain6]\n"
272  << "COMMENT ped, mult, shift [gain1]\n"
273  << "COMMENT =================================\n"
274  << "COMMENT\n"
275  << "COMMENT =================================\n"
276  << "COMMENT strip EB structure\n"
277  << "COMMENT\n"
278  << "COMMENT sliding_window\n"
279  << "COMMENT weightGroupId\n"
280  << "COMMENT threshold_sfg lut_sfg\n"
281  << "COMMENT =================================\n"
282  << "COMMENT\n"
283  << "COMMENT =================================\n"
284  << "COMMENT strip EE structure\n"
285  << "COMMENT\n"
286  << "COMMENT sliding_window\n"
287  << "COMMENT weightGroupId\n"
288  << "COMMENT threshold_fg lut_fg\n"
289  << "COMMENT =================================\n"
290  << "COMMENT\n"
291  << "COMMENT =================================\n"
292  << "COMMENT tower EB structure\n"
293  << "COMMENT\n"
294  << "COMMENT LUTGroupId\n"
295  << "COMMENT FgGroupId\n"
296  << "COMMENT spike_killing_threshold\n"
297  << "COMMENT =================================\n"
298  << "COMMENT\n"
299  << "COMMENT =================================\n"
300  << "COMMENT tower EE structure\n"
301  << "COMMENT\n"
302  << "COMMENT LUTGroupId\n"
303  << "COMMENT tower_lut_fg\n"
304  << "COMMENT =================================\n"
305  << "COMMENT\n"
306  << "COMMENT =================================\n"
307  << "COMMENT Weight structure\n"
308  << "COMMENT\n"
309  << "COMMENT weightGroupId\n"
310  << "COMMENT w0, w1, w2, w3, w4\n"
311  << "COMMENT =================================\n"
312  << "COMMENT\n"
313  << "COMMENT =================================\n"
314  << "COMMENT lut structure\n"
315  << "COMMENT\n"
316  << "COMMENT LUTGroupId\n"
317  << "COMMENT LUT[1-1024]\n"
318  << "COMMENT =================================\n"
319  << "COMMENT\n"
320  << "COMMENT =================================\n"
321  << "COMMENT fg EB structure\n"
322  << "COMMENT\n"
323  << "COMMENT FgGroupId\n"
324  << "COMMENT el, eh, tl, th, lut_fg\n"
325  << "COMMENT =================================\n"
326  << "COMMENT";
327 }
328 
330  const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup,
331  const EcalTPGLutGroup *ecaltpgLutGroup) const {
332  const EcalTPGGroups::EcalTPGGroupsMap &lutMap = ecaltpgLutGroup->getMap();
334  const EcalTPGGroups::EcalTPGGroupsMap &fgMap = ecaltpgFgEBGroup->getMap();
336 
337  const EcalTPGSpike::EcalTPGSpikeMap &spikeThMap = ecaltpgSpikeTh->getMap();
339 
340  edm::LogVerbatim("EcalTPCondAnalyzer");
341  for (it = fgMap.begin(); it != fgMap.end(); ++it) {
342  edm::LogVerbatim("EcalTPCondAnalyzer") << "TOWER_EB " << std::dec << (*it).first;
343  lutGroupId = lutMap.find((*it).first);
344  itSpikeTh = spikeThMap.find((*it).first);
345  edm::LogVerbatim("EcalTPCondAnalyzer") << " " << (*it).second << "\n"
346  << " " << (*lutGroupId).second << "\n"
347  << " " << (*itSpikeTh).second;
348  }
349 }
350 
351 void EcalTPCondAnalyzer::printTOWEREE(const EcalTPGFineGrainTowerEE *ecaltpgFineGrainTowerEE,
352  const EcalTPGLutGroup *ecaltpgLutGroup) const {
354  const EcalTPGFineGrainTowerEEMap &map = ecaltpgFineGrainTowerEE->getMap();
355  const EcalTPGGroups::EcalTPGGroupsMap &lutMap = ecaltpgLutGroup->getMap();
357 
358  edm::LogVerbatim("EcalTPCondAnalyzer");
359  for (it = map.begin(); it != map.end(); ++it) {
360  edm::LogVerbatim("EcalTPCondAnalyzer") << "TOWER_EE " << std::dec << (*it).first;
361  lutGroupId = lutMap.find((*it).first);
362  edm::LogVerbatim("EcalTPCondAnalyzer") << " " << (*lutGroupId).second << "\n" << std::hex << "0x" << (*it).second;
363  }
364 }
edm::ESGetToken< EcalTPGPhysicsConst, EcalTPGPhysicsConstRcd > tokenEcalTPGPhysics_
const std::map< uint32_t, uint32_t > & getMap() const
std::map< uint32_t, EcalTPGWeights >::const_iterator EcalTPGWeightMapItr
Log< level::Info, true > LogVerbatim
const EcalTPGGroupsMap & getMap() const
Definition: EcalTPGGroups.h:25
std::map< uint32_t, EcalTPGFineGrainStripEE::Item > EcalTPGFineGrainStripEEMap
void printEcalTPGLutIdMap(const EcalTPGLutIdMap *ecaltpgLut) const
std::map< uint32_t, uint32_t >::const_iterator EcalTPGFineGrainTowerEEMapIterator
const CaloSubdetectorGeometry * theBarrelGeometry_
common ppss p3p6s2 common epss epspn46 common const1 w2
Definition: inclppp.h:1
const CaloSubdetectorGeometry * theEndcapGeometry_
edm::ESGetToken< EcalTPGWeightGroup, EcalTPGWeightGroupRcd > tokenEcalTPGWeightGroup_
edm::ESGetToken< CaloSubdetectorGeometry, EcalBarrelGeometryRecord > tokenBarrelGeom_
uint16_t *__restrict__ id
edm::ESGetToken< EcalTPGSpike, EcalTPGSpikeRcd > tokenEcalTPGSpike_
edm::ESGetToken< EcalTPGPedestals, EcalTPGPedestalsRcd > tokenEcalTPGPedestals_
edm::ESGetToken< EcalTPGFineGrainTowerEE, EcalTPGFineGrainTowerEERcd > tokenEcalTPGFineGrainTowerEE_
const self & getMap() const
std::map< uint32_t, uint32_t >::const_iterator EcalTPGGroupsMapItr
Definition: EcalTPGGroups.h:20
unsigned long long cacheID_
void beginJob() override
void endJob() override
std::map< uint32_t, uint32_t > EcalTPGSlidingWindowMap
~EcalTPCondAnalyzer() override
unsigned long long getRecords(edm::EventSetup const &setup)
void endRun(edm::Run const &, edm::EventSetup const &) override
edm::ESGetToken< EcalTPGLutGroup, EcalTPGLutGroupRcd > tokenEcalTPGLutGroup_
virtual const std::vector< DetId > & getValidDetIds(DetId::Detector det=DetId::Detector(0), int subdet=0) const
Get a list of valid detector ids (for the given subdetector)
std::map< uint32_t, uint16_t >::const_iterator EcalTPGSpikeMapIterator
Definition: EcalTPGSpike.h:12
bool getData(T &iHolder) const
Definition: EventSetup.h:128
void printSTRIP(const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGWeightGroup *ecaltpgWeightGroup, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE) const
EcalTPCondAnalyzer(const edm::ParameterSet &)
common ppss p3p6s2 common epss epspn46 common const1 w4
Definition: inclppp.h:1
int iEvent
Definition: GenABIO.cc:224
const EcalTPGLutMap & getMap() const
std::map< uint32_t, EcalTPGFineGrainStripEE::Item >::const_iterator EcalTPGFineGrainStripEEMapIterator
void printWEIGHT(const EcalTPGWeightIdMap *ecaltpgWeightMap) const
const std::map< uint32_t, Item > & getMap() const
const EcalTPGFineGrainEBMap & getMap() const
edm::ESGetToken< EcalTPGSlidingWindow, EcalTPGSlidingWindowRcd > tokenEcalTPGSlidingWindow_
const EcalTPGWeightMap & getMap() const
Transition
Definition: Transition.h:12
std::map< uint32_t, EcalTPGWeights > EcalTPGWeightMap
const std::map< uint32_t, uint32_t > & getMap() const
void printEcalTPGFineGrainEBIdMap(const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB) const
void printTOWEREB(const EcalTPGSpike *ecaltpgSpike, const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup, const EcalTPGLutGroup *ecaltpgLutGroup) const
void printComment() const
std::map< uint32_t, uint32_t > EcalTPGFineGrainTowerEEMap
const std::map< uint32_t, Item > & getMap() const
edm::ESGetToken< EcalTPGFineGrainEBIdMap, EcalTPGFineGrainEBIdMapRcd > tokenEcalTPGFineGrainEBIdMap_
void beginRun(const edm::Run &run, const edm::EventSetup &evtSetup) override
edm::ESGetToken< EcalTPGLinearizationConst, EcalTPGLinearizationConstRcd > tokenEcalTPGLinearization_
void printTOWEREE(const EcalTPGFineGrainTowerEE *ecaltpgFineGrainTowerEE, const EcalTPGLutGroup *ecaltpgLutGroup) const
std::map< uint32_t, EcalTPGFineGrainConstEB >::const_iterator EcalTPGFineGrainEBMapItr
void printCRYSTAL(const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin)
edm::ESGetToken< EcalTPGFineGrainStripEE, EcalTPGFineGrainStripEERcd > tokenEcalTPGFineGrainStripEE_
void analyze(const edm::Event &, const edm::EventSetup &) override
std::map< uint32_t, EcalTPGLut > EcalTPGLutMap
common ppss p3p6s2 common epss epspn46 common const1 w3
Definition: inclppp.h:1
std::map< uint32_t, EcalTPGFineGrainConstEB > EcalTPGFineGrainEBMap
T get() const
Definition: EventSetup.h:88
edm::ESGetToken< EcalTPGWeightIdMap, EcalTPGWeightIdMapRcd > tokenEcalTPGWeightIdMap_
void printEcalTPGPhysicsConst(const EcalTPGPhysicsConst *) const
std::map< uint32_t, uint16_t > EcalTPGSpikeMap
Definition: EcalTPGSpike.h:11
edm::ESGetToken< EcalTPGLutIdMap, EcalTPGLutIdMapRcd > tokenEcalTPGLutIdMap_
edm::ESGetToken< CaloSubdetectorGeometry, EcalEndcapGeometryRecord > tokenEndcapGeom_
std::map< uint32_t, EcalTPGPhysicsConst::Item > EcalTPGPhysicsConstMap
std::vector< unsigned short int > LUT
Definition: DTTracoLUTs.h:31
Log< level::Warning, false > LogWarning
std::map< uint32_t, EcalTPGPhysicsConst::Item >::const_iterator EcalTPGPhysicsConstMapIterator
ESGetTokenH3DDVariant esConsumes(std::string const &Reccord, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
Ecal trigger electronics identification [32:20] Unused (so far) [19:13] TCC id [12:6] TT id [5:3] pse...
std::map< uint32_t, uint32_t >::const_iterator EcalTPGSlidingWindowMapIterator
std::map< uint32_t, uint32_t > EcalTPGGroupsMap
Definition: EcalTPGGroups.h:19
std::map< uint32_t, EcalTPGLut >::const_iterator EcalTPGLutMapItr
Definition: Run.h:45
const std::map< uint32_t, uint16_t > & getMap() const
Definition: EcalTPGSpike.h:18
EcalSubdetector subdet() const
get the subdet
edm::ESGetToken< EcalTPGFineGrainEBGroup, EcalTPGFineGrainEBGroupRcd > tokenEcalTPGFineGrainEBGroup_