11 #include "TrackUtil.h"
13 #include "ThreeDPoint.h"
14 #include "TrackFindingParameters.h"
16 int const USE_SEGMENT= 1 ;
17 int const USE_FOLLOW = 2 ;
18 int const GO_DOWN =-1 ;
33 Hit* getCurrentHit ( ) {
return currentHit ; } ;
79 double ddXy, a1Xy, a2Xy ;
80 double ddSz, a1Sz, a2Sz ;
93 int getErrorsCircleFit (
double a,
double b,
double r ) ;
96 double arcLength (
double x1,
double y1,
double x2,
double y2 ) ;
97 ThreeDPoint closestApproach (
double xBeam,
double yBeam ) ;
99 int extraRCyl (
double& r,
double& phi,
double& z,
double& rc,
double& xc,
double& yc ) ;
100 int intersectorZLine(
double a,
double b,
ThreeDPoint& cross ) ;
101 ThreeDPoint getClosest (
double xBeam,
double yBeam,
double& rc,
double& xc,
double& yc ) ;
102 int getClosest (
double xBeam,
double yBeam,
double rc,
double xc,
double yc,
double& xClosest,
double& yClosest ) ;
104 void updateToRadius (
double r ) ;
105 void updateToClosestApproach (
double xBeam,
double yBeam ) ;
106 int phiRotate (
double deltaPhi ) ;
108 inline virtual void startLoop ( ){ currentHit = firstHit ; } ;
109 inline virtual int done ( ) {
return currentHit != 0 ; } ;
110 void Print (
int level ) ;
112 void add (
Hit* thisHit,
int way ) ;
113 void add (
Track* thisTrack ) ;
116 void deleteCandidate ( ) ;
118 void fillPrimary (
double& xc,
double& yc,
double& rc,
double xPar,
double yPar ) ;
119 void fillSecondary (
double& xc,
double& yc,
double xPar,
double yPar ) ;
120 int follow (
Container* volume,
int way,
int rowToStop ) ;
121 int followHitSelection (
Hit* baseHit,
Hit* candidateHit ) ;
122 Track* getNextTrack ( ) {
return nxatrk ; } ;
125 Hit* seekNextHit (
Container* volume,
Hit* baseHit,
int nradiusSteps,
int whichFunction ) ;
126 int segment (
Container* volume,
int way ) ;
127 int segmentHitSelection (
Hit* baseHit,
Hit* candidateHit ) ;
132 void debugDeleteCandidate ( ) ;
134 void debugFollowCandidate (
Hit* candidate_hit ) ;
135 void debugFollowSuccess (
double dxy,
double dsz,
double lchi2_xy,
136 double lchi2_sz,
double chi2_min,
137 Hit* candidate_hit ) ;
138 void debugInVolume (
Hit* base_hit,
Hit* current_hit ) ;
144 inline virtual void nextHit (){ currentHit = (currentHit)->nextTrackHit ; } ;
Definition: TrackUtil.h:51
Definition: TrackFindingParameters.h:15
Definition: TrackUtil.h:58
Definition: ThreeDPoint.h:13