StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StKinkLocalTrack.hh
1 
9 #ifndef StKinkLocalTrack_hh
10 #define StKinkLocalTrack_hh
11 
12 #include "TObject.h"
13 #include "StThreeVectorD.hh"
14 class StTrack;
15 
16 class StKinkLocalTrack:public TObject {
17 public:
20 
21 
22  // StKinkLocalTrack(const StKinkLocalTrack&); use default
23  // const StKinkLocalTrack& operator=(const StKinkLocalTrack&); use default
24 
25  Int_t Compare(const TObject *obj) const;
26  Bool_t IsSortable() const { return 1; }
27  Bool_t IsEqual(const TObject *obj) const;
28 
29  Float_t endRadius2D() const;
30  Float_t startRadius2D() const;
31  StTrack* trackBack()const;
32 
33 protected:
34 
35  StThreeVectorD mStartPoint;
36  StThreeVectorD mLastPoint;
37  Float_t mEndRadius2D;
38  Float_t mStartRadius2D;
39  StTrack* mTrack;
40 
41 private:
42 ClassDef(StKinkLocalTrack,0)
43 };
44 
45 inline Float_t StKinkLocalTrack::endRadius2D() const { return mEndRadius2D; }
46 inline Float_t StKinkLocalTrack::startRadius2D() const { return mStartRadius2D; }
47 inline StTrack* StKinkLocalTrack::trackBack()const {return mTrack;}
48 
49 #endif
auxiliary class for the kink finder