1 #ifndef AliAODJETBACKGROUND_H
2 #define AliAODJETBACKGROUND_H
3 /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 //-------------------------------------------------------------------------
7 // AOD jet background class
8 // Stores Different background calculations on an event by event level
9 // Author: Christian Klein-Boesing, IKP Muenster
10 //-------------------------------------------------------------------------
16 class AliAODJetEventBackground : public TNamed {
19 AliAODJetEventBackground();
20 virtual ~AliAODJetEventBackground();
21 AliAODJetEventBackground(const AliAODJetEventBackground& jet);
22 AliAODJetEventBackground& operator=(const AliAODJetEventBackground& jet);
25 virtual void SetBackground(Int_t i,Double_t back){
26 fBackground[i] = back;
29 virtual Double_t GetBackground(Int_t i){
30 if(i>=0&&i<kMaxBackground)return fBackground[i];
34 static const char* StdBranchName(){return fgkStdBranchName.Data();}
35 virtual void Print(Option_t* /*option*/) const;
45 static TString fgkStdBranchName; // Standard branch name
46 Double32_t fBackground[kMaxBackground]; // Background from different schemes, normalized to area
47 ClassDef(AliAODJetEventBackground,1);