AliPhysics  32b88a8 (32b88a8)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliPicoHeaderCJ.h
Go to the documentation of this file.
1 #ifndef ALIPICOHEADERCJ_H
2 #define ALIPICOHEADERCJ_H
3 
4 #include <TNamed.h>
5 #include <TString.h>
6 
7 class TString;
8 
9 class AliInputEventHandler;
10 
11 class AliPicoHeaderCJ : public TNamed {
12 
13  public :
14 
15  enum {
16  kPP = 0, // pp collisions
17  kPA = 1, // p-Pb collisions
18  kAP = 2, // Pb-p collisions
19  kAA = 3 // Pb-Pb collisions
20  };
21 
22  enum {
23  kKshort = BIT(0), //
24  kLambda = BIT(1), //
25  kAntiLambda = BIT(2), //
26  kXiPos = BIT(3), //
27  kXiNeg = BIT(4), //
28  kDzero = BIT(5), //
29  kDstar = BIT(6) //
30  };
31 
32  enum {
33  kEventAccCheck = BIT(0), //
34  kEventAccMult = BIT(1), //
35  kEventAccTrigger = BIT(2), //
36  kEventAccVertex = BIT(3), //
37  kEventAccPileup = BIT(4) //
38  };
39 
40  enum {
41  kPrimary = BIT(0), //
42  kPhysicalPrimary = BIT(1), //
45  };
46 //=============================================================================
47 
49  AliPicoHeaderCJ(const AliPicoHeaderCJ &src);
51  virtual ~AliPicoHeaderCJ();
52 //=============================================================================
53 
54  void SetEventInfo(AliInputEventHandler* const pEH);
55 
62 
63  void Reset();
64 //=============================================================================
65 
66  UInt_t PhysSelMask() const { return fPhysSelMask; }
68 
69  void Vertex(Double_t d[3]) { for (Int_t i=3; i--;) d[i] = fVtx[i]; }
70 
71  Float_t CentralityV0M() const { return fCentralityV0M; }
72  Float_t CentralityV0A() const { return fCentralityV0A; }
73  Float_t CentralityCL1() const { return fCentralityCL1; }
74  Float_t CentralityZNA() const { return fCentralityZNA; }
75  Double32_t EventPlane() const { return fEventPlane; }
76  Double_t BackgroundRho(const TString sJet) const;
77 //=============================================================================
78 
79  private :
80 
83 
85 
90 
91  Double32_t fEventPlane; //
92 
96 
100 
102 };
103 
104 
105 #endif
Double_t fVtx[3]
double Double_t
Definition: External.C:58
void BackgroundRhoMC02(Double_t d)
Double_t BackgroundRho(const TString sJet) const
Double_t fBackgroundRhoMC03
Double_t fBackgroundRhoMC04
void BackgroundRhoMC03(Double_t d)
void BackgroundRhoRD04(Double_t d)
Float_t fCentralityCL1
Float_t fCentralityZNA
int Int_t
Definition: External.C:63
unsigned int UInt_t
Definition: External.C:33
float Float_t
Definition: External.C:68
void BackgroundRhoMC04(Double_t d)
Double32_t fEventPlane
Double_t fBackgroundRhoRD04
void SetEventInfo(AliInputEventHandler *const pEH)
UInt_t PhysSelMask() const
Double_t fBackgroundRhoRD02
Float_t CentralityV0A() const
Float_t fCentralityV0A
Double_t fBackgroundRhoMC02
TString FiredTriggerClass() const
AliPicoHeaderCJ & operator=(const AliPicoHeaderCJ &src)
Float_t fCentralityV0M
TString fFiredTriggerClass
Double32_t EventPlane() const
virtual ~AliPicoHeaderCJ()
Float_t CentralityV0M() const
Float_t CentralityCL1() const
void Vertex(Double_t d[3])
Float_t CentralityZNA() const
ClassDef(AliPicoHeaderCJ, 4)
void BackgroundRhoRD03(Double_t d)
void BackgroundRhoRD02(Double_t d)
Double_t fBackgroundRhoRD03