StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHbtLikeSignAnalysis.h
1 /***************************************************************************
2  *
3  * $Id: StHbtLikeSignAnalysis.h,v 1.3 2002/11/03 16:37:43 magestro Exp $
4  *
5  * Author: Frank Laue, Ohio State, laue@mps.ohio-state.edu
6  ***************************************************************************
7  *
8  * Description: part of STAR HBT Framework: StHbtMaker package
9  * This is the Class for Analysis objects. Each of the simultaneous
10  * Analyses running should have one of these instantiated. They link
11  * into the Manager in an Analysis Collection.
12  * This is an analysis which calculated the background from like sign
13  * pairs in the same event
14  *
15  ***************************************************************************/
16 
17 
18 #ifndef StHbtLikeSignAnalysis_hh
19 #define StHbtLikeSignAnalysis_hh
20 //#ifndef StMaker_H
21 //#include "StMaker.h"
22 //#endif
23 
24 #include "StHbtMaker/Base/StHbtBaseAnalysis.h" // base analysis class
25 #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
26 #include "StHbtMaker/Base/StHbtEventCut.h" // base class
27 #include "StHbtMaker/Base/StHbtParticleCut.h" // base class
28 #include "StHbtMaker/Base/StHbtPairCut.h" // base class
29 #include "StHbtMaker/Base/StHbtLikeSignCorrFctn.hh" // base class
30 #include "StHbtMaker/Infrastructure/StHbtAnalysis.h"
31 #include "StHbtMaker/Infrastructure/StHbtCorrFctnCollection.hh"
32 
33 
35 
36 public:
37 
38  StHbtLikeSignAnalysis(unsigned int bins=20, double min=-100., double max=100.);
39  StHbtLikeSignAnalysis(const StHbtLikeSignAnalysis&); // copy constructor
40  virtual ~StHbtLikeSignAnalysis();
41 
42  virtual void ProcessEvent(const StHbtEvent*);
43  virtual StHbtString Report();
44  virtual unsigned int Overflow() { return mOverFlow;}
45  virtual unsigned int Underflow() { return mUnderFlow;}
46 
47 protected:
48  double mVertexZ[2];
49  unsigned int mVertexBins;
50  unsigned int mOverFlow;
51  unsigned int mUnderFlow;
52 
53 #ifdef __ROOT__
54  ClassDef(StHbtLikeSignAnalysis, 0)
55 #endif
56 
57 };
58 
59 
60 #endif
virtual void ProcessEvent(const StHbtEvent *)
returns reports of all cuts applied and correlation functions being done