]> git.uio.no Git - u/mrichter/AliRoot.git/blame - JETAN/AliJetHadronCorrectionv1.h
Remove verbosity
[u/mrichter/AliRoot.git] / JETAN / AliJetHadronCorrectionv1.h
CommitLineData
4a01bb2c 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 */
5
6//
7//*-- Author: Mark Horner (LBL/UCT)
8//
9#include "AliJetHadronCorrection.h"
10
11#define HCPARAMETERS 6
12#define HCPARAMETERSETS 2
13
38a7f6db 14class AliJetDummyGeo;
15
4a01bb2c 16
17class AliJetHadronCorrectionv1 : public AliJetHadronCorrection
18{
19 public:
de265230 20 AliJetHadronCorrectionv1(){;}
21 static AliJetHadronCorrectionv1* Instance();
22 virtual Double_t GetEnergy(Double_t pmom, Double_t eta, Int_t gid);
23 Double_t GetEnergy(Double_t pmom, Double_t eta) {return GetEnergy(pmom,eta,7);}
24
25 void SetGeometry(TString name, Double_t fs = 1.);
26 virtual ~AliJetHadronCorrectionv1() {}
27
4a01bb2c 28 protected:
de265230 29 AliJetHadronCorrectionv1(const char *name, const char *title);
30 void SetGeometry(AliJetDummyGeo *geometry);
4a01bb2c 31
32 private:
de265230 33 void SetParameters(TString name = "") {Warning("SetParameter","Dummy method with argument %s",name.Data());}
4a01bb2c 34
de265230 35 static AliJetHadronCorrectionv1* fgHadrCorr; // Pointer to global instance (singleton)
36 static Double_t fgParLookup[HCPARAMETERS][HCPARAMETERSETS]; // Global array with parameters for hadronic response
37 Double_t fPar[6];
38 Float_t fSamplingFraction; // Sampling fraction
39
40 ClassDef(AliJetHadronCorrectionv1,2) // Hadron correction for EMC (version for MDC)
4a01bb2c 41};
de265230 42
4a01bb2c 43#endif // ALIJETHADRONCORRECTIONV1_H
de265230 44