Update PR task: drathee
[u/mrichter/AliRoot.git] / PWGCF / EBYE / PIDFluctuation / task / AliEbyEPidTaskFastGen.h
CommitLineData
30409e1c 1#ifndef AliEbyEPidTaskFastGen_cxx
2#define AliEbyEPidTaskFastGen_cxx
3
4//=========================================================================//
5// //
6// Analysis Task for Particle Ratio Fluctuaions //
7// Author: Satyajit Jena || Deepika Jena //
8// sjena@cern.ch || drathee@cern.ch //
9// //
10//=========================================================================//
11
12
13class TH1D;
14class TH2F;
15class TH3F;
16class TString;
17class TList;
18
19
20#include "AliAnalysisTaskSE.h"
21#include "THnSparse.h"
22
23
24
25class AliEbyEPidTaskFastGen: public AliAnalysisTaskSE {
26 public:
27 AliEbyEPidTaskFastGen( const char *name = "HigherMomentAnalysis");
28 virtual ~AliEbyEPidTaskFastGen();
29
30 virtual void UserCreateOutputObjects();
31 virtual void UserExec(Option_t *option);
32 virtual void Terminate(Option_t *);
33
34 void SetVertexDiamond(Double_t vx, Double_t vy, Double_t vz) {fVxMax = vx;fVyMax = vy; fVzMax = vz;}
35
36
37 void SetKinematicsCutsAOD(Double_t ptl, Double_t pth, Double_t eta){
38 fPtLowerLimit = ptl;
39 fPtHigherLimit = pth;
40 fEtaLowerLimit = -eta;
41 fEtaHigherLimit = eta;
42 }
43
44
45 enum ESparseData_t {
46 kAll_part=0,
47 kCent_imp=1,
48 kN_part=2,
49 kN_ch=3,
50 kNch_plus,
51 kNch_minus,
52 kN_pi,
53 kNpi_plus,
54 kNpi_minus,
55 kN_k,
56 kNka_plus,
57 kNka_minus,
58 kN_pr,
59 kNpr_plus,
60 kNpr_minus,
61 kNSparseData
62 };
63
64 private:
65
66 TList *fThnList;
67
68 Double_t fVxMax; //vxmax
69 Double_t fVyMax;//vymax
70 Double_t fVzMax;//vzmax
71 Double_t fPtLowerLimit;
72 Double_t fPtHigherLimit;
73 Double_t fEtaLowerLimit;
74 Double_t fEtaHigherLimit;
75
76 THnSparseI *fHistoCorrelationMC;
77
78 AliEbyEPidTaskFastGen(const AliEbyEPidTaskFastGen&);
79 AliEbyEPidTaskFastGen& operator = (const AliEbyEPidTaskFastGen&);//Not implimented..
80 ClassDef(AliEbyEPidTaskFastGen, 1);
81
82};
83
84#endif
85
86