]>
Commit | Line | Data |
---|---|---|
76ce4b5b | 1 | /////////////////////////////////////////////////////////////////////////// |
2 | // // | |
3 | // This is an analysis which calculated the background from like sign // | |
4 | // pairs in the same event // | |
5 | // // | |
6 | /////////////////////////////////////////////////////////////////////////// | |
7 | #ifndef ALIFEMTOLIKESIGNANALYSIS_H | |
8 | #define ALIFEMTOLIKESIGNANALYSIS_H | |
9 | //#ifndef StMaker_H | |
10 | //#include "StMaker.h" | |
11 | //#endif | |
12 | ||
13 | #include "AliFemtoAnalysis.h" // base analysis class | |
14 | #include "AliFemtoTypes.h" | |
15 | //#include "AliFemtoEventCut.h" // base class | |
16 | //#include "AliFemtoParticleCut.h" // base class | |
17 | //#include "AliFemtoPairCut.h" // base class | |
18 | #include "AliFemtoLikeSignCorrFctn.h" // base class | |
19 | #include "AliFemtoSimpleAnalysis.h" | |
20 | #include "AliFemtoCorrFctnCollection.h" | |
21 | ||
22 | class AliFemtoEventCut; | |
23 | class AliFemtoParticleCut; | |
24 | class AliFemtoPairCut; | |
25 | ||
26 | class AliFemtoLikeSignAnalysis : public AliFemtoSimpleAnalysis { | |
27 | ||
28 | public: | |
29 | ||
30 | AliFemtoLikeSignAnalysis(unsigned int bins=20, double min=-100., double max=100.); | |
31 | AliFemtoLikeSignAnalysis(const AliFemtoLikeSignAnalysis& OriginalAnalysis); // copy constructor | |
32 | AliFemtoLikeSignAnalysis& operator=(const AliFemtoLikeSignAnalysis& OriginalAnalysis); | |
33 | virtual ~AliFemtoLikeSignAnalysis(); | |
34 | ||
35 | virtual void ProcessEvent(const AliFemtoEvent* TheEventToBeProcessed); | |
36 | virtual AliFemtoString Report(); | |
37 | virtual unsigned int Overflow() { return fOverFlow;} | |
38 | virtual unsigned int Underflow() { return fUnderFlow;} | |
39 | ||
40 | protected: | |
41 | double fVertexZ[2]; /* min/max z-vertex position allowed to be processed */ | |
42 | unsigned int fVertexBins; /* number of mixing bins in z-vertex in EventMixing Buffer */ | |
43 | unsigned int fOverFlow; /* number of events encountered which had too large z-vertex */ | |
44 | unsigned int fUnderFlow; /* number of events encountered which had too small z-vertex */ | |
45 | ||
46 | #ifdef __ROOT__ | |
47 | ClassDef(AliFemtoLikeSignAnalysis, 0) | |
48 | #endif | |
49 | ||
50 | }; | |
51 | ||
52 | ||
53 | #endif |