]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGJE/FlavourJetTasks/AliPicoJetHeader.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGJE / FlavourJetTasks / AliPicoJetHeader.h
1 #ifndef ALIPICOJETHEADER_H
2 #define ALIPICOJETHEADER_H
3
4 #include <TNamed.h>
5 #include <TString.h>
6
7 class TString;
8
9 class AliInputEventHandler;
10
11 class AliPicoJetHeader : public TNamed {
12
13  public :
14
15   AliPicoJetHeader();
16   AliPicoJetHeader(const AliPicoJetHeader &src);
17   AliPicoJetHeader& operator=(const AliPicoJetHeader &src);
18   virtual ~AliPicoJetHeader();
19
20   void SetEventInfo(AliInputEventHandler* const pEH);
21
22   void BackgroundRhoRD02(Double_t d) { fBackgroundRhoRD02 = d; }
23   void BackgroundRhoRD03(Double_t d) { fBackgroundRhoRD03 = d; }
24   void BackgroundRhoRD04(Double_t d) { fBackgroundRhoRD04 = d; }
25
26   void BackgroundRhoMC02(Double_t d) { fBackgroundRhoMC02 = d; }
27   void BackgroundRhoMC03(Double_t d) { fBackgroundRhoMC03 = d; }
28   void BackgroundRhoMC04(Double_t d) { fBackgroundRhoMC04 = d; }
29
30   void Reset();
31 //=============================================================================
32
33   UInt_t  PhysSelMask()       const { return fPhysSelMask; }
34   TString FiredTriggerClass() const { return fFiredTriggerClass; }
35
36   void Vertex(Double_t d[3]) { for (Int_t i=3; i--;) d[i] = fVtx[i]; }
37
38   Float_t CentralityV0M() const { return fCentralityV0M; }
39   Float_t CentralityV0A() const { return fCentralityV0A; }
40   Float_t CentralityCL1() const { return fCentralityCL1; }
41   Float_t CentralityZNA() const { return fCentralityZNA; }
42   Double32_t EventPlane() const { return fEventPlane;    }
43   Double_t  BackgroundRho(const TString sJet) const;
44 //=============================================================================
45
46
47   Double_t   BackgroundRhoRD03() const { return fBackgroundRhoRD03;  }
48
49   Double_t   BackgroundRhoRD04() const { return fBackgroundRhoRD04;  }
50
51   Double_t   BackgroundRhoMC02() const { return fBackgroundRhoMC02;  }
52
53   Double_t   BackgroundRhoMC03() const { return fBackgroundRhoMC03;  }
54
55   Double_t   BackgroundRhoMC04() const { return fBackgroundRhoMC04;  }
56
57  private :
58
59   UInt_t  fPhysSelMask;  //
60   TString fFiredTriggerClass;  //
61
62   Double_t fVtx[3];  //
63
64   Float_t fCentralityV0M;  //
65   Float_t fCentralityV0A;  //
66   Float_t fCentralityCL1;  //
67   Float_t fCentralityZNA;  //
68
69   Double32_t fEventPlane;  //
70
71   Double_t fBackgroundRhoRD02;  //
72   Double_t fBackgroundRhoRD03;  //
73   Double_t fBackgroundRhoRD04;  //
74
75   Double_t fBackgroundRhoMC02;  //
76   Double_t fBackgroundRhoMC03;  //
77   Double_t fBackgroundRhoMC04;  //
78
79   ClassDef(AliPicoJetHeader, 1);
80 };
81
82 #endif