ATLAS Offline Software
CaloHitAnalysis.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // Base class
6 #include "CaloHitAnalysis.h"
7 
8 // Section of includes for LAr calo tests
9 #include "CaloDetDescr/CaloDetDescrElement.h"
11 
12 // Section of includes for tile calo tests
14 #include "CaloIdentifier/TileID.h"
15 #include "TileSimEvent/TileHit.h"
16 
17 //Section of includes for Calibrated Calo hits
19 
20 #include "TString.h"
21 #include "TH1.h"
22 #include "TH2.h"
23 #include "TTree.h"
24 
25 #include <algorithm>
26 #include <math.h>
27 #include <functional>
28 #include <iostream>
29 
30 
31 
33  ATH_MSG_DEBUG( "Initializing CaloHitAnalysis" );
34  if (m_useTile) {
35 
38  }
39  ATH_CHECK(m_tileKey.initialize(m_useTile));
41  ATH_CHECK(m_caloKeys.initialize(m_useLAr));
42  ATH_CHECK(m_caloCalibKeys.initialize(m_calib && m_useLAr));
43 
44 
45  m_h_cell_e = new TH1D("h_Calo_cell_e", "cell_e", 100,0.,500.);
46  m_h_cell_e->StatOverflows();
47  ATH_CHECK(histSvc()->regHist( m_path+m_h_cell_e->GetName(), m_h_cell_e));
48 
49  m_h_cell_eta = new TH1D("h_Calo_cell_eta", "cell_eta", 50,-5.,5.);
50  m_h_cell_eta->StatOverflows();
51  ATH_CHECK(histSvc()->regHist( m_path+m_h_cell_eta->GetName(), m_h_cell_eta));
52 
53  m_h_cell_phi = new TH1D("h_Calo_cell_phi", "cell_phi", 50,-3.1416,3.1416);
54  m_h_cell_phi->StatOverflows();
55  ATH_CHECK(histSvc()->regHist( m_path+m_h_cell_phi->GetName(), m_h_cell_phi));
56 
57  m_h_cell_radius = new TH1D("h_Calo_cell_radius", "cell_radius", 100, 0., 6000.);
58  m_h_cell_radius->StatOverflows();
59  ATH_CHECK(histSvc()->regHist( m_path+m_h_cell_radius->GetName(), m_h_cell_radius));
60 
61  m_h_xy = new TH2F("h_Calo_xy", "xy", 100,-4000,4000,100, -4000, 4000);
62  m_h_xy->StatOverflows();
63  ATH_CHECK(histSvc()->regHist( m_path+m_h_xy->GetName(), m_h_xy));
64 
65  m_h_zr = new TH2D("h_Calo_zr", "zr", 100,-7000.,7000.,100, 0., 6000.);
66  m_h_zr->StatOverflows();
67  ATH_CHECK(histSvc()->regHist( m_path+m_h_zr->GetName(), m_h_zr));
68 
69  m_h_etaphi = new TH2D("h_Calo_etaphi", "eta_phi", 50,-5.,5.,50, -3.1416, 3.1416);
70  m_h_etaphi->StatOverflows();
71  ATH_CHECK(histSvc()->regHist( m_path+m_h_etaphi->GetName(), m_h_etaphi));
72 
73  //These histograms will be filled only if expert mode is set on
74  m_h_time_e = new TH2D("h_Calo_time_e", "energy vs time", 100, 0,50, 100,0,500);
75  m_h_time_e->StatOverflows();
76 
77  m_h_eta_e = new TH2D("h_Calo_eta_e", "energy vs eta", 50, -5,5, 100,0,500);
78  m_h_eta_e->StatOverflows();
79 
80  m_h_phi_e = new TH2D("h_Calo_phi_e", "energy vs phi", 50, -3.1416,3.1416, 100,0,500);
81  m_h_phi_e->StatOverflows();
82 
83  m_h_r_e = new TH2D("h_Calo_r_e", "energy vs radius", 100, 0,6000, 100,0,500);
84  m_h_r_e->StatOverflows();
85 
86  if (m_expert) {
87  ATH_CHECK(histSvc()->regHist(m_path + m_h_time_e->GetName(), m_h_time_e));
88  ATH_CHECK(histSvc()->regHist(m_path + m_h_eta_e->GetName(), m_h_eta_e));
89  ATH_CHECK(histSvc()->regHist(m_path + m_h_phi_e->GetName(), m_h_phi_e));
90  ATH_CHECK(histSvc()->regHist(m_path + m_h_r_e->GetName(), m_h_r_e));
91  }
92 
93  //Histograms for calibrated hits
94  m_h_calib_eta = new TH1D("h_calib_eta", "calib. hits eta", 50,-5,5);
95  m_h_calib_eta->StatOverflows();
96 
97  m_h_calib_phi = new TH1D("h_calib_phi", "calib. hits phi", 50,-3.1416,3.1416);
98  m_h_calib_phi->StatOverflows();
99 
100  m_h_calib_rz = new TH2D("h_calib_rz", "calib. hits r vs z", 100,-7000,7000,1000, 0,6000);
101  m_h_calib_rz->StatOverflows();
102 
103  m_h_calib_etaphi = new TH2D("h_calib_etaphi", "calib. hits eta vs phi",50,-5.,5., 50,-3.1416,3.1416);
104  m_h_calib_etaphi->StatOverflows();
105 
106  m_h_calib_eEM = new TH1D("h_calib_eEM", "calib. hits EM energy", 100,0,100);
107  m_h_calib_eEM->StatOverflows();
108 
109  m_h_calib_eNonEM = new TH1D("h_calib_nonEM", "calib. hits non EM energy", 100,0,100);
110  m_h_calib_eNonEM->StatOverflows();
111 
112  m_h_calib_eInv = new TH1D("h_calib_eInv", "calib. hits invisible energy", 100,0,100);
113  m_h_calib_eInv->StatOverflows();
114 
115  m_h_calib_eEsc = new TH1D("h_calib_eEsc", "calib. hits escaped energy", 100,0,100);
116  m_h_calib_eEsc->StatOverflows();
117 
118  m_h_calib_eTot = new TH1D("h_calib_eTot", "calib. hits energy", 100,0,100);
119  m_h_calib_eTot->StatOverflows();
120 
121  m_h_calib_eTotpartID = new TH1D("h_calib_eTotpartID", "calib. hits partID weighted with energy",600,0,300000);
122  m_h_calib_eTotpartID->StatOverflows();
123 
124  if (m_calib) {
125  ATH_CHECK(histSvc()->regHist(m_path + m_h_calib_eta->GetName(), m_h_calib_eta));
126  ATH_CHECK(histSvc()->regHist(m_path + m_h_calib_phi->GetName(), m_h_calib_phi));
127  ATH_CHECK(histSvc()->regHist(m_path + m_h_calib_rz->GetName(), m_h_calib_rz));
128  ATH_CHECK(histSvc()->regHist(m_path + m_h_calib_etaphi->GetName(), m_h_calib_etaphi));
129  ATH_CHECK(histSvc()->regHist(m_path + m_h_calib_eEM->GetName(), m_h_calib_eEM));
130  ATH_CHECK(histSvc()->regHist(m_path + m_h_calib_eNonEM->GetName(), m_h_calib_eNonEM));
131  ATH_CHECK(histSvc()->regHist(m_path + m_h_calib_eInv->GetName(), m_h_calib_eInv));
132  ATH_CHECK(histSvc()->regHist(m_path + m_h_calib_eEsc->GetName(), m_h_calib_eEsc));
133  ATH_CHECK(histSvc()->regHist(m_path + m_h_calib_eTot->GetName(), m_h_calib_eTot));
135  }
136 
138  m_tree = new TTree("Calo", "Calo");
139  std::string fullNtupleName = "/" + m_ntupleFileName + "/";
140  ATH_CHECK( histSvc()->regTree(fullNtupleName, m_tree) );
141 
142  m_tree->Branch("CellEta", &m_cell_eta);
143  m_tree->Branch("CellPhi", &m_cell_phi);
144  m_tree->Branch("CellX", &m_cell_x);
145  m_tree->Branch("CellY", &m_cell_y);
146  m_tree->Branch("CellZ", &m_cell_z);
147  m_tree->Branch("CellE", &m_cell_e);
148  m_tree->Branch("CellRadius", &m_cell_radius);
149  m_tree->Branch("Time", &m_time);
150  m_tree->Branch("CalibEta", &m_calib_eta);
151  m_tree->Branch("CalibPhi", &m_calib_phi);
152  m_tree->Branch("CalibRadius", &m_calib_radius);
153  m_tree->Branch("CalibZ", &m_calib_z);
154  m_tree->Branch("Calib_eEM", &m_calib_eEM);
155  m_tree->Branch("Calib_eNonEM", &m_calib_eNonEM);
156  m_tree->Branch("Calib_eInv", &m_calib_eInv);
157  m_tree->Branch("Calib_eEsc", &m_calib_eEsc);
158  m_tree->Branch("Calib_eTot", &m_calib_eTot);
159  m_tree->Branch("Calib_partID", &m_calib_partID);
160 
161  return StatusCode::SUCCESS;
162 }
163 
164 
166  ATH_MSG_DEBUG( "In CaloHitAnalysis::execute()" );
167 
168  m_cell_eta->clear();
169  m_cell_phi->clear();
170  m_cell_e->clear();
171  m_cell_x->clear();
172  m_cell_y->clear();
173  m_cell_z->clear();
174  m_cell_radius->clear();
175  m_time->clear();
176  m_calib_eta->clear();
177  m_calib_phi->clear();
178  m_calib_radius->clear();
179  m_calib_z->clear();
180  m_calib_eEM->clear();
181  m_calib_eNonEM->clear();
182  m_calib_eInv->clear();
183  m_calib_eEsc->clear();
184  m_calib_eTot->clear();
185  m_calib_partID->clear();
186 
187  const EventContext& ctx{Gaudi::Hive::currentContext()};
188  const TileHitVector* hitVec{nullptr};
189  ATH_CHECK(SG::get(hitVec, m_tileKey, ctx));
190 
191  if (hitVec) {
192  for (const auto& i_hit : *hitVec) {
193  Identifier pmt_id = (i_hit).identify();
194  Identifier cell_id = m_tileID->cell_id(pmt_id);
195  const CaloDetDescrElement* ddElement = (m_tileID->is_tile_aux(cell_id)) ? 0 : m_tileMgr->get_cell_element(cell_id);
196  if (ddElement) {
197  double tot_e = 0.;
198  double tot_time = 0.;
199  for (int t=0; t<(i_hit).size(); ++t) tot_e += (i_hit).energy(t);
200  for (int t=0; t<(i_hit).size(); ++t) tot_time += (i_hit).time(t);
201  m_h_cell_e->Fill(tot_e);
202  m_h_cell_eta->Fill(ddElement->eta());
203  m_h_cell_phi->Fill(ddElement->phi()) ;
204  m_h_cell_radius->Fill(ddElement->z());
205  m_h_xy->Fill(ddElement->x(), ddElement->y());
206  m_h_zr->Fill(ddElement->r(), ddElement->r());
207  m_h_etaphi->Fill(ddElement->eta(), ddElement->phi());
208 
209  if (m_expert) {
210  m_h_time_e->Fill(tot_time, tot_e);
211  m_h_eta_e->Fill(ddElement->eta(), tot_e);
212  m_h_phi_e->Fill(ddElement->phi(), tot_e);
213  m_h_r_e->Fill(ddElement->r(), tot_e);
214  }
215  m_cell_eta->push_back(ddElement->eta());
216  m_cell_phi->push_back(ddElement->phi());
217  m_cell_e->push_back(tot_e);
218  m_cell_x->push_back(ddElement->x());
219  m_cell_y->push_back(ddElement->y());
220  m_cell_z->push_back(ddElement->z());
221  m_cell_radius->push_back(ddElement->r());
222  m_time->push_back(tot_time);
223  }
224  }
225  } // DoTile
226 
227  if (m_useLAr) {
228 
229  const CaloDetDescrManager* caloMgr{nullptr};
230  ATH_CHECK(SG::get(caloMgr, m_caloMgrKey, ctx));
231 
232  for (const auto& key : m_caloKeys) {
233  const LArHitContainer* iter{nullptr};
234  ATH_CHECK(SG::get(iter, key, ctx));
235  for (auto hi : *iter ) {
236  const CaloDetDescrElement *hitElement = caloMgr->get_element(hi->cellID());
237  double energy = hi->energy();
238  double time = hi->time();
239  double eta = hitElement->eta();
240  double phi = hitElement->phi();
241  double radius = hitElement->r();
242  float x = hitElement->x();
243  float y = hitElement->y();
244  double z = hitElement->z();
245 
246  m_h_cell_e->Fill( energy );
247  m_h_cell_eta->Fill( eta );
248  m_h_cell_phi->Fill( phi );
249  m_h_cell_radius->Fill( radius );
250  m_h_xy->Fill(x,y);
251  m_h_zr->Fill(z,radius);
252  m_h_etaphi->Fill(eta, phi);
253  if (m_expert) {
254  m_h_time_e->Fill(time, energy);
255  m_h_eta_e->Fill(eta, energy);
256  m_h_phi_e->Fill(phi, energy);
257  m_h_r_e->Fill(radius, energy);
258  }
259  m_cell_eta->push_back(eta);
260  m_cell_phi->push_back(phi);
261  m_cell_e->push_back(energy);
262  m_cell_x->push_back(x);
263  m_cell_y->push_back(y);
264  m_cell_z->push_back(z);
265  m_cell_radius->push_back(radius);
266  m_time->push_back(time);
267  } // End while hits
268  } // End detector type loop
269 
270  //For calibrated hits
271  for (const auto& calibKey : m_caloCalibKeys){
272  const CaloCalibrationHitContainer* iterator{nullptr};
273  ATH_CHECK(SG::get(iterator,calibKey, ctx));
274  //Not tested
275  for (auto hit_i : *iterator) {
276  GeoCaloCalibHit geoHit(*hit_i, calibKey.key(), caloMgr);
277  if (!geoHit) continue;
278  const CaloDetDescrElement* Element = geoHit.getDetDescrElement();
279  double eta = Element->eta();
280  double phi = Element->phi();
281  double radius = Element->r();
282  double z = Element->z();
283  double emEnergy = geoHit.energyEM();
284  double nonEmEnergy = geoHit.energyNonEM();
285  double invEnergy = geoHit.energyInvisible();
286  double escEnergy = geoHit.energyEscaped();
287  double totEnergy = geoHit.energyTotal();
288  double particleID = HepMC::barcode(*hit_i);
289 
290  m_h_calib_eta->Fill(eta);
291  m_h_calib_phi->Fill(phi);
292  m_h_calib_rz->Fill(z,radius);
293  m_h_calib_etaphi->Fill(eta,phi);
294  m_h_calib_eEM->Fill(emEnergy);
295  m_h_calib_eNonEM->Fill(nonEmEnergy);
296  m_h_calib_eInv->Fill(invEnergy);
297  m_h_calib_eEsc->Fill(escEnergy);
298  m_h_calib_eTot->Fill(totEnergy);
299  m_h_calib_eTotpartID->Fill(particleID, totEnergy);
300 
301  m_calib_eta->push_back(eta);
302  m_calib_phi->push_back(phi);
303  m_calib_radius->push_back(radius);
304  m_calib_z->push_back(z);
305  m_calib_eEM->push_back(emEnergy);
306  m_calib_eNonEM->push_back(nonEmEnergy);
307  m_calib_eInv->push_back(invEnergy);
308  m_calib_eEsc->push_back(escEnergy);
309  m_calib_eTot->push_back(totEnergy);
310  m_calib_partID->push_back(particleID);
311  }
312  }
313  } // DoLAr
314 
315 
316  if (m_tree) m_tree->Fill();
317 
318  return StatusCode::SUCCESS;
319 }
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
CaloHitAnalysis::m_tileKey
SG::ReadHandleKey< TileHitVector > m_tileKey
Definition: CaloHitAnalysis.h:97
AthHistogramAlgorithm::histSvc
const ServiceHandle< ITHistSvc > & histSvc() const
The standard THistSvc (for writing histograms and TTrees and more to a root file) Returns (kind of) a...
Definition: AthHistogramAlgorithm.h:113
Tile_Base_ID::is_tile_aux
bool is_tile_aux(const Identifier &id) const
Definition: Tile_Base_ID.cxx:232
CaloCalibrationHitContainer
Definition: CaloCalibrationHitContainer.h:25
CaloHitAnalysis::m_h_calib_eTotpartID
TH1 * m_h_calib_eTotpartID
Definition: CaloHitAnalysis.h:61
xAOD::identify
const Identifier & identify(const UncalibratedMeasurement *meas)
Returns the associated identifier from the muon measurement.
Definition: MuonSpectrometer/MuonPhaseII/Event/xAOD/xAODMuonPrepData/Root/UtilFunctions.cxx:82
createLinkingScheme.iter
iter
Definition: createLinkingScheme.py:62
CaloHitAnalysis::m_h_time_e
TH2 * m_h_time_e
Definition: CaloHitAnalysis.h:48
CaloHitAnalysis::m_calib_z
std::vector< float > * m_calib_z
Definition: CaloHitAnalysis.h:77
GeoCaloCalibHit
Adaptor for CaloCalibHits.
Definition: GeoCaloCalibHit.h:26
GeoCaloCalibHit::energyEscaped
double energyEscaped() const
CaloHitAnalysis::m_calib_partID
std::vector< float > * m_calib_partID
Definition: CaloHitAnalysis.h:83
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
CaloDetDescrElement::y
float y() const
cell y
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:365
GeoCaloCalibHit::energyEM
double energyEM() const
CaloHitAnalysis::m_h_cell_e
TH1 * m_h_cell_e
Definition: CaloHitAnalysis.h:43
CaloHitAnalysis::initialize
virtual StatusCode initialize() override
Definition: CaloHitAnalysis.cxx:32
CaloHitAnalysis::m_h_cell_radius
TH1 * m_h_cell_radius
Definition: CaloHitAnalysis.h:44
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
CaloHitAnalysis::m_h_calib_eta
TH1 * m_h_calib_eta
Definition: CaloHitAnalysis.h:52
CaloDetDescrElement
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:66
CaloHitAnalysis::m_calib_phi
std::vector< float > * m_calib_phi
Definition: CaloHitAnalysis.h:75
CaloHitAnalysis::m_cell_y
std::vector< float > * m_cell_y
Definition: CaloHitAnalysis.h:69
AtlasHitsVector
Definition: AtlasHitsVector.h:32
CaloHitAnalysis::m_h_calib_eEsc
TH1 * m_h_calib_eEsc
Definition: CaloHitAnalysis.h:59
CaloHitAnalysis::m_cell_radius
std::vector< float > * m_cell_radius
Definition: CaloHitAnalysis.h:72
CaloHitAnalysis::m_time
std::vector< float > * m_time
Definition: CaloHitAnalysis.h:73
CaloHitAnalysis::m_h_calib_eInv
TH1 * m_h_calib_eInv
Definition: CaloHitAnalysis.h:58
CaloHitAnalysis::m_calib_radius
std::vector< float > * m_calib_radius
Definition: CaloHitAnalysis.h:76
LArHitContainer
Hit collection.
Definition: LArHitContainer.h:26
CaloHitAnalysis::m_h_calib_etaphi
TH2 * m_h_calib_etaphi
Definition: CaloHitAnalysis.h:55
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
GeoCaloCalibHit::energyNonEM
double energyNonEM() const
CaloHitAnalysis::m_calib_eTot
std::vector< float > * m_calib_eTot
Definition: CaloHitAnalysis.h:82
GeoCaloCalibHit.h
python.TrigEgammaMonitorHelper.TH2F
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:45
x
#define x
CaloHitAnalysis::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition: CaloHitAnalysis.h:93
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
TileID.h
TileDetDescrManager.h
CaloHitAnalysis::m_calib_eEsc
std::vector< float > * m_calib_eEsc
Definition: CaloHitAnalysis.h:81
GeoCaloCalibHit::getDetDescrElement
const CaloDetDescrElement * getDetDescrElement() const
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
CaloHitAnalysis::m_tileMgr
const TileDetDescrManager * m_tileMgr
Definition: CaloHitAnalysis.h:64
CaloHitAnalysis::m_h_calib_eNonEM
TH1 * m_h_calib_eNonEM
Definition: CaloHitAnalysis.h:57
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
CaloHitAnalysis::m_h_calib_rz
TH2 * m_h_calib_rz
Definition: CaloHitAnalysis.h:54
CaloHitAnalysis::m_calib_eInv
std::vector< float > * m_calib_eInv
Definition: CaloHitAnalysis.h:80
CaloHitAnalysis::m_useLAr
BooleanProperty m_useLAr
Definition: CaloHitAnalysis.h:87
CaloHitAnalysis::m_path
StringProperty m_path
Definition: CaloHitAnalysis.h:92
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
GeoCaloCalibHit::energyInvisible
double energyInvisible() const
z
#define z
SG::get
const T * get(const ReadCondHandleKey< T > &key, const EventContext &ctx)
Convenience function to retrieve an object given a ReadCondHandleKey.
Definition: ReadCondHandle.h:287
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
CaloHitAnalysis::m_h_etaphi
TH2 * m_h_etaphi
Definition: CaloHitAnalysis.h:47
HepMC::barcode
int barcode(const T *p)
Definition: Barcode.h:16
CaloHitAnalysis::m_calib_eNonEM
std::vector< float > * m_calib_eNonEM
Definition: CaloHitAnalysis.h:79
CaloHitAnalysis::m_h_cell_eta
TH1 * m_h_cell_eta
Simple variables by Ketevi.
Definition: CaloHitAnalysis.h:41
CaloHitAnalysis::m_h_eta_e
TH2 * m_h_eta_e
Definition: CaloHitAnalysis.h:49
CaloHitAnalysis::m_useTile
BooleanProperty m_useTile
Definition: CaloHitAnalysis.h:88
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
CaloHitAnalysis::m_h_cell_phi
TH1 * m_h_cell_phi
Definition: CaloHitAnalysis.h:42
CaloHitAnalysis::m_caloKeys
SG::ReadHandleKeyArray< LArHitContainer > m_caloKeys
Definition: CaloHitAnalysis.h:98
CaloHitAnalysis::m_ntupleFileName
StringProperty m_ntupleFileName
Definition: CaloHitAnalysis.h:91
CaloHitAnalysis::m_cell_z
std::vector< float > * m_cell_z
Definition: CaloHitAnalysis.h:70
TileDetDescrManager::get_cell_element
CaloDetDescrElement * get_cell_element(unsigned int cell_hash) const
Definition: TileDetDescrManager.h:156
TileHit.h
CaloHitAnalysis::m_calib_eEM
std::vector< float > * m_calib_eEM
Definition: CaloHitAnalysis.h:78
CaloHitAnalysis::m_cell_e
std::vector< float > * m_cell_e
Definition: CaloHitAnalysis.h:71
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
CaloHitAnalysis::m_h_xy
TH2 * m_h_xy
Definition: CaloHitAnalysis.h:45
CaloHitAnalysis::m_h_calib_eEM
TH1 * m_h_calib_eEM
Definition: CaloHitAnalysis.h:56
CaloHitAnalysis::m_tree
TTree * m_tree
Definition: CaloHitAnalysis.h:90
ParticleGun_SamplingFraction.radius
radius
Definition: ParticleGun_SamplingFraction.py:96
CaloDetDescrElement::x
float x() const
cell x
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:363
CaloHitAnalysis.h
y
#define y
CaloDetDescrManager
This class provides the client interface for accessing the detector description information common to...
Definition: CaloDetDescrManager.h:473
CaloHitAnalysis::m_h_calib_eTot
TH1 * m_h_calib_eTot
Definition: CaloHitAnalysis.h:60
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:242
CaloHitAnalysis::execute
virtual StatusCode execute() override
Definition: CaloHitAnalysis.cxx:165
CaloDetDescrElement::z
float z() const
cell z
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:367
GeoCaloCalibHit::energyTotal
double energyTotal() const
CaloHitAnalysis::m_expert
BooleanProperty m_expert
Definition: CaloHitAnalysis.h:85
CaloDetDescrElement::eta
float eta() const
cell eta
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:344
CaloHitAnalysis::m_caloCalibKeys
SG::ReadHandleKeyArray< CaloCalibrationHitContainer > m_caloCalibKeys
Definition: CaloHitAnalysis.h:102
CaloHitAnalysis::m_cell_eta
std::vector< float > * m_cell_eta
Definition: CaloHitAnalysis.h:66
CaloHitAnalysis::m_h_r_e
TH2 * m_h_r_e
Definition: CaloHitAnalysis.h:51
CaloDetDescrElement::phi
float phi() const
cell phi
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:346
CaloHitAnalysis::m_calib_eta
std::vector< float > * m_calib_eta
Definition: CaloHitAnalysis.h:74
CaloHitAnalysis::m_h_phi_e
TH2 * m_h_phi_e
Definition: CaloHitAnalysis.h:50
CaloDetDescrElement::r
float r() const
cell r
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:348
Tile_Base_ID::cell_id
Identifier cell_id(const Identifier &any_id) const
Definition: Tile_Base_ID.cxx:581
CaloHitAnalysis::m_cell_phi
std::vector< float > * m_cell_phi
Definition: CaloHitAnalysis.h:67
CaloHitAnalysis::m_calib
BooleanProperty m_calib
Definition: CaloHitAnalysis.h:86
CaloHitAnalysis::m_h_calib_phi
TH1 * m_h_calib_phi
Definition: CaloHitAnalysis.h:53
CaloHitAnalysis::m_tileID
const TileID * m_tileID
Definition: CaloHitAnalysis.h:63
CaloHitAnalysis::m_h_zr
TH2 * m_h_zr
Definition: CaloHitAnalysis.h:46
CaloHitAnalysis::m_cell_x
std::vector< float > * m_cell_x
Definition: CaloHitAnalysis.h:68
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37
Identifier
Definition: IdentifierFieldParser.cxx:14