Fork me on GitHub

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

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

new energy flow

  • Property svn:keywords set to Id Revision Date
File size: 1.9 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-09-03 15:54:56 +0000 (Tue, 03 Sep 2013) $
10 * $Revision: 1273 $
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;
[1273]46 Double_t fTrackECalEnergy, fTrackHCalEnergy;
47 Int_t fTowerTrackHits, fTowerPhotonHits;
[730]48
[608]49 TFractionMap fFractionMap; //!
[622]50 TBinMap fBinMap; //!
[931]51
[659]52 std::vector < Double_t > fEtaBins;
53 std::vector < std::vector < Double_t >* > fPhiBins;
[931]54
[661]55 std::vector < Long64_t > fTowerHits;
56
[1273]57 std::vector < Double_t > fTowerECalFractions;
58 std::vector < Double_t > fTowerHCalFractions;
[931]59
[1273]60 std::vector < Double_t > fTrackECalFractions;
61 std::vector < Double_t > fTrackHCalFractions;
62
[766]63 DelphesFormula *fECalResolutionFormula; //!
64 DelphesFormula *fHCalResolutionFormula; //!
[608]65
[886]66 TIterator *fItParticleInputArray; //!
67 TIterator *fItTrackInputArray; //!
[608]68
[886]69 const TObjArray *fParticleInputArray; //!
70 const TObjArray *fTrackInputArray; //!
[608]71
[629]72 TObjArray *fTowerOutputArray; //!
[608]73 TObjArray *fPhotonOutputArray; //!
74
[938]75 TObjArray *fEFlowTrackOutputArray; //!
76 TObjArray *fEFlowTowerOutputArray; //!
77
[1235]78 TObjArray *fTowerTrackArray; //!
79 TIterator *fItTowerTrackArray; //!
80
[730]81 void FinalizeTower();
[1145]82 Double_t LogNormal(Double_t mean, Double_t sigma);
83
[608]84 ClassDef(Calorimeter, 1)
85};
86
87#endif
Note: See TracBrowser for help on using the repository browser.