]>
Commit | Line | Data |
---|---|---|
76ce4b5b | 1 | //////////////////////////////////////////////////////////////////////////////// |
2 | /// /// | |
3 | /// AliFemtoChi2CorrFctn - A correlation function that saves the correlation /// | |
4 | /// function as a function of single track quality (chi2/ndof) for its and /// | |
5 | /// tpc /// | |
6 | /// Authors: Adam Kisiel kisiel@mps.ohio-state.edu /// | |
7 | /// /// | |
8 | //////////////////////////////////////////////////////////////////////////////// | |
9 | ||
10 | #ifndef ALIFEMTOCHI2CORRFCTN_H | |
11 | #define ALIFEMTOCHI2CORRFCTN_H | |
12 | ||
13 | #include "TH1D.h" | |
14 | #include "TH2D.h" | |
15 | #include "AliFemtoCorrFctn.h" | |
16 | ||
17 | class AliFemtoChi2CorrFctn : public AliFemtoCorrFctn { | |
18 | public: | |
19 | AliFemtoChi2CorrFctn(char* title, const int& nbins, const float& QinvLo, const float& QinvHi); | |
20 | AliFemtoChi2CorrFctn(const AliFemtoChi2CorrFctn& aCorrFctn); | |
21 | virtual ~AliFemtoChi2CorrFctn(); | |
22 | ||
23 | AliFemtoChi2CorrFctn& operator=(const AliFemtoChi2CorrFctn& aCorrFctn); | |
24 | ||
25 | virtual AliFemtoString Report(); | |
26 | virtual void AddRealPair(AliFemtoPair* aPair); | |
27 | virtual void AddMixedPair(AliFemtoPair* aPair); | |
28 | ||
29 | virtual void Finish(); | |
30 | ||
31 | void WriteHistos(); | |
32 | virtual TList* GetOutputList(); | |
33 | private: | |
34 | ||
35 | TH2D *fChi2ITSSUMNumerator; // Numerator as a function of ITS quality sum for the pair | |
36 | TH2D *fChi2ITSSUMDenominator; // Denominator as a function of ITS quality sum for the pair | |
37 | ||
38 | TH2D *fChi2TPCSUMNumerator; // Numerator as a function of TPC quality sum for the pair | |
39 | TH2D *fChi2TPCSUMDenominator; // Denominator as a function of TPC quality sum for the pair | |
40 | ||
41 | TH2D *fChi2ITSONENumerator; // Numerator as a function of ITS quality for the worse track | |
42 | TH2D *fChi2ITSONEDenominator; // Denominator as a function of ITS quality for the worse track | |
43 | ||
44 | TH2D *fChi2TPCONENumerator; // Numerator as a function of TPC quality for the worse track | |
45 | TH2D *fChi2TPCONEDenominator; // Denominator as a function of TPC quality for the worse track | |
46 | ||
47 | TH2D *fSigmaToVertexNumerator; // Numerator as a function of sigma to vertex | |
48 | TH2D *fSigmaToVertexDenominator; // Numerator as a function of sigma to vertex | |
49 | ||
50 | #ifdef __ROOT__ | |
51 | ClassDef(AliFemtoChi2CorrFctn, 1) | |
52 | #endif | |
53 | }; | |
54 | ||
55 | ||
56 | #endif | |
57 |