]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALHadronCorrectionv0.h
Added the option to loop over a selected number of events, in preparation of ESD
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALHadronCorrectionv0.h
1 #ifndef ALIEMCALHADRONCORRECTIONV0_H
2 #define ALIEMCALHADRONCORRECTIONV0_H
3 /* Copyright(c) 1998-2002, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice     */
5
6 /* $Id$ */
7
8 //_________________________________________________________________________
9 //                  
10 //*-- Author: Aleksei Pavlinov (WSU)
11 #include "AliEMCALHadronCorrection.h"
12
13 class AliEMCALHadronCorrectionv0: public AliEMCALHadronCorrection {
14
15   private:
16   static AliEMCALHadronCorrectionv0* fHadrCorr;
17
18   protected:
19   AliEMCALHadronCorrectionv0(const char *name="HadronCorrectionv0", const char *title="title");
20
21   public:
22   static  AliEMCALHadronCorrectionv0* Instance();
23   virtual Double_t GetEnergy(const Double_t pmom,const Double_t eta,const Int_t gid); 
24   Double_t GetEnergy(const Double_t pmom, const Double_t eta) 
25   {return GetEnergy(pmom,eta,7);}
26
27   virtual ~AliEMCALHadronCorrectionv0() {}
28
29   ClassDef(AliEMCALHadronCorrectionv0,1) // Hadron correction for EMC (version for MDC)
30 };
31
32 #endif // ALIEMCALHADRONCORRECTIONV0_H