]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGCF/FEMTOSCOPY/AliFemto/AliFemtoVertexAnalysis.h
Testing the patch
[u/mrichter/AliRoot.git] / PWGCF / FEMTOSCOPY / AliFemto / AliFemtoVertexAnalysis.h
1 ////////////////////////////////////////////////////////////////////////////
2 //                                                                        //
3 // AliFemtoVertexAnalysis - Femtoscopic analysis which mixes events       //
4 // with respect to the z position of the primary vertex                   //
5 //                                                                        //
6 ////////////////////////////////////////////////////////////////////////////
7
8 /***************************************************************************
9  * Collection and analysis for vertex dependent event mixing
10  * Frank Laue, Ohio State, 2000
11  *
12  **************************************************************************/
13
14 #ifndef ALIFEMTOVERTEXANALYSIS_H
15 #define ALIFEMTOVERTEXANALYSIS_H
16
17 #include "AliFemtoSimpleAnalysis.h"        // base analysis class
18
19 class AliFemtoVertexAnalysis : public AliFemtoSimpleAnalysis {
20
21 public:
22
23   AliFemtoVertexAnalysis(unsigned int bins=10, double min=-100., double max=+100.);
24   AliFemtoVertexAnalysis(const AliFemtoVertexAnalysis& OriginalAnalysis);  // copy constructor
25   AliFemtoVertexAnalysis& operator=(const AliFemtoVertexAnalysis& OriginalAnalysis);  
26   virtual void ProcessEvent(const AliFemtoEvent* ProcessThisEvent);
27   virtual ~AliFemtoVertexAnalysis();
28   virtual AliFemtoString Report();       //! returns reports of all cuts applied and correlation functions being done
29   virtual unsigned int Overflow() { return fOverFlow;}
30   virtual unsigned int Underflow() { return fUnderFlow;}
31 protected:
32   double fVertexZ[2];            /* min/max z-vertex position allowed to be processed */
33   unsigned int fVertexBins;      /* number of mixing bins in z-vertex in EventMixing Buffer */
34   unsigned int fOverFlow;        /* number of events encountered which had too large z-vertex */
35   unsigned int fUnderFlow;       /* number of events encountered which had too small z-vertex */
36   
37 #ifdef __ROOT__
38   ClassDef(AliFemtoVertexAnalysis, 0)
39 #endif
40     
41 };
42
43 #endif