1 ///////////////////////////////////////////////////////////////////////////
3 // This is an analysis which calculated the background from like sign //
4 // pairs in the same event //
6 ///////////////////////////////////////////////////////////////////////////
7 #ifndef ALIFEMTOLIKESIGNANALYSIS_H
8 #define ALIFEMTOLIKESIGNANALYSIS_H
10 //#include "StMaker.h"
13 #include "AliFemtoBaseAnalysis.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 "AliFemtoAnalysis.h"
20 #include "AliFemtoCorrFctnCollection.h"
22 class AliFemtoEventCut;
23 class AliFemtoParticleCut;
24 class AliFemtoPairCut;
26 class AliFemtoLikeSignAnalysis : public AliFemtoAnalysis {
30 AliFemtoLikeSignAnalysis(unsigned int bins=20, double min=-100., double max=100.);
31 AliFemtoLikeSignAnalysis(const AliFemtoLikeSignAnalysis& OriginalAnalysis); // copy constructor
32 virtual ~AliFemtoLikeSignAnalysis();
34 virtual void ProcessEvent(const AliFemtoEvent* TheEventToBeProcessed);
35 virtual AliFemtoString Report();
36 virtual unsigned int Overflow() { return fOverFlow;}
37 virtual unsigned int Underflow() { return fUnderFlow;}
40 double fVertexZ[2]; /* min/max z-vertex position allowed to be processed */
41 unsigned int fVertexBins; /* number of mixing bins in z-vertex in EventMixing Buffer */
42 unsigned int fOverFlow; /* number of events encountered which had too large z-vertex */
43 unsigned int fUnderFlow; /* number of events encountered which had too small z-vertex */
46 ClassDef(AliFemtoLikeSignAnalysis, 0)