StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StDcaAnalysis.h
1 /***************************************************************************
2  *
3  * $Id: StDcaAnalysis.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: StDcaAnalysis.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 StDcaAnalysis_H
21 #define StDcaAnalysis_H
22 
23 
24 #include "StHiBaseAnalysis.h"
25 
27  public:
28  StDcaAnalysis(const char* inputDir="./",
29  const char* outRootName="hianalysis.hist.root");
30  virtual ~StDcaAnalysis();
31 
32  protected:
33 
34  void initHistograms();
35 
36  Bool_t acceptEvent(StHiMicroEvent*);
37 
38  void trackLoop();
39 
40  Int_t findSector(Float_t phi, Char_t ew);
41 
42  //###### histograms
43 
44  struct Dca{
45  // global pt
46  TH3D* hPosGlPtZFD;
47  TH3D* hNegGlPtZFD;
48  TH3D* hPosPlusNegGlPtZFD;
49  TH3D* hPosMinusNegGlPtZFD;
50  // primary pt
51  TH3D* hPosPrPtZFD;
52  TH3D* hNegPrPtZFD;
53  TH3D* hPosPlusNegPrPtZFD;
54  TH3D* hPosMinusNegPrPtZFD;
55  };
56  Dca dca[3];
57 
58 
59  ClassDef(StDcaAnalysis,1)
60 };
61 
62 #endif