1 // This class is creatig TH2D histogramms for Nch - Nch , Nch - Pt , Pt - Pt
2 // dirtributions for given ETA windows and some supplementary data for Long Range Correlation (LRC) analysis .
3 // Class is designid to work with AliAnalysisTaskLRC
5 // Author : Andrey Ivanov , St.Peterburg State University
6 // Email: Andrey.Ivanov@cern.ch
12 #ifndef ALILRCPROCESS_H
13 #define ALILRCPROCESS_H
23 class AliLRCProcess: public TObject
28 AliLRCProcess(Double_t _StartForwardETA=-1.0,Double_t _EndForwardETA=1.0,Double_t _StartBakwardETA=-1.0,Double_t _EndBakwardETA=1.0); // Constructor with window setup makes ready-to-run processor
30 Bool_t InitDataMembers(); //Is to be called in CreateOutputObjects method
33 virtual ~AliLRCProcess();
36 void SetForwardWindow(Double_t StartETA,Double_t EndETA);
37 void SetBackwardWindow(Double_t StartETA,Double_t EndETA);
38 void SetETAWindows(Double_t _StartForwardETA,Double_t _EndForwardETA,Double_t _StartBakwardETA,Double_t _EndBakwardETA);
39 void SetPtRange(Double_t LoPt,Double_t HiPt,Int_t PtBins);
40 void SetMultRange(Int_t LoMult,Int_t HiMult,Int_t MultBins=0);
44 TList* CreateOutput(); // Creates output object
45 TString GetShortDef(); // Returns fShortDef value
47 // Track by track event import
48 void StartEvent(); // Open new Event for track by track event import
49 void AddTrackPtEta(Double_t Pt, Double_t Eta ); // Imports track to the event
50 void FinishEvent(); // Close opened event
57 AliLRCProcess(const AliLRCProcess&); // Not implemented
58 AliLRCProcess& operator=(const AliLRCProcess&);// Not implemented
60 void SetShortDef(); // Sets fShortDef according to window paramiters
62 //Data Init and checks
63 //Bool_t StateCheck(); // Check if data is OK
64 Bool_t fIsEventOpend; // Indicates opened event
65 Bool_t fIsOnline; // Are data objects created
66 Bool_t fDisplayInitOnDemandWarning; // Switch warning when InitDataInDemand is called;
67 //Bool_t InitDataOnDemand(); // Create data objects
70 Int_t fEventCount; //Number of processed events
72 // Windows paramiters -----------------------------------
74 Double_t fStartForwardETA; // Forward windos lover rapidity
75 Double_t fEndForwardETA; // Forward window higer rapidity
76 Double_t fStartBakwardETA; // Bakward window lover rapidity
77 Double_t fEndBakwardETA; // Bakward window higer rapidity
79 Double_t fHiPt; // Max Pt for histos
80 Double_t fLoPt; // Min Pt for histos
81 Int_t fHiMult; // Min multiplicity for histos
82 Int_t fLoMult; // Max multiplicity for histos
84 Int_t fMultBins; // N bins for multiplicity
85 Int_t fPtBins; // N bins for Pt
88 // Track by track import values
89 Double_t fSumPtFw; // Summary Pt forward
90 Double_t fSumPtBw; // Summary Pt backward
91 Int_t fNchFw; // Number of tracks Forward
92 Int_t fNchBw; // Number of tracks Backward
98 TList* fOutList; // List of output data
100 TString fShortDef; // Short desctiption
102 // Total spectras (debugging for TAG selection)
103 TH1F *fHistPt; // Overal Pt spectrum
104 TH1F *fHistEta; // Overal Eta spectrum
107 // Output histogramms -----------------------------------
110 TH2D* fHistNN; // N-N 2D Profile
111 TH2D* fHistPtN; // Pt-N 2D Profile
112 TH2D* fHistPtPt; // Pt-Pt 2D Profile
113 TProfile* fProfNberr; // Nbackward error Profile
114 TProfile* fProfdPtB; // Used to store (in first bin) summary of PtB and its std diviation
115 TProfile* fProfTestLRC; // Diognostic LRC Pt - N correlation
117 // Supp. info for windows
119 TH1D* fHistPtForward; // Pt spectrum in Forward windows
120 TH1D* fHistEtaForward; // Eta spectrum in Forward windows
121 TH1D* fHistNchForward; // Nch spectrum in Forward windows
124 TH1D* fHistPtBakward; // Pt spectrum in Bakward windows
125 TH1D* fHistEtaBakward; // Eta spectrum in Bakward windows
126 TH1D* fHistNchBakward; // Nch spectrum in Bakward windows
130 ClassDef(AliLRCProcess, 1);