Fork me on GitHub

source: git/modules/SimpleCalorimeter.h@ 4b9a2dc

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

added EnergyMin and SigmaMin parameters

  • Property mode set to 100644
File size: 1.9 KB
Line 
1#ifndef SimpleCalorimeter_h
2#define SimpleCalorimeter_h
3
4/** \class SimpleCalorimeter
5 *
6 * Fills SimpleCalorimeter towers, performs SimpleCalorimeter resolution smearing,
7 * and creates energy flow objects (tracks, photons, and neutral hadrons).
8 *
9 * $Date: 2014-04-16 15:29:31 +0200 (Wed, 16 Apr 2014) $
10 * $Revision: 1364 $
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 SimpleCalorimeter: public DelphesModule
28{
29public:
30
31 SimpleCalorimeter();
32 ~SimpleCalorimeter();
33
34 void Init();
35 void Process();
36 void Finish();
37
38private:
39
40 typedef std::map< Long64_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 fTowerEnergy;
46 Double_t fTrackEnergy;
47
48 Double_t fTowerTime;
49 Double_t fTrackTime;
50
51 Double_t fTowerWeightTime;
52 Double_t fTrackWeightTime;
53
54 Int_t fTowerTrackHits, fTowerPhotonHits;
55
56 Double_t fEnergyMin;
57 Double_t fSigmaMin;
58
59 TFractionMap fFractionMap; //!
60 TBinMap fBinMap; //!
61
62 std::vector < Double_t > fEtaBins;
63 std::vector < std::vector < Double_t >* > fPhiBins;
64
65 std::vector < Long64_t > fTowerHits;
66
67 std::vector < Double_t > fTowerFractions;
68
69 std::vector < Double_t > fTrackFractions;
70
71 DelphesFormula *fResolutionFormula; //!
72
73 TIterator *fItParticleInputArray; //!
74 TIterator *fItTrackInputArray; //!
75
76 const TObjArray *fParticleInputArray; //!
77 const TObjArray *fTrackInputArray; //!
78
79 TObjArray *fTowerOutputArray; //!
80
81 TObjArray *fEFlowTowerOutputArray; //!
82
83 TObjArray *fTowerTrackArray; //!
84 TIterator *fItTowerTrackArray; //!
85
86 void FinalizeTower();
87 Double_t LogNormal(Double_t mean, Double_t sigma);
88
89 ClassDef(SimpleCalorimeter, 1)
90};
91
92#endif
Note: See TracBrowser for help on using the repository browser.