StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StBadDcaAnalysis.h
1 /***************************************************************************
2  *
3  * $Id: StBadDcaAnalysis.h,v 1.1 2002/04/02 20:05:18 jklay Exp $
4  *
5  * Author: Bum Choi, UT Austin, Apr 2002
6  *
7  ***************************************************************************
8  *
9  * Description: Class to look at DCA information from highpt uDSTs
10  *
11  *
12  ***************************************************************************
13  *
14  * $Log: StBadDcaAnalysis.h,v $
15  * Revision 1.1 2002/04/02 20:05:18 jklay
16  * Bums analysis tools for highpt uDSTs
17  *
18  *
19  **************************************************************************/
20 #ifndef StBadDcaAnalysis_H
21 #define StBadDcaAnalysis_H
22 
23 
24 #include "StHiBaseAnalysis.h"
25 
27  public:
28  StBadDcaAnalysis(const char* inputDir="./",
29  const char* outRootName="hianalysis.hist.root");
30  virtual ~StBadDcaAnalysis();
31 
32  protected:
33 
34  Int_t initMore();
35  void initHistograms();
36  void fillEventHistograms();
37  void finishHistograms();
38 
39  void trackLoop();
40 
41 
42 
43  Bool_t acceptEvent(StHiMicroEvent*);
44 
45 
46  //***************************************************************
47  // histograms
48  //
49 
50  struct PlusMinus{
51  // dcaxy, fit pts, pt
52  TH3D* h3DcaXYGlFitPtsPtPr;
53 
54  // dcaxy, all pts, pt
55  TH3D* h3DcaXYGlAllPtsPtPr;
56 
57  // dcaxy, ratio pts, pt
58  TH3D* h3DcaXYGlRatioPtsPtPr;
59 
60  // dcaxy, first hit row, pt
61  TH3D* h3DcaXYGlFirstRowPtPr;
62 
63  // dcaxy, last hit row, pt
64  TH3D* h3DcaXYGlLastRowPtPr;
65 
66  // dcaxy, local phi, pt
67  TH3D* h3DcaXYGlLocalPhiPtPr;
68 
69  };
70 
71  PlusMinus pm[2];
72 
73  ClassDef(StBadDcaAnalysis,1)
74 
75 };
76 #endif