1 #ifndef ALIJETHADRONCORRECTIONV1_H
2 #define ALIJETHADRONCORRECTIONV1_H
3 /* Copyright(c) 1998-2002, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 //*-- Author: Mark Horner (LBL/UCT)
9 #include "AliJetHadronCorrection.h"
11 #define HCPARAMETERS 6
12 #define HCPARAMETERSETS 2
14 class AliEMCALGeometry;
18 class AliJetHadronCorrectionv1 : public AliJetHadronCorrection
21 AliJetHadronCorrectionv1(){;}
22 static AliJetHadronCorrectionv1* Instance();
23 virtual Double_t GetEnergy(Double_t pmom, Double_t eta, Int_t gid);
24 Double_t GetEnergy(Double_t pmom, Double_t eta) {return GetEnergy(pmom,eta,7);}
26 void SetGeometry(TString name, Double_t fs = 1.);
27 virtual ~AliJetHadronCorrectionv1() {}
30 AliJetHadronCorrectionv1(const char *name, const char *title);
31 void SetGeometry(AliJetDummyGeo *geometry);
34 void SetParameters(TString name = "") {Warning("SetParameter","Dummy method with argument %s",name.Data());}
36 static AliJetHadronCorrectionv1* fgHadrCorr; // Pointer to global instance (singleton)
37 static Double_t fgParLookup[HCPARAMETERS][HCPARAMETERSETS]; // Global array with parameters for hadronic response
39 Float_t fSamplingFraction; // Sampling fraction
41 ClassDef(AliJetHadronCorrectionv1,2) // Hadron correction for EMC (version for MDC)
44 #endif // ALIJETHADRONCORRECTIONV1_H