ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/offline/packages/PHTpcTracker/PHTpcTrackFollower.h>
Public Member Functions | |
PHTpcTrackFollower () | |
virtual | ~PHTpcTrackFollower () |
std::vector< PHGenFit2::Track * > | followTracks (std::vector< kdfinder::TrackCandidate< double > * > &candidates, PHField *B, PHTpcLookup *lookup, PHGenFit2::Fitter *fitter) |
PHGenFit2::Track * | propagateTrack (kdfinder::TrackCandidate< double > *candidate, PHTpcLookup *lookup, PHGenFit2::Fitter *fitter) |
void | set_optimization_helix (bool opt=true) |
void | set_optimization_precise_fit (bool opt=true) |
Protected Member Functions | |
PHGenFit2::Track * | candidate_to_genfit (kdfinder::TrackCandidate< double > *candidate) |
PHGenFit::SpacepointMeasurement2 * | hit_to_measurement (std::vector< double > &hit) |
int | get_track_layer (PHGenFit2::Track *track, int dir=1) |
int | get_track_layer (genfit::Track *gftrack, int dir=1) |
std::pair < genfit::MeasuredStateOnPlane *, double > | get_projected_coordinate (genfit::Track *gftrack, int dir, double radius) |
std::pair < genfit::MeasuredStateOnPlane *, double > | get_projected_coordinate (genfit::Track *gftrack, int dir, const TVector3 &point) |
int | followTrack (PHGenFit2::Track *track, PHTpcLookup *lookup, PHGenFit2::Fitter *fitter, int dir=1) |
Private Attributes | |
bool | mOptHelix |
bool | mOptPreciseFit |
Definition at line 49 of file PHTpcTrackFollower.h.
View newest version in sPHENIX GitHub at line 49 of file PHTpcTrackFollower.h
PHTpcTrackFollower::PHTpcTrackFollower | ( | ) |
Definition at line 54 of file PHTpcTrackFollower.cc.
View newest version in sPHENIX GitHub at line 54 of file PHTpcTrackFollower.cc
|
inlinevirtual |
Definition at line 53 of file PHTpcTrackFollower.h.
View newest version in sPHENIX GitHub at line 53 of file PHTpcTrackFollower.h
|
protected |
Definition at line 297 of file PHTpcTrackFollower.cc.
View newest version in sPHENIX GitHub at line 297 of file PHTpcTrackFollower.cc
References PHGenFit2::Track::addMeasurements(), kdfinder::TrackCandidate< T >::getHit(), kdfinder::TrackCandidate< T >::getMomForHit(), kdfinder::TrackCandidate< T >::getPosForHit(), hit_to_measurement(), kdfinder::TrackCandidate< T >::nhits(), kdfinder::TrackCandidate< T >::sign(), and track.
Referenced by propagateTrack().
|
protected |
Definition at line 523 of file PHTpcTrackFollower.cc.
View newest version in sPHENIX GitHub at line 523 of file PHTpcTrackFollower.cc
References PHGenFit2::Track::addMeasurement(), dir, PHTpcLookup::find(), get_projected_coordinate(), get_track_layer(), PHGenFit2::Track::getGenFitTrack(), hit_to_measurement(), G4TTL::layer, LOG_DEBUG, LOG_DEBUG_IF, LOG_ERROR, max, pos(), PHGenFit2::Fitter::processTrackPartially(), PHTpcConst::TPC_LAYERS_DELTAR, PHTpcConst::TPC_LAYERS_MAX, and PHTpcConst::TPC_LAYERS_RADIUS.
Referenced by propagateTrack().
std::vector< PHGenFit2::Track * > PHTpcTrackFollower::followTracks | ( | std::vector< kdfinder::TrackCandidate< double > * > & | candidates, |
PHField * | B, | ||
PHTpcLookup * | lookup, | ||
PHGenFit2::Fitter * | fitter | ||
) |
Definition at line 60 of file PHTpcTrackFollower.cc.
View newest version in sPHENIX GitHub at line 60 of file PHTpcTrackFollower.cc
References a, b, PHGenFit2::Track::get_cluster_keys(), PHGenFit2::Track::getGenFitTrack(), it, LOG_DEBUG, kdfinder::TrackCandidate< T >::nhits(), and propagateTrack().
Referenced by PHTpcTracker::Process().
|
protected |
Definition at line 402 of file PHTpcTrackFollower.cc.
View newest version in sPHENIX GitHub at line 402 of file PHTpcTrackFollower.cc
References Acts::IntegrationTest::Bz, charge, Acts::UnitConstants::h, LOG_DEBUG, mom, mOptHelix, pos(), posX, posY, posZ, pt, and kdfinder::Helix< T >::second.
Referenced by followTrack().
|
protected |
Definition at line 486 of file PHTpcTrackFollower.cc.
View newest version in sPHENIX GitHub at line 486 of file PHTpcTrackFollower.cc
|
protected |
Definition at line 343 of file PHTpcTrackFollower.cc.
View newest version in sPHENIX GitHub at line 343 of file PHTpcTrackFollower.cc
References dir, and PHGenFit2::Track::getGenFitTrack().
Referenced by followTrack().
Definition at line 348 of file PHTpcTrackFollower.cc.
View newest version in sPHENIX GitHub at line 348 of file PHTpcTrackFollower.cc
References dir, G4TTL::layer, LOG_DEBUG, LOG_ERROR, mom, pos(), pt, PHTpcConst::TPC_LAYERS_DELTAR, PHTpcConst::TPC_LAYERS_MAX, and PHTpcConst::TPC_LAYERS_RADIUS.
|
protected |
Definition at line 334 of file PHTpcTrackFollower.cc.
View newest version in sPHENIX GitHub at line 334 of file PHTpcTrackFollower.cc
References pos(), and PHGenFit::Measurement::set_cluster_key().
Referenced by candidate_to_genfit(), and followTrack().
PHGenFit2::Track * PHTpcTrackFollower::propagateTrack | ( | kdfinder::TrackCandidate< double > * | candidate, |
PHTpcLookup * | lookup, | ||
PHGenFit2::Fitter * | fitter | ||
) |
Definition at line 151 of file PHTpcTrackFollower.cc.
View newest version in sPHENIX GitHub at line 151 of file PHTpcTrackFollower.cc
References candidate_to_genfit(), followTrack(), PHGenFit2::Track::getGenFitTrack(), kdfinder::TrackCandidate< T >::getHits(), kdfinder::TrackCandidate< T >::getMomForHit(), kdfinder::TrackCandidate< T >::getPosForHit(), hits(), LOG_DEBUG, kdfinder::TrackCandidate< T >::momentum(), mOptPreciseFit, PHGenFit2::Fitter::processTrack1(), PHGenFit2::Fitter::processTrack5(), and PHTpcConst::TPC_LAYERS_MAX.
Referenced by followTracks().
Definition at line 61 of file PHTpcTrackFollower.h.
View newest version in sPHENIX GitHub at line 61 of file PHTpcTrackFollower.h
References mOptHelix.
Referenced by PHTpcTracker::set_track_follower_optimization_helix().
Definition at line 62 of file PHTpcTrackFollower.h.
View newest version in sPHENIX GitHub at line 62 of file PHTpcTrackFollower.h
References mOptPreciseFit.
Referenced by PHTpcTracker::set_track_follower_optimization_precise_fit().
|
private |
Definition at line 74 of file PHTpcTrackFollower.h.
View newest version in sPHENIX GitHub at line 74 of file PHTpcTrackFollower.h
Referenced by get_projected_coordinate(), and set_optimization_helix().
|
private |
Definition at line 75 of file PHTpcTrackFollower.h.
View newest version in sPHENIX GitHub at line 75 of file PHTpcTrackFollower.h
Referenced by propagateTrack(), and set_optimization_precise_fit().