10 #include "StKinkLocalTrack.hh"
11 #include "SystemOfUnits.h"
12 #include "StTrackGeometry.h"
16 #ifndef ST_NO_NAMESPACES
17 using namespace units;
21 StKinkLocalTrack::StKinkLocalTrack()
27 StKinkLocalTrack::StKinkLocalTrack(
StTrack* trk)
30 mStartPoint = trkGeom->origin();
31 mStartRadius2D = mStartPoint.perp();
34 mLastPoint = trkGeomo->origin();
35 mEndRadius2D = mLastPoint.perp();
40 Int_t StKinkLocalTrack::Compare(
const TObject *obj)
const
47 Bool_t StKinkLocalTrack::IsEqual(
const TObject *obj)
const
49 if (
this == obj)
return 1;
50 if (StKinkLocalTrack::Class() != obj->IsA())
return 0;
auxiliary class for the kink finder