Fork me on GitHub

source: svn/trunk/modules/Calorimeter.h@ 1236

Last change on this file since 1236 was 1235, checked in by Pavel Demin, 11 years ago

new energy flow that compiles

  • Property svn:keywords set to Id Revision Date
File size: 2.2 KB
RevLine 
[608]1#ifndef Calorimeter_h
2#define Calorimeter_h
3
[814]4/** \class Calorimeter
5 *
[894]6 * Fills calorimeter towers, performs calorimeter resolution smearing,
7 * preselects towers hit by photons and creates energy flow objects.
[814]8 *
9 * $Date: 2013-07-22 20:00:23 +0000 (Mon, 22 Jul 2013) $
10 * $Revision: 1235 $
11 *
12 *
13 * \author P. Demin - UCL, Louvain-la-Neuve
14 *
15 */
16
[687]17#include "classes/DelphesModule.h"
[608]18
19#include <map>
20#include <set>
[659]21#include <vector>
[608]22
23class TObjArray;
[766]24class DelphesFormula;
[687]25class Candidate;
[608]26
[687]27class Calorimeter: public DelphesModule
[608]28{
29public:
30
31 Calorimeter();
32 ~Calorimeter();
33
34 void Init();
35 void Process();
36 void Finish();
[1145]37
[608]38private:
39
40 typedef std::map< Long64_t, std::pair< Double_t, Double_t > > TFractionMap; //!
[659]41 typedef std::map< Double_t, std::set< Double_t > > TBinMap; //!
[931]42
[730]43 Candidate *fTower;
[898]44 Double_t fTowerEta, fTowerPhi, fTowerEdges[4];
[730]45 Double_t fTowerECalEnergy, fTowerHCalEnergy;
[735]46 Double_t fTowerECalNeutralEnergy, fTowerHCalNeutralEnergy;
[1233]47 Int_t fTowerPhotonHits, fTowerECalHits, fTowerHCalHits, fTowerAllHits;
48 Int_t fTowerECalTrackHits, fTowerHCalTrackHits, fTowerTrackAllHits;
[730]49
[608]50 TFractionMap fFractionMap; //!
[622]51 TBinMap fBinMap; //!
[931]52
[659]53 std::vector < Double_t > fEtaBins;
54 std::vector < std::vector < Double_t >* > fPhiBins;
[931]55
[661]56 std::vector < Long64_t > fTowerHits;
57
58 std::vector < Double_t > fECalFractions;
59 std::vector < Double_t > fHCalFractions;
[931]60
[766]61 DelphesFormula *fECalResolutionFormula; //!
62 DelphesFormula *fHCalResolutionFormula; //!
[608]63
[886]64 TIterator *fItParticleInputArray; //!
65 TIterator *fItTrackInputArray; //!
[608]66
[886]67 const TObjArray *fParticleInputArray; //!
68 const TObjArray *fTrackInputArray; //!
[608]69
[629]70 TObjArray *fTowerOutputArray; //!
[608]71 TObjArray *fPhotonOutputArray; //!
72
[938]73 TObjArray *fEFlowTrackOutputArray; //!
74 TObjArray *fEFlowTowerOutputArray; //!
75
[1235]76 TObjArray *fTowerECalArray; //!
77 TIterator *fItTowerECalArray; //!
78
79 TObjArray *fTowerHCalArray; //!
80 TIterator *fItTowerHCalArray; //!
81
82 TObjArray *fTowerTrackArray; //!
83 TIterator *fItTowerTrackArray; //!
84
[1233]85 TObjArray *fTowerECalTrackArray; //!
86 TIterator *fItTowerECalTrackArray; //!
[886]87
[1233]88 TObjArray *fTowerHCalTrackArray; //!
89 TIterator *fItTowerHCalTrackArray; //!
[931]90
[730]91 void FinalizeTower();
[1145]92 Double_t LogNormal(Double_t mean, Double_t sigma);
93
[608]94 ClassDef(Calorimeter, 1)
95};
96
97#endif
Note: See TracBrowser for help on using the repository browser.