AliPhysics  d497afb (d497afb)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliPicoHeaderV0.h
Go to the documentation of this file.
1 #ifndef ALIPICOHEADERV0_H
2 #define ALIPICOHEADERV0_H
3 
4 #include <TNamed.h>
5 
6 #include <TMap.h>
7 #include <TString.h>
8 #include <TParameter.h>
9 
10 class AliInputEventHandler;
11 
12 class AliPicoHeaderV0 : public TNamed {
13 
14  public :
15 
16  AliPicoHeaderV0(const TString s="");
17  AliPicoHeaderV0(const AliPicoHeaderV0 &src);
19  virtual ~AliPicoHeaderV0();
20 //=============================================================================
21 
22  UInt_t PhysSelMask() const { return fPS; }
23  TString FiredTriggerClass() const { return fTrg; }
24 
26  Double32_t EventPlane() const { return fEP; }
27 
28  void Vertex(Double_t d[3]) { for (Int_t i=0; i<3; ++i) d[i] = fVtx[i]; }
29 //=============================================================================
30 
31  void AddMultEstimator(const TString &s) {
32  if (!fAct) fAct = new TMap();
33  fAct->Add(new TObjString(s.Data()),
34  new TParameter<Float_t>(s.Data(),-999.));
35  return;
36  }
37 //=============================================================================
38 
39  void Reset();
40  void SetEventInfo(AliInputEventHandler* const pH);
41 //=============================================================================
42 
43  private :
44 
45  UInt_t fPS; //
47 
48  Double_t fVtx[3]; //
49  Double32_t fEP; //
50 
51  TMap *fAct;
52 //=============================================================================
53 
54  ClassDef(AliPicoHeaderV0, 6);
55 };
56 
57 #endif
void SetEventInfo(AliInputEventHandler *const pH)
Float_t MultiplicityPercentile(const TString &s)
AliPicoHeaderV0 & operator=(const AliPicoHeaderV0 &src)
double Double_t
Definition: External.C:58
Double_t fVtx[3]
void Vertex(Double_t d[3])
UInt_t PhysSelMask() const
TString FiredTriggerClass() const
int Int_t
Definition: External.C:63
unsigned int UInt_t
Definition: External.C:33
float Float_t
Definition: External.C:68
virtual ~AliPicoHeaderV0()
AliPicoHeaderV0(const TString s="")
Double32_t EventPlane() const
void AddMultEstimator(const TString &s)