#ifndef OldCalorimeter_h #define OldCalorimeter_h /** \class OldCalorimeter * * Fills calorimeter towers, performs calorimeter resolution smearing, * preselects towers hit by photons and creates energy flow objects. * * $Date$ * $Revision$ * * * \author P. Demin - UCL, Louvain-la-Neuve * */ #include "classes/DelphesModule.h" #include #include #include class TObjArray; class DelphesFormula; class Candidate; class OldCalorimeter: public DelphesModule { public: OldCalorimeter(); ~OldCalorimeter(); void Init(); void Process(); void Finish(); private: typedef std::map> TFractionMap; //! typedef std::map> TBinMap; //! Candidate *fTower; Double_t fTowerEta, fTowerPhi, fTowerEdges[4]; Double_t fTowerECalEnergy, fTowerHCalEnergy; Double_t fTowerECalNeutralEnergy, fTowerHCalNeutralEnergy; Int_t fTowerPhotonHits, fTowerECalHits, fTowerHCalHits, fTowerAllHits; Int_t fTowerECalTrackHits, fTowerHCalTrackHits, fTowerTrackAllHits; TFractionMap fFractionMap; //! TBinMap fBinMap; //! std::vector fEtaBins; std::vector *> fPhiBins; std::vector fTowerHits; std::vector fECalFractions; std::vector fHCalFractions; DelphesFormula *fECalResolutionFormula; //! DelphesFormula *fHCalResolutionFormula; //! TIterator *fItParticleInputArray; //! TIterator *fItTrackInputArray; //! const TObjArray *fParticleInputArray; //! const TObjArray *fTrackInputArray; //! TObjArray *fTowerOutputArray; //! TObjArray *fPhotonOutputArray; //! TObjArray *fEFlowTrackOutputArray; //! TObjArray *fEFlowTowerOutputArray; //! TObjArray *fTowerECalArray; //! TIterator *fItTowerECalArray; //! TObjArray *fTowerHCalArray; //! TIterator *fItTowerHCalArray; //! TObjArray *fTowerTrackArray; //! TIterator *fItTowerTrackArray; //! TObjArray *fTowerECalTrackArray; //! TIterator *fItTowerECalTrackArray; //! TObjArray *fTowerHCalTrackArray; //! TIterator *fItTowerHCalTrackArray; //! void FinalizeTower(); Double_t LogNormal(Double_t mean, Double_t sigma); ClassDef(OldCalorimeter, 1) }; #endif