StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHbtReactionPlaneAnalysis.h
1 /***************************************************************************
2  *
3  * $Id: StHbtReactionPlaneAnalysis.h,v 1.4 2004/04/12 14:05:46 magestro Exp $
4  *
5  * Author: Randall Wells, Ohio State, rcwells@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  *
13  ***************************************************************************
14  *
15  * $Log: StHbtReactionPlaneAnalysis.h,v $
16  * Revision 1.4 2004/04/12 14:05:46 magestro
17  * Added Vz dimension to event-mixing
18  *
19  * Revision 1.2 2002/05/28 14:04:07 rcwells
20  * Added multiplicity binning to StHbtReactionPlaneAnalysis
21  *
22  * Revision 1.1 2001/07/13 20:03:14 rcwells
23  * Adding reaction plane analysis
24  *
25  *
26  **************************************************************************/
27 
28 #ifndef StHbtReactionPlaneAnalysis_hh
29 #define StHbtReactionPlaneAnalysis_hh
30 
31 #include "StHbtMaker/Infrastructure/StHbtAnalysis.h" // base analysis class
33 
35 
36 public:
37 
38  StHbtReactionPlaneAnalysis(int pTSwitch=1, unsigned int nBinPhi=1, double phiLo=-100., double phiHi=+100.,
39  unsigned int nBinsMult=1, double multLo=0, double multHi=999999,
40  unsigned int nBinsVert=1, double vertLo=-1000, double vertHi=1000);
41  StHbtReactionPlaneAnalysis(const StHbtReactionPlaneAnalysis&); // copy constructor
42  virtual void ProcessEvent(const StHbtEvent*);
43  virtual ~StHbtReactionPlaneAnalysis();
44  virtual StHbtString Report();
45  virtual unsigned int Overflow() { return mOverFlow;}
46  virtual unsigned int Underflow() { return mUnderFlow;}
47  double ReactionPlane();
48  double VertexZ();
49  int PtWeighting();
50 protected:
51  int mPtWgt;
52  double mVertexZ;
53  double mReactionPlaneAngle;
54  double mReactionPlane[2];
55  unsigned int mReactionPlaneBins;
56  unsigned int mOverFlow;
57  unsigned int mUnderFlow;
58 
59 #ifdef __ROOT__
60  ClassDef(StHbtReactionPlaneAnalysis, 0)
61 #endif
62 
63 };
64 
65 inline double StHbtReactionPlaneAnalysis::ReactionPlane(){return mReactionPlaneAngle;}
66 inline double StHbtReactionPlaneAnalysis::VertexZ(){return mVertexZ;}
67 
68 #endif
virtual unsigned int Overflow()
returns reports of all cuts applied and correlation functions being done
virtual void ProcessEvent(const StHbtEvent *)
returns reports of all cuts applied and correlation functions being done