Fork me on GitHub

source: git/modules/Calorimeter.h@ d244bc9

ImprovedOutputFile Timing dual_readout llp
Last change on this file since d244bc9 was 4b9a2dc, checked in by Michele <michele.selvaggi@…>, 10 years ago

added EnergyMin and SigmaMin parameters

  • Property mode set to 100644
File size: 2.3 KB
Line 
1#ifndef Calorimeter_h
2#define Calorimeter_h
3
4/** \class Calorimeter
5 *
6 * Fills calorimeter towers, performs calorimeter resolution smearing,
7 * and creates energy flow objects (tracks, photons, and neutral hadrons).
8 *
9 * $Date$
10 * $Revision$
11 *
12 *
13 * \author P. Demin - UCL, Louvain-la-Neuve
14 *
15 */
16
17#include "classes/DelphesModule.h"
18
19#include <map>
20#include <set>
21#include <vector>
22
23class TObjArray;
24class DelphesFormula;
25class Candidate;
26
27class Calorimeter: public DelphesModule
28{
29public:
30
31 Calorimeter();
32 ~Calorimeter();
33
34 void Init();
35 void Process();
36 void Finish();
37
38private:
39
40 typedef std::map< Long64_t, std::pair< Double_t, Double_t > > TFractionMap; //!
41 typedef std::map< Double_t, std::set< Double_t > > TBinMap; //!
42
43 Candidate *fTower;
44 Double_t fTowerEta, fTowerPhi, fTowerEdges[4];
45 Double_t fTowerECalEnergy, fTowerHCalEnergy;
46 Double_t fTrackECalEnergy, fTrackHCalEnergy;
47
48 Double_t fTowerECalTime, fTowerHCalTime;
49 Double_t fTrackECalTime, fTrackHCalTime;
50
51 Double_t fTowerECalWeightTime, fTowerHCalWeightTime;
52 Double_t fTrackECalWeightTime, fTrackHCalWeightTime;
53
54 Int_t fTowerTrackHits, fTowerPhotonHits;
55
56 Double_t fEcalEnergyMin;
57 Double_t fHcalEnergyMin;
58
59 Double_t fEcalSigmaMin;
60 Double_t fHcalSigmaMin;
61
62 TFractionMap fFractionMap; //!
63 TBinMap fBinMap; //!
64
65 std::vector < Double_t > fEtaBins;
66 std::vector < std::vector < Double_t >* > fPhiBins;
67
68 std::vector < Long64_t > fTowerHits;
69
70 std::vector < Double_t > fTowerECalFractions;
71 std::vector < Double_t > fTowerHCalFractions;
72
73 std::vector < Double_t > fTrackECalFractions;
74 std::vector < Double_t > fTrackHCalFractions;
75
76 DelphesFormula *fECalResolutionFormula; //!
77 DelphesFormula *fHCalResolutionFormula; //!
78
79 TIterator *fItParticleInputArray; //!
80 TIterator *fItTrackInputArray; //!
81
82 const TObjArray *fParticleInputArray; //!
83 const TObjArray *fTrackInputArray; //!
84
85 TObjArray *fTowerOutputArray; //!
86 TObjArray *fPhotonOutputArray; //!
87
88 TObjArray *fEFlowTrackOutputArray; //!
89 TObjArray *fEFlowPhotonOutputArray; //!
90 TObjArray *fEFlowNeutralHadronOutputArray; //!
91
92 TObjArray *fTowerTrackArray; //!
93 TIterator *fItTowerTrackArray; //!
94
95 void FinalizeTower();
96 Double_t LogNormal(Double_t mean, Double_t sigma);
97
98 ClassDef(Calorimeter, 1)
99};
100
101#endif
Note: See TracBrowser for help on using the repository browser.