]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FEMTOSCOPY/AliFemto/AliFemtoVertexMultAnalysis.h
Port changes from v4-06-Release to the HEAD
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemto / AliFemtoVertexMultAnalysis.h
1 ////////////////////////////////////////////////////////////////////////////
2 //                                                                        //
3 // AliFemtoVertexMultAnalysis - Femtoscopic analysis which mixes event    //
4 // with respect to the z position of the primary vertex and event total   //
5 // multiplicity                                                           //
6 //                                                                        //
7 ////////////////////////////////////////////////////////////////////////////
8
9 #ifndef ALIFEMTOVERTEXMULTANALYSIS_H
10 #define ALIFEMTOVERTEXMULTANALYSIS_H
11
12 #include "AliFemtoSimpleAnalysis.h"        // base analysis class
13
14 class AliFemtoVertexMultAnalysis : public AliFemtoSimpleAnalysis {
15
16 public:
17
18   AliFemtoVertexMultAnalysis(unsigned int binsVertex=10, double minVertex=-100., double maxVertex=+100., unsigned int binsMult=10, double minMult=-1.e9, double maxMult=+1.e9);
19   AliFemtoVertexMultAnalysis(const AliFemtoVertexMultAnalysis& TheOriginalAnalysis);  // copy constructor
20   virtual void ProcessEvent(const AliFemtoEvent* ProcessThisEvent);
21   virtual ~AliFemtoVertexMultAnalysis();
22   virtual AliFemtoString Report();       //! returns reports of all cuts applied and correlation functions being done
23   virtual unsigned int OverflowVertexZ() const { return fOverFlowVertexZ;}
24   virtual unsigned int UnderflowVertexZ() const { return fUnderFlowVertexZ;}
25   virtual unsigned int OverflowMult() const { return fOverFlowMult;}
26   virtual unsigned int UnderflowMult() const { return fUnderFlowMult;}
27 protected:
28   double fVertexZ[2];                 /* min/max z-vertex position allowed to be processed */
29   unsigned int fVertexZBins;          /* number of VERTEX mixing bins in z-vertex in EventMixing Buffer */
30   unsigned int fOverFlowVertexZ;      /* number of events encountered which had too large z-vertex */
31   unsigned int fUnderFlowVertexZ;     /* number of events encountered which had too small z-vertex */
32   double fMult[2];                    /* min/max multiplicity allowed for event to be processed */
33   unsigned int fMultBins;             /* number of MULTIPLICITY mixing bins in z-vertex in EventMixing Buffer */
34   unsigned int fOverFlowMult;         /* number of events encountered which had too large multiplicity */
35   unsigned int fUnderFlowMult;        /* number of events encountered which had too small multiplicity */
36   
37 #ifdef __ROOT__
38   ClassDef(AliFemtoVertexMultAnalysis, 0)
39 #endif
40     
41 };
42
43 #endif