Fork me on GitHub

source: git/modules/OldCalorimeter.h@ 3b02069

Last change on this file since 3b02069 was 77e9ae1, checked in by Pavel Demin <pavel-demin@…>, 6 years ago

set Standard to Cpp03 in .clang-format

  • Property mode set to 100644
File size: 2.2 KB
Line 
1#ifndef OldCalorimeter_h
2#define OldCalorimeter_h
3
4/** \class OldCalorimeter
5 *
6 * Fills calorimeter towers, performs calorimeter resolution smearing,
7 * preselects towers hit by photons and creates energy flow objects.
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 OldCalorimeter: public DelphesModule
28{
29public:
30 OldCalorimeter();
31 ~OldCalorimeter();
32
33 void Init();
34 void Process();
35 void Finish();
36
37private:
38 typedef std::map<Long64_t, std::pair<Double_t, Double_t> > TFractionMap; //!
39 typedef std::map<Double_t, std::set<Double_t> > TBinMap; //!
40
41 Candidate *fTower;
42 Double_t fTowerEta, fTowerPhi, fTowerEdges[4];
43 Double_t fTowerECalEnergy, fTowerHCalEnergy;
44 Double_t fTowerECalNeutralEnergy, fTowerHCalNeutralEnergy;
45 Int_t fTowerPhotonHits, fTowerECalHits, fTowerHCalHits, fTowerAllHits;
46 Int_t fTowerECalTrackHits, fTowerHCalTrackHits, fTowerTrackAllHits;
47
48 TFractionMap fFractionMap; //!
49 TBinMap fBinMap; //!
50
51 std::vector<Double_t> fEtaBins;
52 std::vector<std::vector<Double_t> *> fPhiBins;
53
54 std::vector<Long64_t> fTowerHits;
55
56 std::vector<Double_t> fECalFractions;
57 std::vector<Double_t> fHCalFractions;
58
59 DelphesFormula *fECalResolutionFormula; //!
60 DelphesFormula *fHCalResolutionFormula; //!
61
62 TIterator *fItParticleInputArray; //!
63 TIterator *fItTrackInputArray; //!
64
65 const TObjArray *fParticleInputArray; //!
66 const TObjArray *fTrackInputArray; //!
67
68 TObjArray *fTowerOutputArray; //!
69 TObjArray *fPhotonOutputArray; //!
70
71 TObjArray *fEFlowTrackOutputArray; //!
72 TObjArray *fEFlowTowerOutputArray; //!
73
74 TObjArray *fTowerECalArray; //!
75 TIterator *fItTowerECalArray; //!
76
77 TObjArray *fTowerHCalArray; //!
78 TIterator *fItTowerHCalArray; //!
79
80 TObjArray *fTowerTrackArray; //!
81 TIterator *fItTowerTrackArray; //!
82
83 TObjArray *fTowerECalTrackArray; //!
84 TIterator *fItTowerECalTrackArray; //!
85
86 TObjArray *fTowerHCalTrackArray; //!
87 TIterator *fItTowerHCalTrackArray; //!
88
89 void FinalizeTower();
90 Double_t LogNormal(Double_t mean, Double_t sigma);
91
92 ClassDef(OldCalorimeter, 1)
93};
94
95#endif
Note: See TracBrowser for help on using the repository browser.