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