]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGCF/FEMTOSCOPY/AliFemto/AliFemtoVertexMultAnalysis.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGCF / 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   AliFemtoVertexMultAnalysis& operator=(const AliFemtoVertexMultAnalysis& TheOriginalAnalysis);    
21   virtual void ProcessEvent(const AliFemtoEvent* ProcessThisEvent);
22   virtual ~AliFemtoVertexMultAnalysis();
23   virtual AliFemtoString Report();       //! returns reports of all cuts applied and correlation functions being done
24   virtual unsigned int OverflowVertexZ() const { return fOverFlowVertexZ;}
25   virtual unsigned int UnderflowVertexZ() const { return fUnderFlowVertexZ;}
26   virtual unsigned int OverflowMult() const { return fOverFlowMult;}
27   virtual unsigned int UnderflowMult() const { return fUnderFlowMult;}
28 protected:
29   double fVertexZ[2];                 /* min/max z-vertex position allowed to be processed */
30   unsigned int fVertexZBins;          /* number of VERTEX mixing bins in z-vertex in EventMixing Buffer */
31   unsigned int fOverFlowVertexZ;      /* number of events encountered which had too large z-vertex */
32   unsigned int fUnderFlowVertexZ;     /* number of events encountered which had too small z-vertex */
33   double fMult[2];                    /* min/max multiplicity allowed for event to be processed */
34   unsigned int fMultBins;             /* number of MULTIPLICITY mixing bins in z-vertex in EventMixing Buffer */
35   unsigned int fOverFlowMult;         /* number of events encountered which had too large multiplicity */
36   unsigned int fUnderFlowMult;        /* number of events encountered which had too small multiplicity */
37   
38 #ifdef __ROOT__
39   ClassDef(AliFemtoVertexMultAnalysis, 0)
40 #endif
41     
42 };
43
44 #endif