6 #ifndef PMAlgStitching_h 7 #define PMAlgStitching_h 32 Name(
"StitchingThreshold"),
33 Comment(
"The maximum value allowed for the stitching score. Has dimensions of length, and 10.0(cm) is a reasonable value.")
38 Comment(
"Number of nodes we step back from the ends of the tracks to perform the stitching extrapolation.")
57 double GetOptimalStitchShift(TVector3 &pos1, TVector3 &pos2, TVector3 &dir1, TVector3 &dir2,
double &shift);
58 double GetTrackPairDelta(TVector3 &pos1, TVector3 &pos2, TVector3 &dir1, TVector3 &dir2);
61 double GetTPCOffset(
unsigned int tpc,
unsigned int cryo,
bool isCPA);
double GetTrackPairDelta(TVector3 &pos1, TVector3 &pos2, TVector3 &dir1, TVector3 &dir2)
double GetTPCOffset(unsigned int tpc, unsigned int cryo, bool isCPA)
PMAlgStitching(const pma::PMAlgStitching::Config &config)
unsigned int fNodesFromEnd
void StitchTracksCPA(pma::TrkCandidateColl &tracks)
fhicl::Atom< int > StitchingThreshold
Definition of data types for geometry description.
Track finding helper for the Projection Matching Algorithm.
double GetOptimalStitchShift(TVector3 &pos1, TVector3 &pos2, TVector3 &dir1, TVector3 &dir2, double &shift)
void StitchTracksAPA(pma::TrkCandidateColl &tracks)
fhicl::Atom< unsigned int > NodesFromEnd
double fStitchingThreshold
std::map< geo::TPCID, double > fTPCXOffsetsCPA
std::map< geo::TPCID, double > fTPCXOffsetsAPA
void StitchTracks(pma::TrkCandidateColl &tracks, bool isCPA)