ATLAS Offline Software
LArHV2Ntuple.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "LArHV2Ntuple.h"
6 #include "Gaudi/Property.h"
7 #include "GaudiKernel/MsgStream.h"
8 #include "GaudiKernel/NTuple.h"
9 #include "LArHV/LArHVManager.h"
10 #include "LArHV/EMBHVManager.h"
11 #include "LArHV/EMBHVModule.h"
12 #include "LArHV/EMBHVElectrode.h"
13 #include "LArHV/EMECHVManager.h"
14 #include "LArHV/EMECHVModule.h"
15 #include "LArHV/EMECHVElectrode.h"
16 #include "LArHV/HECHVManager.h"
17 #include "LArHV/HECHVModule.h"
18 #include "LArHV/HECHVSubgap.h"
19 #include "LArHV/FCALHVManager.h"
29 #include "GaudiKernel/ThreadLocalContext.h"
30 
31  //Constructor
32  LArHV2Ntuple:: LArHV2Ntuple(const std::string& name, ISvcLocator* pSvcLocator):
33  AthAlgorithm(name,pSvcLocator),
34  m_thistSvc(nullptr),
35  m_tree(nullptr),
36  m_addcells(false),
37  m_bec(0),
38  m_isPresampler(0),
39  m_eta(0),
40  m_phi(0),
41  m_electrode(0),
42  m_gap(0),
43  m_hvline(0),
44  m_hv(0),
45  m_current(0),
46  m_barrelec(0), m_posneg(0), m_FT(0),m_slot(0),m_channel(0),
47  m_caloId(nullptr), m_onlId(nullptr)
48  {
49  declareProperty("AddCellID",m_addcells);
50  }
51 
52  //__________________________________________________________________________
53  //Destructor
55  {
56  ATH_MSG_DEBUG ( "LArHV2Ntuple destructor called" );
57  }
58  //__________________________________________________________________________
60  {
61  ATH_CHECK( service("THistSvc",m_thistSvc) );
62 
65  ATH_CHECK( detStore()->retrieve(m_caloId, "CaloCell_ID") );
66 
67  m_tree = new TTree("mytree","Calo Noise ntuple");
68  m_tree->Branch("bec",&m_bec,"bec/I");
69  m_tree->Branch("isPresampler",&m_isPresampler,"isPresampler/I");
70  m_tree->Branch("eta",&m_eta,"eta/F");
71  m_tree->Branch("phi",&m_phi,"phi/F");
72  m_tree->Branch("HVline",&m_hvline,"HVline/I");
73  m_tree->Branch("electrode",&m_electrode,"electrode/I");
74  m_tree->Branch("gap",&m_gap,"gap/I");
75  m_tree->Branch("hv",&m_hv,"hv/F");
76  m_tree->Branch("current",&m_current,"current/F");
77  if(m_addcells) {
78  m_tree->Branch("barrel_ec",&m_barrelec,"barrel_ec/I");
79  m_tree->Branch("side",&m_posneg,"side/I");
80  m_tree->Branch("FT",&m_FT,"FT/I");
81  m_tree->Branch("slot",&m_slot,"slot/I");
82  m_tree->Branch("channel",&m_channel,"channel/I");
83  ATH_CHECK( detStore()->retrieve(m_onlId, "LArOnlineID") );
84  }
85 
87  ATH_CHECK( m_DCSFolderKeys.initialize() );
88 
89  ATH_CHECK( m_thistSvc->regTree("/file1/hv/mytree",m_tree) );
90  return StatusCode::SUCCESS;
91 
92  }
93  //__________________________________________________________________________
95  {
96  const EventContext& ctx = Gaudi::Hive::currentContext();
97 
98  //.............................................
99 
100  // FIXME: Use LArHVData instead?
102  std::vector<const CondAttrListCollection*> attrLists;
104  {
106  attrLists.push_back (*attrList);
107  }
108  const LArHVManager *manager = nullptr;
110 
111  const EMBHVManager& hvManager_EMB=manager->getEMBHVManager();
112  const EMBHVManager::EMBHVData hvdata_EMB = hvManager_EMB.getData (**hvCabling, attrLists);
113 
114  const EMBPresamplerHVManager& hvManager_EMBPS=manager->getEMBPresamplerHVManager();
115  const EMBPresamplerHVManager::EMBPresamplerHVData hvdata_EMBPS = hvManager_EMBPS.getData (**hvCabling, attrLists);
116 
117  const EMECPresamplerHVManager& hvManager_EMECPS=manager->getEMECPresamplerHVManager();
118  const EMECPresamplerHVManager::EMECPresamplerHVData hvdata_EMECPS = hvManager_EMECPS.getData (**hvCabling, attrLists);
119 
120  const EMECHVManager& hvManager_EMEC_OUT=manager->getEMECHVManager(EMECHVModule::OUTER);
121  const EMECHVManager::EMECHVData hvdata_EMEC_OUT = hvManager_EMEC_OUT.getData (**hvCabling, attrLists);
122 
123  const EMECHVManager& hvManager_EMEC_IN=manager->getEMECHVManager(EMECHVModule::INNER);
124  const EMECHVManager::EMECHVData hvdata_EMEC_IN = hvManager_EMEC_IN.getData (**hvCabling, attrLists);
125 
126  const HECHVManager& hvManager_HEC=manager->getHECHVManager();
127  const HECHVManager::HECHVData hvdata_HEC = hvManager_HEC.getData (**hvCabling, attrLists);
128 
129  const FCALHVManager& hvManager_FCAL=manager->getFCALHVManager();
130  const FCALHVManager::FCALHVData hvdata_FCAL = hvManager_FCAL.getData (**hvCabling, attrLists);
131 
132  if(m_hvonlId_map.empty()) {
134  const LArOnOffIdMapping* cabling{*cablingHdl};
135  if(!cabling) {
136  ATH_MSG_ERROR("Do not have mapping object " << m_cablingKey.key());
137  return StatusCode::FAILURE;
138  }
139 
141  ATH_CHECK(caloMgrHandle.isValid());
142  const CaloDetDescrManager* calodetdescrmgr=*caloMgrHandle;
143  std::vector<Identifier>::const_iterator cell_b=m_caloId->cell_begin();
144  std::vector<Identifier>::const_iterator cell_e=m_caloId->cell_end();
145  for(;cell_b!=cell_e; ++cell_b) {
146  if(m_caloId->is_tile(*cell_b)) continue;
147  HWIdentifier onlid = cabling->createSignalChannelID(*cell_b);
148  std::vector<int> hvlines = GetHVLines (hvdata_EMB,
149  hvdata_EMBPS,
150  hvdata_EMEC_OUT,
151  hvdata_EMEC_IN,
152  hvdata_EMECPS,
153  hvdata_HEC,
154  hvdata_FCAL,
155  *cell_b,
156  calodetdescrmgr);
157  for(unsigned i=0; i<hvlines.size(); ++i ) {
158  if(m_hvonlId_map.find(hvlines[i]) == m_hvonlId_map.end()) { // new key
159  std::vector<HWIdentifier> vec;
160  vec.push_back(onlid);
161  m_hvonlId_map[hvlines[i]] = vec;
162  } else { // existing key
163  m_hvonlId_map[hvlines[i]].push_back(onlid);
164  }
165  }
166  }// end map filling
167  }
168 
169  for (unsigned int iSide=EMBHVManager::beginSideIndex();iSide<EMBHVManager::endSideIndex();iSide++) { // loop over HV modules
170  for (unsigned int iPhi=hvManager_EMB.beginPhiIndex();iPhi<hvManager_EMB.endPhiIndex();iPhi++) {
171  for (unsigned int iSector=EMBHVManager::beginSectorIndex();iSector<EMBHVManager::endSectorIndex();iSector++) {
172  for (unsigned int iEta=hvManager_EMB.beginEtaIndex();iEta<hvManager_EMB.endEtaIndex();iEta++) { //0 to 7
173  const EMBHVModule& hvMod = hvManager_EMB.getHVModule(iSide,iEta,iPhi,iSector);
174  float eta=0.5*(hvMod.getEtaMin()+hvMod.getEtaMax());
175  for (unsigned int ielec=0;ielec<32;ielec++) { //use hvMod->getNumElectrodes when bug is corrected
176  const EMBHVElectrode& electrode = hvMod.getElectrode(ielec);
177  for (unsigned int iGap=0;iGap<2;iGap++) { // EMB : 2, TRY TO FIND AUTOMATICALLY NB OF GAPS
178  float hv = hvdata_EMB.voltage (electrode, iGap);
179  float current = hvdata_EMB.current (electrode, iGap);
180  float phi = electrode.getPhi();
181 
182  m_bec=0;
183  m_isPresampler=0;
184  m_eta=eta;
185  m_phi=phi;
186  m_electrode = ielec;
187  m_gap = iGap;
188  m_hv = hv;
190  m_hvline = hvdata_EMB.hvLineNo (electrode, iGap);
191 
192  if(m_addcells) {
193  for(unsigned i=0; i<m_hvonlId_map[m_hvline].size(); ++i) {
199  m_tree->Fill();
200  }
201  } else m_tree->Fill();
202 
203  } //end for iGap
204  }
205  }
206  }
207  }
208  } //EMBHVManager
209 
210  for (unsigned int iSide=EMBPresamplerHVManager::beginSideIndex();iSide<EMBPresamplerHVManager::endSideIndex();iSide++) { // loop over HV modules
211  for (unsigned int iPhi=hvManager_EMBPS.beginPhiIndex();iPhi<hvManager_EMBPS.endPhiIndex();iPhi++) {
212  for (unsigned int iEta=hvManager_EMBPS.beginEtaIndex();iEta<hvManager_EMBPS.endEtaIndex();iEta++) { //0 to 7
213  const EMBPresamplerHVModule& hvMod = hvManager_EMBPS.getHVModule(iSide,iEta,iPhi);
214  for (int iGap=0;iGap<2;iGap++) {
215  float hv = hvdata_EMBPS.voltage (hvMod, iGap);
216  float current = hvdata_EMBPS.current (hvMod, iGap);
217  float eta = 0.5*(hvMod.getEtaMin()+hvMod.getEtaMax());
218  float phi= 0.5*(hvMod.getPhiMin()+hvMod.getPhiMax());
219 
220  m_bec=0;
221  m_isPresampler=1;
222  m_eta=eta;
223  m_phi=phi;
224  m_electrode = 0;
225  m_gap = iGap;
226  m_hv = hv;
228  m_hvline = hvdata_EMBPS.hvLineNo (hvMod, iGap);
229 
230  if(m_addcells) {
231  for(unsigned i=0; i<m_hvonlId_map[m_hvline].size(); ++i) {
237  m_tree->Fill();
238  }
239  } else m_tree->Fill();
240 
241  } //end for iGap
242  }
243  }
244  } //EMBPresampler
245 
246  for (unsigned int iSide=EMECPresamplerHVManager::beginSideIndex();iSide<EMECPresamplerHVManager::endSideIndex();iSide++) { // loop over HV modules
247  for (unsigned int iPhi=hvManager_EMECPS.beginPhiIndex();iPhi<hvManager_EMECPS.endPhiIndex();iPhi++) {
248  const EMECPresamplerHVModule& hvMod = hvManager_EMECPS.getHVModule(iSide,iPhi);
249  for (int iGap=0;iGap<2;iGap++) {
250  float hv = hvdata_EMECPS.voltage (hvMod, iGap);
251  float current = hvdata_EMECPS.current (hvMod, iGap);
252  float eta = 0.5*(hvMod.getEtaMin()+hvMod.getEtaMax());
253  float phi=0.5*(hvMod.getPhiMin()+hvMod.getPhiMax());
254 
255  m_bec=1;
256  m_isPresampler=1;
257  m_eta=eta;
258  m_phi=phi;
259  m_electrode = 0;
260  m_gap = iGap;
261  m_hv = hv;
263  m_hvline = hvdata_EMECPS.hvLineNo (hvMod, iGap);
264 
265  if(m_addcells) {
266  for(unsigned i=0; i<m_hvonlId_map[m_hvline].size(); ++i) {
272  m_tree->Fill();
273  }
274  } else m_tree->Fill();
275 
276  } //end for iGap
277  }
278  }//EMECPresampler
279 
280 
281 
282  for (unsigned int iSide=EMECHVManager::beginSideIndex();iSide<EMECHVManager::endSideIndex();iSide++) { // loop over HV modules
283  for (unsigned int iPhi=hvManager_EMEC_OUT.beginPhiIndex();iPhi<hvManager_EMEC_OUT.endPhiIndex();iPhi++) {
284  for (unsigned int iSector=hvManager_EMEC_OUT.beginSectorIndex();iSector<hvManager_EMEC_OUT.endSectorIndex();iSector++) {
285  for (unsigned int iEta=hvManager_EMEC_OUT.beginEtaIndex();iEta<hvManager_EMEC_OUT.endEtaIndex();iEta++) {
286  const EMECHVModule& hvMod=hvManager_EMEC_OUT.getHVModule(iSide,iEta,iPhi,iSector);
287  float eta=0.5*(hvMod.getEtaMin()+hvMod.getEtaMax());
288  for (unsigned int ielec=0;ielec<hvMod.getNumElectrodes();ielec++) { //use hvMod.getNumElectrodes when bug is corrected
289  const EMECHVElectrode& electrode = hvMod.getElectrode(ielec);
290  for (unsigned int iGap=0;iGap<2;iGap++) { //EMEC : 2 gaps, TRY TO FIND AUTOMATICALLY NB OF GAPS
291  float hv = hvdata_EMEC_OUT.voltage (electrode, iGap);
292  float current = hvdata_EMEC_OUT.current (electrode, iGap);
293  float phi = electrode.getPhi();
294 
295  m_bec=1;
296  m_isPresampler=0;
297  m_eta=eta;
298  m_phi=phi;
299  m_electrode = ielec;
300  m_gap = iGap;
301  m_hv = hv;
303  m_hvline = hvdata_EMEC_OUT.hvLineNo (electrode, iGap);
304 
305  if(m_addcells) {
306  for(unsigned i=0; i<m_hvonlId_map[m_hvline].size(); ++i) {
312  m_tree->Fill();
313  }
314  } else m_tree->Fill();
315 
316  } //end for iGap
317  }
318  }
319  }
320  }
321  }//EMEC Outer
322 
323  for (unsigned int iSide=EMECHVManager::beginSideIndex();iSide<EMECHVManager::endSideIndex();iSide++) { // loop over HV modules
324  for (unsigned int iPhi=hvManager_EMEC_IN.beginPhiIndex();iPhi<hvManager_EMEC_IN.endPhiIndex();iPhi++) {
325  for (unsigned int iSector=hvManager_EMEC_IN.beginSectorIndex();iSector<hvManager_EMEC_IN.endSectorIndex();iSector++) {
326  for (unsigned int iEta=hvManager_EMEC_IN.beginEtaIndex();iEta<hvManager_EMEC_IN.endEtaIndex();iEta++) {
327  const EMECHVModule& hvMod=hvManager_EMEC_IN.getHVModule(iSide,iEta,iPhi,iSector);
328  float eta=0.5*(hvMod.getEtaMin()+hvMod.getEtaMax());
329  for (unsigned int ielec=0;ielec<hvMod.getNumElectrodes();ielec++) { //use hvMod.getNumElectrodes when bug is corrected
330  const EMECHVElectrode& electrode = hvMod.getElectrode(ielec);
331  for (unsigned int iGap=0;iGap<2;iGap++) { //EMEC : 2 gaps, TRY TO FIND AUTOMATICALLY NB OF GAPS
332  float hv = hvdata_EMEC_IN.voltage (electrode, iGap);
333  float current = hvdata_EMEC_IN.current (electrode, iGap);
334  float phi = electrode.getPhi();
335 
336  m_bec=2;
337  m_isPresampler=0;
338  m_eta=eta;
339  m_phi=phi;
340  m_electrode = ielec;
341  m_gap = iGap;
342  m_hv = hv;
344  m_hvline = hvdata_EMEC_IN.hvLineNo (electrode, iGap);
345 
346  if(m_addcells) {
347  for(unsigned i=0; i<m_hvonlId_map[m_hvline].size(); ++i) {
353  m_tree->Fill();
354  }
355  } else m_tree->Fill();
356 
357  } //end for iGap
358  }
359  }
360  }
361  }
362  }// EMEC Inner
363 
364  float etamax_layer[4]={3.3,3.1,3.1,3.3};
365  float etamin_layer[4]={1.5,1.5,1.6,1.7};
366 
367 
368  for (unsigned int iSide=HECHVManager::beginSideIndex();iSide<HECHVManager::endSideIndex();iSide++) { // loop over HV modules
370  for (unsigned int iSampling=HECHVManager::beginSamplingIndex();iSampling<HECHVManager::endSamplingIndex();iSampling++) {
371  float eta_min,eta_max;
372  if (iSide==1) {
373  eta_min = etamin_layer[iSampling];
374  eta_max = etamax_layer[iSampling];
375  } else {
376  eta_min = -1.*etamax_layer[iSampling];
377  eta_max = -1.*etamin_layer[iSampling];
378  }
379  float eta = 0.5*(eta_min+eta_max);
380  const HECHVModule& hvMod = hvManager_HEC.getHVModule(iSide,iPhi,iSampling);
381  float phi = 0.5*(hvMod.getPhiMin()+hvMod.getPhiMax());
382 
383  for (unsigned int iGap=0;iGap<HECHVModule::getNumSubgaps();iGap++) {//HEC : 4 gaps, TRY TO FIND AUTOMATICALLY NB OF GAPS
384  const HECHVSubgap& subgap=hvMod.getSubgap(iGap);
385  float hv = hvdata_HEC.voltage (subgap);
386  float current = hvdata_HEC.current (subgap);
387  m_bec = 10+iSampling;
388  m_isPresampler=0;
389  m_eta=eta;
390  m_phi=phi;
391  m_electrode = 0;
392  m_gap = iGap;
393  m_hv=hv;
395  m_hvline = hvdata_HEC.hvLineNo (subgap);
396  if(m_addcells) {
397  for(unsigned i=0; i<m_hvonlId_map[m_hvline].size(); ++i) {
403  m_tree->Fill();
404  }
405  } else m_tree->Fill();
406  }// end for iGap
407  }
408  }
409  }//HECHVManager
410 
411  for (unsigned int iSide=FCALHVManager::beginSideIndex();iSide<FCALHVManager::endSideIndex();iSide++) { // loop over HV modules
412  float eta_min=3.1,eta_max=4.9;
413  if (iSide==0) { eta_min=-4.9; eta_max=-3.1; }
414 
415  float eta = 0.5*(eta_min+eta_max);
416  for (unsigned int iSampling=FCALHVManager::beginSamplingIndex();iSampling<FCALHVManager::endSamplingIndex();iSampling++) {
417  for (unsigned int iSector=FCALHVManager::beginSectorIndex(iSampling);iSector<FCALHVManager::endSectorIndex(iSampling);iSector++) {
418 
419  const FCALHVModule& hvMod = hvManager_FCAL.getHVModule(iSide,iSector,iSampling);
420 
421  float dphi=CaloPhiRange::twopi()/16;
422  if (iSampling==1) dphi=CaloPhiRange::twopi()/8.;
423  if (iSampling==2) dphi=CaloPhiRange::twopi()/4.;
424  float phi_min = ((float)(iSector))*dphi;
425  phi_min = CaloPhiRange::fix(phi_min);
426  float phi_max = CaloPhiRange::fix(dphi+phi_min);
427  float phi = 0.5*(phi_min+phi_max);
428 
429  for (unsigned int iLine=0;iLine<FCALHVModule::getNumHVLines();iLine++) {
430  const FCALHVLine& hvline = hvMod.getHVLine(iLine);
431  float hv = hvdata_FCAL.voltage (hvline);
432  float current = hvdata_FCAL.current (hvline);
433  m_bec = 14+iSampling;
434  m_isPresampler=0;
435  m_eta=eta;
436  m_phi=phi;
437  m_electrode = iSector;
438  m_gap = iLine;
439  m_hv=hv;
441  m_hvline = hvdata_FCAL.hvLineNo (hvline);
442  if(m_addcells) {
443  for(unsigned i=0; i<m_hvonlId_map[m_hvline].size(); ++i) {
449  m_tree->Fill();
450  }
451  } else m_tree->Fill();
452  }
453  } //iSector
454  }//iSampling
455  }//iSide
456 
457  return StatusCode::SUCCESS;
458  }
459 
460 std::vector<int> LArHV2Ntuple::GetHVLines (const EMBHVManager::EMBHVData& hvdata_EMB,
462  const EMECHVManager::EMECHVData& hvdata_EMEC_OUT,
463  const EMECHVManager::EMECHVData& hvdata_EMEC_IN,
465  const HECHVManager::HECHVData& hvdata_HEC,
466  const FCALHVManager::FCALHVData& hvdata_FCAL,
467  const Identifier& id,
468  const CaloDetDescrManager* calodetdescrmgr) {
469 
470  std::set<int> hv;
471 
472  // LAr EMB
473  if (m_caloId->is_em(id) && m_caloId->sampling(id)>0) {
474  if (abs(m_caloId->em_idHelper()->barrel_ec(id))==1) {
475  const EMBDetectorElement* embElement = dynamic_cast<const EMBDetectorElement*>(calodetdescrmgr->get_element(id));
476  if (!embElement) std::abort();
477  const EMBCellConstLink cell = embElement->getEMBCell();
478  unsigned int nelec = cell->getNumElectrodes();
479  for (unsigned int i=0;i<nelec;i++) {
480  const EMBHVElectrode& electrode = cell->getElectrode(i);
481  for (unsigned int igap=0;igap<2;igap++) hv.insert(hvdata_EMB.hvLineNo(electrode, igap));
482  }
483  } else { // LAr EMEC
484  const EMECDetectorElement* emecElement = dynamic_cast<const EMECDetectorElement*>(calodetdescrmgr->get_element(id));
485  if (!emecElement) std::abort();
486  const EMECCellConstLink cell = emecElement->getEMECCell();
487  unsigned int nelec = cell->getNumElectrodes();
488  for (unsigned int i=0;i<nelec;i++) {
489  const EMECHVElectrode& electrode = cell->getElectrode(i);
490  const EMECHVModule& module = electrode.getModule();
491  const EMECHVManager::EMECHVData& hvdata =
492  module.getWheelIndex() == EMECHVModule::INNER ?
493  hvdata_EMEC_IN :
494  hvdata_EMEC_OUT;
495  for (unsigned int igap=0;igap<2;igap++) hv.insert(hvdata.hvLineNo (electrode, igap));
496  }
497  }
498  } else if (m_caloId->is_hec(id)) { // LAr HEC
499  const HECDetectorElement* hecElement = dynamic_cast<const HECDetectorElement*>(calodetdescrmgr->get_element(id));
500  if (!hecElement) std::abort();
501  const HECCellConstLink cell = hecElement->getHECCell();
502  unsigned int nsubgaps = cell->getNumSubgaps();
503  for (unsigned int igap=0;igap<nsubgaps;igap++) {
504  const HECHVSubgap& subgap = cell->getSubgap(igap);
505  hv.insert(hvdata_HEC.hvLineNo (subgap));
506  }
507  } else if (m_caloId->is_fcal(id)) { // LAr FCAL
508  const FCALDetectorElement* fcalElement = dynamic_cast<const FCALDetectorElement*>(calodetdescrmgr->get_element(id));
509  if (!fcalElement) std::abort();
510  const FCALTile* tile = fcalElement->getFCALTile();
511  unsigned int nlines = FCALTile::getNumHVLines();
512  for (unsigned int i=0;i<nlines;i++) {
513  const FCALHVLine* line = tile->getHVLine(i);
514  if (line) hv.insert(hvdata_FCAL.hvLineNo (*line));
515  }
516  } else if (m_caloId->is_em(id) && m_caloId->sampling(id)==0) { // Presamplers
517  if (abs(m_caloId->em_idHelper()->barrel_ec(id))==1) {
518  const EMBDetectorElement* embElement = dynamic_cast<const EMBDetectorElement*>(calodetdescrmgr->get_element(id));
519  if (!embElement) std::abort();
520  const EMBCellConstLink cell = embElement->getEMBCell();
521  const EMBPresamplerHVModule& hvmodule = cell->getPresamplerHVModule();
522  for (unsigned int igap=0;igap<2;igap++) hv.insert(hvdata_EMBPS.hvLineNo (hvmodule, igap));
523  } else {
524  const EMECDetectorElement* emecElement = dynamic_cast<const EMECDetectorElement*>(calodetdescrmgr->get_element(id));
525  if (!emecElement) std::abort();
526  const EMECCellConstLink cell = emecElement->getEMECCell();
527  const EMECPresamplerHVModule& hvmodule = cell->getPresamplerHVModule ();
528  for (unsigned int igap=0;igap<2;igap++) hv.insert(hvdata_EMECPS.hvLineNo (hvmodule, igap));
529  }
530  }
531 
532  std::vector<int> hvlines;
533  for (std::set<int>::iterator i=hv.begin();i!=hv.end();++i) hvlines.push_back(*i);
534  return hvlines;
535  }
FCALHVManager::getData
FCALHVData getData(const LArHVIdMapping &hvIdMapping, const std::vector< const CondAttrListCollection * > &attrLists) const
Definition: FCALHVManager.cxx:276
FCALHVManager::FCALHVData::hvLineNo
int hvLineNo(const FCALHVLine &line) const
Definition: FCALHVManager.cxx:131
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
EMECPresamplerHVManager
This class provides direct access to information on the HV electrodes within the EMEC....
Definition: EMECPresamplerHVManager.h:36
EMBHVManager::beginEtaIndex
unsigned int beginEtaIndex() const
Definition: EMBHVManager.cxx:184
fillPileUpNoiseLumi.current
current
Definition: fillPileUpNoiseLumi.py:52
LArHV2Ntuple::m_electrode
int m_electrode
Definition: LArHV2Ntuple.h:77
LArHV2Ntuple::m_hvCablingKey
SG::ReadCondHandleKey< LArHVIdMapping > m_hvCablingKey
Definition: LArHV2Ntuple.h:55
EMBHVElectrode
Definition: EMBHVElectrode.h:15
LArHVManager.h
EMBPresamplerHVManager::endSideIndex
static unsigned int endSideIndex()
Definition: EMBPresamplerHVManager.cxx:182
LArHV2Ntuple::m_thistSvc
ITHistSvc * m_thistSvc
Definition: LArHV2Ntuple.h:67
LArHV2Ntuple::m_caloId
const CaloCell_ID * m_caloId
Definition: LArHV2Ntuple.h:90
HECHVModule
Describes one HV Module within the HEC.
Definition: HECHVModule.h:21
EMECPresamplerHVModule::getEtaMin
double getEtaMin() const
Definition: EMECPresamplerHVModule.cxx:46
EMECHVManager::beginSideIndex
static unsigned int beginSideIndex()
Definition: EMECHVManager.cxx:230
EMECHVElectrode.h
checkFileSG.line
line
Definition: checkFileSG.py:75
EMECHVModule::getEtaMin
double getEtaMin() const
Definition: EMECHVModule.cxx:106
EMECHVManager::getHVModule
const EMECHVModule & getHVModule(unsigned int iSide, unsigned int iEta, unsigned int iPhi, unsigned int iSector) const
Definition: EMECHVManager.cxx:222
EMECDetectorElement
LAr EMEC Detector Element.
Definition: CaloDetectorElements.h:116
ReadCellNoiseFromCool.cell
cell
Definition: ReadCellNoiseFromCool.py:53
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:64
HECHVManager::beginSideIndex
static unsigned int beginSideIndex()
Definition: HECHVManager.cxx:164
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
EMECPresamplerHVManager::EMECPresamplerHVData::current
double current(const EMECPresamplerHVModule &module, const int &iGap) const
Definition: EMECPresamplerHVManager.cxx:106
EMECPresamplerHVManager::EMECPresamplerHVData::voltage
double voltage(const EMECPresamplerHVModule &module, const int &iGap) const
Definition: EMECPresamplerHVManager.cxx:99
CaloCell_ID::em_idHelper
const LArEM_ID * em_idHelper() const
access to EM idHelper
Definition: CaloCell_ID.h:63
EMECPresamplerHVManager::endSideIndex
static unsigned int endSideIndex()
Definition: EMECPresamplerHVManager.cxx:162
LArHV2Ntuple::m_slot
int m_slot
Definition: LArHV2Ntuple.h:86
EMBHVManager::endPhiIndex
unsigned int endPhiIndex() const
Definition: EMBHVManager.cxx:179
HECHVManager::beginPhiIndex
static unsigned int beginPhiIndex()
Definition: HECHVManager.cxx:174
LArHV2Ntuple::m_hvline
int m_hvline
Definition: LArHV2Ntuple.h:79
EMBHVModule::getEtaMax
double getEtaMax() const
Definition: EMBHVModule.cxx:89
EMECPresamplerHVManager::beginSideIndex
static unsigned int beginSideIndex()
Definition: EMECPresamplerHVManager.cxx:157
LArHV2Ntuple::m_phi
float m_phi
Definition: LArHV2Ntuple.h:76
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
EMBPresamplerHVModule::getEtaMin
double getEtaMin() const
Definition: EMBPresamplerHVModule.cxx:55
EMBPresamplerHVManager.h
EMECHVModule::getElectrode
const EMECHVElectrode & getElectrode(unsigned int iElectrode) const
Definition: EMECHVModule.cxx:81
EMECPresamplerHVManager::getData
EMECPresamplerHVData getData(const LArHVIdMapping &hvIdMapping, const std::vector< const CondAttrListCollection * > &attrLists) const
Definition: EMECPresamplerHVManager.cxx:241
HECHVManager::getData
HECHVData getData(const LArHVIdMapping &hvIdMapping, const std::vector< const CondAttrListCollection * > &attrLists) const
Definition: HECHVManager.cxx:290
CaloDetDescrManager_Base::get_element
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier
Definition: CaloDetDescrManager.cxx:159
ReadCellNoiseFromCool.cabling
cabling
Definition: ReadCellNoiseFromCool.py:154
EMECHVManager::getData
EMECHVData getData(const LArHVIdMapping &hvIdMapping, const std::vector< const CondAttrListCollection * > &attrLists) const
Definition: EMECHVManager.cxx:388
FCALHVManager::FCALHVData::voltage
double voltage(const FCALHVLine &line) const
Definition: FCALHVManager.cxx:119
EMECHVManager::EMECHVData::voltage
double voltage(const EMECHVElectrode &electrode, const int &iGap) const
Definition: EMECHVManager.cxx:137
EMECHVManager::endSectorIndex
unsigned int endSectorIndex() const
Definition: EMECHVManager.cxx:245
EMECHVElectrode::getPhi
double getPhi() const
Definition: EMECHVElectrode.cxx:42
EMECHVManager::endEtaIndex
unsigned int endEtaIndex() const
Definition: EMECHVManager.cxx:217
EMECHVManager.h
LArOnlineID_Base::slot
int slot(const HWIdentifier id) const
Return the slot number of a hardware cell identifier: slot = [1,15] Slot-ID in top part of the crat...
Definition: LArOnlineID_Base.cxx:1961
LArHV2Ntuple::m_DCSFolderKeys
SG::ReadCondHandleKeyArray< CondAttrListCollection > m_DCSFolderKeys
Definition: LArHV2Ntuple.h:57
CaloCell_Base_ID::cell_end
id_iterator cell_end(void) const
end iterator over full set of Identifiers (LAr + Tiles)
EMECHVManager::endPhiIndex
unsigned int endPhiIndex() const
Definition: EMECHVManager.cxx:207
EMBPresamplerHVManager::endPhiIndex
unsigned int endPhiIndex() const
Definition: EMBPresamplerHVManager.cxx:157
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
HECHVManager::HECHVData::hvLineNo
int hvLineNo(const HECHVSubgap &subgap) const
Definition: HECHVManager.cxx:136
EMECPresamplerHVManager.h
EMBHVManager::beginSectorIndex
static unsigned int beginSectorIndex()
Definition: EMBHVManager.cxx:199
EMBHVManager::EMBHVData::current
double current(const EMBHVElectrode &electrode, const int &iGap) const
Definition: EMBHVManager.cxx:136
FCALHVManager::getHVModule
const FCALHVModule & getHVModule(unsigned int iSide, unsigned int iSector, unsigned int iSampling) const
Definition: FCALHVManager.cxx:190
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
CaloCell_Base_ID::is_tile
bool is_tile(const Identifier id) const
test if the id belongs to the Tiles
FCALDetectorElement::getFCALTile
const FCALTile * getFCALTile() const
FCAL Tile description from LArReadoutGeometry.
Definition: CaloDetectorElements.h:286
LArHV2Ntuple::m_bec
int m_bec
Definition: LArHV2Ntuple.h:73
EMECDetectorElement::getEMECCell
EMECCellConstLink getEMECCell() const
EMEC Cell description from LArReadoutGeometry.
Definition: CaloDetectorElements.h:141
EMBDetectorElement
LAr EMB Detector Element.
Definition: CaloDetectorElements.h:52
HWIdentifier
Definition: HWIdentifier.h:13
LArOnlineID_Base::barrel_ec
int barrel_ec(const HWIdentifier id) const
Return the position barrel or endcap of a hardware cell identifier: barrel_ec = [0,...
Definition: LArOnlineID_Base.cxx:1942
EMECPresamplerHVManager::beginPhiIndex
unsigned int beginPhiIndex() const
Definition: EMECPresamplerHVManager.cxx:142
LArHV2Ntuple::m_FT
int m_FT
Definition: LArHV2Ntuple.h:85
EMBHVManager::EMBHVData::hvLineNo
int hvLineNo(const EMBHVElectrode &electrode, const int &iGap) const
Definition: EMBHVManager.cxx:142
EMECPresamplerHVManager::getHVModule
const EMECPresamplerHVModule & getHVModule(unsigned int iSide, unsigned int iPhi) const
Definition: EMECPresamplerHVManager.cxx:152
CaloCell_Base_ID::is_hec
bool is_hec(const Identifier id) const
test if the id belongs to the HEC
EMBHVManager::beginSideIndex
static unsigned int beginSideIndex()
Definition: EMBHVManager.cxx:209
EMBHVManager::endEtaIndex
unsigned int endEtaIndex() const
Definition: EMBHVManager.cxx:189
EMECHVModule
Definition: EMECHVModule.h:20
EMECPresamplerHVModule.h
EMBHVElectrode.h
EMBPresamplerHVModule::getPhiMin
double getPhiMin() const
Definition: EMBPresamplerHVModule.cxx:75
CaloCell_ID.h
LArHV2Ntuple.h
AthCommonDataStore< AthCommonMsg< Algorithm > >::detStore
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:95
LArHV2Ntuple::LArHV2Ntuple
LArHV2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
Definition: LArHV2Ntuple.cxx:32
HECHVManager.h
HECDetectorElement
LAr HEC Detector Element.
Definition: CaloDetectorElements.h:189
ReadCellNoiseFromCool.tile
tile
Definition: ReadCellNoiseFromCool.py:92
EMBHVManager::getHVModule
const EMBHVModule & getHVModule(unsigned int iSide, unsigned int iEta, unsigned int iPhi, unsigned int iSector) const
Definition: EMBHVManager.cxx:194
EMECHVManager::beginEtaIndex
unsigned int beginEtaIndex() const
Definition: EMECHVManager.cxx:212
EMBPresamplerHVManager
This class provides direct access to information on the HV electrodes within the barrels....
Definition: EMBPresamplerHVManager.h:37
EMBPresamplerHVManager::beginPhiIndex
unsigned int beginPhiIndex() const
Definition: EMBPresamplerHVManager.cxx:152
FCALTile
A tile of the forward calorimeter readout geometry.
Definition: FCALTile.h:27
CxxUtils::vec
typename vecDetail::vec_typedef< T, N >::type vec
Define a nice alias for the vectorized type.
Definition: vec.h:207
dumpHVPathFromNtuple.hvline
hvline
Definition: dumpHVPathFromNtuple.py:72
python.PyAthena.module
module
Definition: PyAthena.py:134
EMECHVManager::EMECHVData::hvLineNo
int hvLineNo(const EMECHVElectrode &electrode, const int &iGap) const
Definition: EMECHVManager.cxx:149
LArHV2Ntuple::m_current
float m_current
Definition: LArHV2Ntuple.h:81
FCALHVLine
Definition: FCALHVLine.h:15
EMECHVModule::INNER
@ INNER
Definition: EMECHVModule.h:22
CaloCell_Base_ID::is_em
bool is_em(const Identifier id) const
test if the id belongs to LArEM
LArHV2Ntuple::m_eta
float m_eta
Definition: LArHV2Ntuple.h:75
HECHVManager::HECHVData
Definition: HECHVManager.h:39
LArOnlineID_Base::channel
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier channel = [0,127] in all FEB.
Definition: LArOnlineID_Base.cxx:1967
HECHVManager::endSideIndex
static unsigned int endSideIndex()
Definition: HECHVManager.cxx:169
EMBPresamplerHVManager::EMBPresamplerHVData
Definition: EMBPresamplerHVManager.h:40
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
EMBPresamplerHVManager::EMBPresamplerHVData::current
double current(const EMBPresamplerHVModule &module, const int &iGap) const
Definition: EMBPresamplerHVManager.cxx:115
LArHV2Ntuple::m_gap
int m_gap
Definition: LArHV2Ntuple.h:78
lumiFormat.i
int i
Definition: lumiFormat.py:92
FCALHVModule::getNumHVLines
static unsigned int getNumHVLines()
Definition: FCALHVModule.cxx:67
EMBHVManager::EMBHVData::voltage
double voltage(const EMBHVElectrode &electrode, const int &iGap) const
Definition: EMBHVManager.cxx:130
EMBPresamplerHVModule::getEtaMax
double getEtaMax() const
Definition: EMBPresamplerHVModule.cxx:65
HECHVModule::getSubgap
const HECHVSubgap & getSubgap(unsigned int iElectrode) const
Definition: HECHVModule.cxx:69
CaloCell_Base_ID::is_fcal
bool is_fcal(const Identifier id) const
test if the id belongs to the FCAL - true also for MiniFCAL
EMECHVManager::EMECHVData
Definition: EMECHVManager.h:41
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
CaloCell_Base_ID::sampling
int sampling(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
EMBHVModule::getEtaMin
double getEtaMin() const
Definition: EMBHVModule.cxx:79
LArHV2Ntuple::initialize
virtual StatusCode initialize() override
standard Athena-Algorithm method
Definition: LArHV2Ntuple.cxx:59
EMECHVManager::EMECHVData::current
double current(const EMECHVElectrode &electrode, const int &iGap) const
Definition: EMECHVManager.cxx:143
EMECHVModule::getEtaMax
double getEtaMax() const
Definition: EMECHVModule.cxx:116
FCALDetectorElement
LAr FCAL Detector Element.
Definition: CaloDetectorElements.h:261
HECHVManager::HECHVData::voltage
double voltage(const HECHVSubgap &subgap) const
Definition: HECHVManager.cxx:124
HECHVManager::endSamplingIndex
static unsigned int endSamplingIndex()
Definition: HECHVManager.cxx:189
LArHV2Ntuple::m_channel
int m_channel
Definition: LArHV2Ntuple.h:87
LArOnlineID_Base::pos_neg
int pos_neg(const HWIdentifier id) const
Return the side of a hardware cell identifier pos_neg = [0,1] positive-side or negative-side Barrel...
Definition: LArOnlineID_Base.cxx:1954
CaloPhiRange.h
CaloPhiRange class declaration.
EMECPresamplerHVManager::EMECPresamplerHVData
Definition: EMECPresamplerHVManager.h:39
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
HECHVManager::HECHVData::current
double current(const HECHVSubgap &subgap) const
Definition: HECHVManager.cxx:130
LArHV2Ntuple::m_barrelec
int m_barrelec
Definition: LArHV2Ntuple.h:83
CaloPhiRange::twopi
static double twopi()
Definition: CaloPhiRange.h:46
EMECPresamplerHVModule::getEtaMax
double getEtaMax() const
Definition: EMECPresamplerHVModule.cxx:52
HECHVSubgap.h
EMBPresamplerHVManager::endEtaIndex
unsigned int endEtaIndex() const
Definition: EMBPresamplerHVManager.cxx:167
FCALHVManager::FCALHVData::current
double current(const FCALHVLine &line) const
Definition: FCALHVManager.cxx:125
CaloPhiRange::fix
static double fix(double phi)
Definition: CaloPhiRange.cxx:14
EMBPresamplerHVManager::getData
EMBPresamplerHVData getData(const LArHVIdMapping &hvIdMapping, const std::vector< const CondAttrListCollection * > &attrLists) const
Definition: EMBPresamplerHVManager.cxx:276
CaloCell_Base_ID::cell_begin
id_iterator cell_begin(void) const
begin iterator over full set of Identifiers (LAr + Tiles)
EMECPresamplerHVModule::getPhiMin
double getPhiMin() const
Definition: EMECPresamplerHVModule.cxx:58
AthAlgorithm
Definition: AthAlgorithm.h:47
FCALTile::getNumHVLines
static unsigned int getNumHVLines()
Get num hvlines.
Definition: FCALTile.cxx:81
HECHVModule::getNumSubgaps
static unsigned int getNumSubgaps()
Definition: HECHVModule.cxx:64
LArHV2Ntuple::m_posneg
int m_posneg
Definition: LArHV2Ntuple.h:84
EMBHVManager::beginPhiIndex
unsigned int beginPhiIndex() const
Definition: EMBHVManager.cxx:174
EMECHVModule::getNumElectrodes
unsigned int getNumElectrodes() const
Definition: EMECHVModule.cxx:70
EMBPresamplerHVModule.h
EMBHVManager::EMBHVData
Definition: EMBHVManager.h:39
EMBPresamplerHVManager::EMBPresamplerHVData::voltage
double voltage(const EMBPresamplerHVModule &module, const int &iGap) const
Definition: EMBPresamplerHVManager.cxx:108
LArHV2Ntuple::execute
virtual StatusCode execute() override
standard Athena-Algorithm method
Definition: LArHV2Ntuple.cxx:94
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArEM_Base_ID::barrel_ec
int barrel_ec(const Identifier id) const
return barrel_ec according to :
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
EMBHVManager
This class provides direct access to information on the HV electrodes within the barrels....
Definition: EMBHVManager.h:36
EMECHVManager::endSideIndex
static unsigned int endSideIndex()
Definition: EMECHVManager.cxx:235
HECHVModule::getPhiMax
double getPhiMax() const
Definition: HECHVModule.cxx:84
EMECPresamplerHVManager::EMECPresamplerHVData::hvLineNo
int hvLineNo(const EMECPresamplerHVModule &module, const int &iGap) const
Definition: EMECPresamplerHVManager.cxx:113
EMECHVElectrode::getModule
const EMECHVModule & getModule() const
Definition: EMECHVElectrode.cxx:37
EMBDetectorElement::getEMBCell
EMBCellConstLink getEMBCell() const
EMB Cell description from LArReadoutGeometry.
Definition: CaloDetectorElements.h:77
EMBPresamplerHVManager::EMBPresamplerHVData::hvLineNo
int hvLineNo(const EMBPresamplerHVModule &module, const int &iGap) const
Definition: EMBPresamplerHVManager.cxx:122
EMBPresamplerHVManager::beginEtaIndex
unsigned int beginEtaIndex() const
Definition: EMBPresamplerHVManager.cxx:162
FCALHVModule::getHVLine
const FCALHVLine & getHVLine(unsigned int iLine) const
Definition: FCALHVModule.cxx:72
EMBPresamplerHVManager::beginSideIndex
static unsigned int beginSideIndex()
Definition: EMBPresamplerHVManager.cxx:177
Trk::iPhi
@ iPhi
Definition: ParamDefs.h:53
EMECHVModule::OUTER
@ OUTER
Definition: EMECHVModule.h:22
SG::ReadCondHandleKey< CondAttrListCollection >
FCALHVManager::endSamplingIndex
static unsigned int endSamplingIndex()
Definition: FCALHVManager.cxx:185
HECHVManager
This class provides direct access to information on the HV electrodes within the barrels....
Definition: HECHVManager.h:36
FCALHVManager::beginSectorIndex
static unsigned int beginSectorIndex(unsigned int iSampling)
Definition: FCALHVManager.cxx:167
LArOnlineID_Base::feedthrough
int feedthrough(const HWIdentifier id) const
Return the feedthrough of a hardware cell identifier : feedthrough = [0,31] Barrel - A/C side or H/...
Definition: LArOnlineID_Base.cxx:1948
LArHV2Ntuple::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: LArHV2Ntuple.h:53
EMECPresamplerHVModule::getPhiMax
double getPhiMax() const
Definition: EMECPresamplerHVModule.cxx:63
LArHVManager
This class provides access to the High Voltage throughout the LAr. High voltage conditions can also b...
Definition: LArHVManager.h:24
LArHV2Ntuple::m_hv
float m_hv
Definition: LArHV2Ntuple.h:80
CaloDetDescrManager
This class provides the client interface for accessing the detector description information common to...
Definition: CaloDetDescrManager.h:473
EMBHVElectrode::getPhi
double getPhi() const
Definition: EMBHVElectrode.cxx:37
FCALHVManager.h
LArHV2Ntuple::m_onlId
const LArOnlineID * m_onlId
Definition: LArHV2Ntuple.h:91
HECHVManager::endPhiIndex
static unsigned int endPhiIndex()
Definition: HECHVManager.cxx:179
EMECHVManager::beginPhiIndex
unsigned int beginPhiIndex() const
Definition: EMECHVManager.cxx:202
HECHVModule::getPhiMin
double getPhiMin() const
Definition: HECHVModule.cxx:79
FCALHVManager::endSectorIndex
static unsigned int endSectorIndex(unsigned int iSampling)
Definition: FCALHVManager.cxx:172
EMECPresamplerHVModule
Describes one HV Module within the EMEc Presampler.
Definition: EMECPresamplerHVModule.h:22
LArHV2Ntuple::~LArHV2Ntuple
virtual ~LArHV2Ntuple()
Default Destructor.
Definition: LArHV2Ntuple.cxx:54
EMBHVModule::getElectrode
const EMBHVElectrode & getElectrode(unsigned int iElectrode) const
Definition: EMBHVModule.cxx:69
FCALHVModule
Describes one HV Module within the FCAL.
Definition: FCALHVModule.h:20
LArHV2Ntuple::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition: LArHV2Ntuple.h:58
EMECHVManager::beginSectorIndex
unsigned int beginSectorIndex() const
Definition: EMECHVManager.cxx:240
HECHVModule.h
FCALHVManager::beginSideIndex
static unsigned int beginSideIndex()
Definition: FCALHVManager.cxx:157
python.Logging.manager
manager
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/Logging.py:92
LArHV2Ntuple::GetHVLines
std::vector< int > GetHVLines(const EMBHVManager::EMBHVData &hvdata_EMB, const EMBPresamplerHVManager::EMBPresamplerHVData &hvdata_EMBPS, const EMECHVManager::EMECHVData &hvdata_EMEC_OUT, const EMECHVManager::EMECHVData &hvdata_EMEC_IN, const EMECPresamplerHVManager::EMECPresamplerHVData &hvdata_EMECPS, const HECHVManager::HECHVData &hvdata_HEC, const FCALHVManager::FCALHVData &hvdata_FCAL, const Identifier &id, const CaloDetDescrManager *calodetdescrmgr)
Definition: LArHV2Ntuple.cxx:460
HECHVManager::beginSamplingIndex
static unsigned int beginSamplingIndex()
Definition: HECHVManager.cxx:184
EMBHVManager::getData
EMBHVData getData(const LArHVIdMapping &hvIdMapping, const std::vector< const CondAttrListCollection * > &attrLists) const
Definition: EMBHVManager.cxx:343
EMBHVManager::endSectorIndex
static unsigned int endSectorIndex()
Definition: EMBHVManager.cxx:204
EMECPresamplerHVManager::endPhiIndex
unsigned int endPhiIndex() const
Definition: EMECPresamplerHVManager.cxx:147
EMECHVElectrode
Definition: EMECHVElectrode.h:15
HECDetectorElement::getHECCell
HECCellConstLink getHECCell() const
HEC Cell description from LArReadoutGeometry.
Definition: CaloDetectorElements.h:214
EMECHVManager
This class provides direct access to information on the HV electrodes within the EMEC....
Definition: EMECHVManager.h:36
EMECHVModule.h
EMBHVModule
Describes one HV Module within the EMB.
Definition: EMBHVModule.h:20
EMBHVManager::endSideIndex
static unsigned int endSideIndex()
Definition: EMBHVManager.cxx:214
EMBPresamplerHVModule::getPhiMax
double getPhiMax() const
Definition: EMBPresamplerHVModule.cxx:80
EMBPresamplerHVManager::getHVModule
const EMBPresamplerHVModule & getHVModule(unsigned int iSide, unsigned int iEta, unsigned int iPhi) const
Definition: EMBPresamplerHVManager.cxx:172
LArHV2Ntuple::m_addcells
bool m_addcells
Definition: LArHV2Ntuple.h:70
xAOD::iEta
setScale setgFexType iEta
Definition: gFexJetRoI_v1.cxx:74
FCALHVManager
This class provides direct access to information on the HV electrodes within the barrels....
Definition: FCALHVManager.h:35
HECHVSubgap
Definition: HECHVSubgap.h:15
FCALHVManager::FCALHVData
Definition: FCALHVManager.h:38
readCCLHist.float
float
Definition: readCCLHist.py:83
EMBHVModule.h
EMBHVManager.h
LArHV2Ntuple::m_hvonlId_map
std::map< int, std::vector< HWIdentifier > > m_hvonlId_map
Definition: LArHV2Ntuple.h:92
HECHVManager::getHVModule
const HECHVModule & getHVModule(unsigned int iSide, unsigned int iPhi, unsigned int iSampling) const
Definition: HECHVManager.cxx:194
EMBPresamplerHVModule
Describes one HV Module within the EMB Presampler.
Definition: EMBPresamplerHVModule.h:22
FCALHVManager::beginSamplingIndex
static unsigned int beginSamplingIndex()
Definition: FCALHVManager.cxx:180
CaloDetectorElements.h
Calo Subsystem specific Detector Elements + Dummy element for testing.
fitman.k
k
Definition: fitman.py:528
LArOnlineID.h
FCALHVManager::endSideIndex
static unsigned int endSideIndex()
Definition: FCALHVManager.cxx:162
LArHV2Ntuple::m_isPresampler
int m_isPresampler
Definition: LArHV2Ntuple.h:74
LArOnOffIdMapping
Definition: LArOnOffIdMapping.h:20
LArHV2Ntuple::m_tree
TTree * m_tree
Definition: LArHV2Ntuple.h:68