LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "PMAlgStitching.h"
Classes | |
struct | Config |
Public Member Functions | |
PMAlgStitching (const pma::PMAlgStitching::Config &config) | |
void | StitchTracksCPA (const detinfo::DetectorClocksData &clockData, const detinfo::DetectorPropertiesData &detProp, pma::TrkCandidateColl &tracks) |
void | StitchTracksAPA (const detinfo::DetectorClocksData &clockData, const detinfo::DetectorPropertiesData &detProp, pma::TrkCandidateColl &tracks) |
Private Member Functions | |
void | StitchTracks (const detinfo::DetectorClocksData &clockData, const detinfo::DetectorPropertiesData &detProp, pma::TrkCandidateColl &tracks, bool isCPA) |
double | GetOptimalStitchShift (TVector3 &pos1, TVector3 &pos2, TVector3 &dir1, TVector3 &dir2, double &shift) const |
double | GetTrackPairDelta (TVector3 &pos1, TVector3 &pos2, TVector3 &dir1, TVector3 &dir2) const |
void | GetTPCXOffsets () |
double | GetTPCOffset (unsigned int tpc, unsigned int cryo, bool isCPA) |
Private Attributes | |
std::map< geo::TPCID, double > | fTPCXOffsetsAPA |
std::map< geo::TPCID, double > | fTPCXOffsetsCPA |
double | fStitchingThreshold |
unsigned int | fNodesFromEnd |
Definition at line 29 of file PMAlgStitching.h.
pma::PMAlgStitching::PMAlgStitching | ( | const pma::PMAlgStitching::Config & | config | ) |
Definition at line 20 of file PMAlgStitching.cxx.
References fNodesFromEnd, fStitchingThreshold, GetTPCXOffsets(), pma::PMAlgStitching::Config::NodesFromEnd, and pma::PMAlgStitching::Config::StitchingThreshold.
|
private |
Definition at line 307 of file PMAlgStitching.cxx.
References GetTrackPairDelta().
Referenced by StitchTracks().
|
private |
Definition at line 402 of file PMAlgStitching.cxx.
References fTPCXOffsetsAPA, and fTPCXOffsetsCPA.
Referenced by StitchTracks().
|
private |
Definition at line 360 of file PMAlgStitching.cxx.
References fTPCXOffsetsAPA, fTPCXOffsetsCPA, geo::TPCGeo::GetCenter(), geo::PlaneGeo::GetCenter(), geo::TPCGeo::HalfHeight(), geo::TPCGeo::HalfWidth(), geo::TPCGeo::HasPlane(), geo::TPCGeo::Length(), and geo::TPCGeo::Plane().
Referenced by PMAlgStitching().
|
private |
|
private |
Definition at line 52 of file PMAlgStitching.cxx.
References pma::Track3D::ApplyDriftShiftInTree(), pma::Track3D::BackCryo(), pma::Track3D::BackTPC(), pma::Track3D::Flip(), fNodesFromEnd, pma::Track3D::FrontCryo(), pma::Track3D::FrontTPC(), fStitchingThreshold, pma::TrkCandidateColl::getCandidateIndex(), pma::TrkCandidateColl::getCandidateTreeId(), GetOptimalStitchShift(), pma::Track3D::GetRoot(), GetTPCOffset(), pma::TrkCandidateColl::merge(), pma::Track3D::Nodes(), pma::TrkCandidateColl::setTreeOriginAtFront(), pma::TrkCandidateColl::size(), t1, t2, and pma::TrkCandidateColl::tracks().
Referenced by StitchTracksAPA(), and StitchTracksCPA().
void pma::PMAlgStitching::StitchTracksAPA | ( | const detinfo::DetectorClocksData & | clockData, |
const detinfo::DetectorPropertiesData & | detProp, | ||
pma::TrkCandidateColl & | tracks | ||
) |
Definition at line 41 of file PMAlgStitching.cxx.
References pma::TrkCandidateColl::size(), and StitchTracks().
Referenced by pma::PMAlgTracker::build().
void pma::PMAlgStitching::StitchTracksCPA | ( | const detinfo::DetectorClocksData & | clockData, |
const detinfo::DetectorPropertiesData & | detProp, | ||
pma::TrkCandidateColl & | tracks | ||
) |
Definition at line 32 of file PMAlgStitching.cxx.
References pma::TrkCandidateColl::size(), and StitchTracks().
Referenced by pma::PMAlgTracker::build().
|
private |
Definition at line 81 of file PMAlgStitching.h.
Referenced by PMAlgStitching(), and StitchTracks().
|
private |
Definition at line 79 of file PMAlgStitching.h.
Referenced by PMAlgStitching(), and StitchTracks().
|
private |
Definition at line 75 of file PMAlgStitching.h.
Referenced by GetTPCOffset(), and GetTPCXOffsets().
|
private |
Definition at line 76 of file PMAlgStitching.h.
Referenced by GetTPCOffset(), and GetTPCXOffsets().