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