StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StPeCTrack.h
1 //
3 // $Id: StPeCTrack.h,v 1.7 2012/07/03 19:38:23 ramdebbe Exp $
4 // $Log: StPeCTrack.h,v $
5 // Revision 1.7 2012/07/03 19:38:23 ramdebbe
6 // raised ClassDef from 1 to 2
7 //
8 // Revision 1.6 2012/06/13 16:09:54 ramdebbe
9 // Overload constructor and set method to pass vertex information in StMuEvent
10 //
11 // Revision 1.5 2003/11/25 01:54:36 meissner
12 // correct several bugs: eta cut for tracks, charge sorting, add counting of FTPC and TPC primary tracks, Add bbc information
13 //
14 // Revision 1.4 2002/12/19 18:09:53 yepes
15 // MuDST input added
16 //
17 // Revision 1.3 2001/04/23 21:44:38 meissner
18 // add dEdx z variable to tree, setFormat(1) for tree, use private BetheBloch (temp solution)
19 //
20 // Revision 1.2 2001/02/21 20:54:25 yepes
21 // *** empty log message ***
22 //
23 // Revision 1.1 2000/04/21 19:12:25 nystrand
24 // First Version
25 //
26 // Revision 1.1 2000/03/24 22:36:56 nystrand
27 // First version of StPeCTrack
28 //
29 // Revision 1.0 2000/01/20 23:28:51 nystrand
30 // First Version of StPeCTrack
31 //
33 //
34 // StPeCTrack
35 //
36 // Pair class for Peripheral Collisions
37 //
39 #ifndef StPeCTrack_h
40 #define StPeCTrack_h
41 #include "Rtypes.h"
42 #include "TObject.h"
43 #include "TClonesArray.h"
44 #include "StPeCEnumerations.h"
45 #ifndef __CINT__
46 #include "PhysicalConstants.h"
47 #include "StEventTypes.h"
48 #include "StMuDSTMaker/COMMON/StMuTrack.h"
49 #endif /* __CINT__ */
50 #include "SystemOfUnits.h"
51 
52 class StPeCTrack : public TObject {
53 
54 public:
55 
56  StPeCTrack();
57  virtual ~StPeCTrack();
58 
59  void calculatePair4Momentum( ) ;
60  Int_t fill ( ) ;
61 #ifndef __CINT__
62  StPeCTrack(Int_t _primary, StMuTrack *trk, StMuEvent * mudst);
63  void set ( Int_t _primary, StMuTrack* trk, StMuEvent *mudst);
64  StPeCTrack ( Int_t _primary, StTrack *trk);
65  void set ( Int_t _primary, StTrack* trk);
66 #endif /*__CINT__*/
67  Int_t key ;
68  Int_t charge ;
69  Bool_t primary ;
70  Float_t pt ;
71  Float_t p ; // momentum
72  Float_t eta ;
73  Float_t psi ;
74  Float_t phi0 ;
75  Float_t length ;
76  Int_t vertexIndex;
77  Float_t vtxX;
78  Float_t vtxY;
79  Float_t vtxZ;
80  Float_t r0 ;
81  Float_t z0 ;
82  Float_t dedx ;
83  Float_t dedxZel ; // This is not c++ !!
84  Float_t dedxZmu;
85  Float_t dedxZpi ;
86  Float_t dedxZk ;
87  Float_t dedxZp ;
88  Float_t nHits ;
89  Float_t nSigmaEl;
90  Float_t nSigmaPi;
91  Float_t nSigmaK;
92  Float_t nSigmaP;
93 
94 
95 
96 
97 
98  Float_t getZdEdx(Float_t mass);
99 
100  ClassDef(StPeCTrack,2)
101 };
102 
103 
104 
105 
106 #endif
107 
108 
109 
110 
111