Fork me on GitHub

source: git/modules/Calorimeter.h@ 41f30b4

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 41f30b4 was 2dab783, checked in by pavel <pavel@…>, 11 years ago

new energy flow

  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[d7d2da3]1#ifndef Calorimeter_h
2#define Calorimeter_h
3
4/** \class Calorimeter
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 Calorimeter: public DelphesModule
28{
29public:
30
31 Calorimeter();
32 ~Calorimeter();
33
34 void Init();
35 void Process();
36 void Finish();
[4600a41]37
[d7d2da3]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;
[2dab783]46 Double_t fTrackECalEnergy, fTrackHCalEnergy;
47 Int_t fTowerTrackHits, fTowerPhotonHits;
[d7d2da3]48
49 TFractionMap fFractionMap; //!
50 TBinMap fBinMap; //!
51
52 std::vector < Double_t > fEtaBins;
53 std::vector < std::vector < Double_t >* > fPhiBins;
54
55 std::vector < Long64_t > fTowerHits;
56
[2dab783]57 std::vector < Double_t > fTowerECalFractions;
58 std::vector < Double_t > fTowerHCalFractions;
59
60 std::vector < Double_t > fTrackECalFractions;
61 std::vector < Double_t > fTrackHCalFractions;
[d7d2da3]62
63 DelphesFormula *fECalResolutionFormula; //!
64 DelphesFormula *fHCalResolutionFormula; //!
65
66 TIterator *fItParticleInputArray; //!
67 TIterator *fItTrackInputArray; //!
68
69 const TObjArray *fParticleInputArray; //!
70 const TObjArray *fTrackInputArray; //!
71
72 TObjArray *fTowerOutputArray; //!
73 TObjArray *fPhotonOutputArray; //!
74
75 TObjArray *fEFlowTrackOutputArray; //!
76 TObjArray *fEFlowTowerOutputArray; //!
77
[9493a0f]78 TObjArray *fTowerTrackArray; //!
79 TIterator *fItTowerTrackArray; //!
80
[d7d2da3]81 void FinalizeTower();
[4600a41]82 Double_t LogNormal(Double_t mean, Double_t sigma);
83
[d7d2da3]84 ClassDef(Calorimeter, 1)
85};
86
87#endif
Note: See TracBrowser for help on using the repository browser.