]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALHadronCorrectionv1.h
set temporarely the noise level to zero
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALHadronCorrectionv1.h
CommitLineData
414acf4e 1#ifndef ALIEMCALHADRONCORRECTIONV1_H
2#define ALIEMCALHADRONCORRECTIONV1_H
3/* Copyright(c) 1998-2002, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6//
7//*-- Author: Mark Horner (LBL/UCT)
8//
9#include "AliEMCALHadronCorrection.h"
10
11
12#define HCPARAMETERS 6
13#define HCPARAMETERSETS 2
14
15class AliEMCALGeometry;
16
17class AliEMCALHadronCorrectionv1: public AliEMCALHadronCorrection {
18 public:
19 static AliEMCALHadronCorrectionv1* Instance();
20 virtual Double_t GetEnergy(const Double_t pmom,const Double_t eta,const Int_t gid);
21 Double_t GetEnergy(const Double_t pmom, const Double_t eta)
22 {return GetEnergy(pmom,eta,7);}
23
24 void SetGeometry(TString name);
25 void SetGeometry(AliEMCALGeometry *geometry);
26 virtual ~AliEMCALHadronCorrectionv1() {}
27 protected:
28 AliEMCALHadronCorrectionv1(const char *name="HadronCorrectionv1", const char *title="Hadron Correction");
29
30// AliEMCALHadronCorrectionv1(const char *name="HadronCorrectionv1", const char *title="Hadron Correction",AliEMCALGeometry *geometry = NULL);
31 private:
32 void SetParameters(TString name = "");
33 static AliEMCALHadronCorrectionv1* fHadrCorr;
34 Double_t fPar[6];
35
36 ClassDef(AliEMCALHadronCorrectionv1,1) // Hadron correction for EMC (version for MDC)
37};
38
39#endif // ALIEMCALHADRONCORRECTIONV1_H