StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
gl3RICH.h
1 //:>------------------------------------------------------------------
2 //: FILE: gl3RICH.h
3 //: HISTORY:
4 //: 22Jun2K version 1.00
5 //:<------------------------------------------------------------------
6 #include "Stl3Util/gl3/gl3Algorithm.h"
7 
8 #ifndef GL3RICH
9 #define GL3RICH
10 
11 #ifdef GL3ROOT
12 
13 #include "TH2.h"
14 #include "TNtuple.h"
15 #include "TProfile.h"
16 
17 #endif
18 
19 
20 
21 class gl3RICH: public gl3Algorithm {
22 
23 public:
24  virtual int init ( ) ;
25 
26  virtual int setParameters(int maxAbsVertz, int minNoOfHits, int are, int place , int holders, float minP, float minPt, float minR, float maxDCA, float minimumAbsEta );
27 
28  virtual int decide ( ) ;
29  virtual int end ( ) ;
30 
31  virtual const int getAlgorithmID()
32  { return L3_ALGORITHM_RICH; }
33  virtual const char *getAlgorithmName()
34  { return L3_ALGORITHM_RICH_NAME; }
35 
36 
37 private:
38  double mGlobalRichEdgeXmin;
39  double mGlobalRichEdgeXmax;
40  double mGlobalRichEdgeYmin;
41  double mGlobalRichEdgeYmax;
42  double mGlobalRichEdgeZmin;
43  double mGlobalRichEdgeZmax;
44 
45  // Cylindrical coordinates: 5 o'clock = -60 degrees
46  double mLocalOriginR;
47  double mLocalOriginPhi;
48 
49  double maxAbsEventVertZ;
50  int minNoOfHitsOnTrack;
51  double minPExtrapolated2Rich;
52  double minPtExtrapolated2Rich;
53  double minRofLastPointOnTrack;
54  double maxDCAToEventVertex;
55  double minAbsEta;
56 
57 
58 
59 #ifdef GL3ROOT
60  TH1D* hPtGlobalPosRICH;
61  TH1D* hPtGlobalNegRICH;
62 
63  TH1D* hPGlobalPosRICH;
64  TH1D* hPGlobalNegRICH;
65 
66  TH1D* hnHitsGlobalPosRICH;
67  TH1D* hnHitsGlobalNegRICH;
68 
69  TH1D* hXVertex;
70  TH1D* hYVertex;
71  TH1D* hZVertex;
72 
73  TH1D* hdcaGlobal;
74  TH1D* hetaRICH;
75  TH1D* hRLast;
76 #endif
77 
78 };
79 #endif