StRoot
1
|
Public Member Functions | |
void | initialize (TString geoCache, bool genHistograms) |
Initialize FwdTracker. More... | |
void | finish () |
![]() | |
const std::vector < GenfitTrackResult > & | getTrackResults () const |
const std::vector< Seed_t > & | getTrackSeeds () const |
const EventStats & | getEventStats () const |
void | Clear () |
void | setConfigFile (std::string cf) |
Set the Config File object. More... | |
void | setSaveCriteriaValues (bool save) |
Set the Save Criteria Values object. More... | |
void | setConfig (FwdTrackerConfig cfg) |
void | setData (std::shared_ptr< FwdDataSource >data) |
std::vector < KiTrack::ICriterion * > | loadCriteria (string path) |
Loads Criteria from XML configuration. Utility function for loading criteria from XML config. More... | |
void | clearCriteria (std::vector< KiTrack::ICriterion * > &crits) |
Clear the loaded criteria. More... | |
std::vector< float > | getCriteriaValues (std::string crit_name) |
Get the Criteria Values object. More... | |
std::vector< std::map < std::string, float > > | getCriteriaAllValues (std::string crit_name) |
Get the Criteria All Values object. More... | |
std::vector< int > | getCriteriaTrackIds (std::string crit_name) |
Get the Criteria Track Ids object. More... | |
void | clearSavedCriteriaValues () |
Clear the saved values for two hit and three hit criteria. | |
size_t | nHitsInHitMap (FwdDataSource::HitMap_t &hitmap) |
Determine the total num of hits in the hitmap. More... | |
void | removeHits (FwdDataSource::HitMap_t &hitmap, std::vector< Seed_t > &tracks) |
Remove used hits from the hit map. More... | |
void | mergeHitmaps (FwdDataSource::HitMap_t &hitmap1, FwdDataSource::HitMap_t &hitmap2) |
merges the FST and FTT hitmaps into a single hitmap The FTT hits are shifted by the number of FST sectors More... | |
void | cleanup () |
cleanup the event-wise data structures More... | |
bool | useMcTrackFinding () |
void | findTrackSeeds () |
Perform the track finding Creates a list of track seeds from the hitmaps Retrieve them using getTrackSeeds() | |
std::vector < genfit::GFRaveVertex * > | findFwdVertices (const vector< GenfitTrackResult > &globalTracks) |
GenfitTrackResult | fitTrack (Seed_t &seed, TVector3 *momentumSeedState=nullptr) |
Perform a single fit from seed points. More... | |
void | doTrackFitting (const std::vector< Seed_t > &trackSeeds) |
Loop on track seeds and fit each one. More... | |
void | doMcTrackFinding (FwdDataSource::McTrackMap_t &mcTrackMap, int seedSource) |
MC track finding builds track seeds from available hits using MC association. More... | |
size_t | sliceHitMapInPhi (FwdDataSource::HitMap_t &inputMap, FwdDataSource::HitMap_t &outputMap, float phi_min, float phi_max) |
Slices a hitmap into a phi section. More... | |
vector< Seed_t > | doSeedFindingOnHitmapSubset (size_t iIteration, FwdDataSource::HitMap_t &hitmap) |
Does track finding steps on a subset of hits (phi slice) More... | |
void | doSeedFindingIteration (size_t iIteration, FwdDataSource::HitMap_t &hitmap) |
Main tracking procedure. More... | |
void | addFstHitsMc (GenfitTrackResult >r) |
Adds compatible FST hits to tracks seeded with FTT. | |
void | addFttHits (GenfitTrackResult >r, size_t disk) |
Adds compatible FTT hits to tracks seeded with FST. More... | |
void | addFttHitsMc (GenfitTrackResult >r) |
Adds compatible FTT hits using MC info. | |
void | addFstHits (GenfitTrackResult >r, size_t disk) |
Adds compatible FST hits to a track. More... | |
Seed_t | findFstHitsNearProjectedState (Seed_t &available_hits, genfit::MeasuredStateOnPlane &msp, double dphi=0.004 *20.5, double dr=2.75 *2) |
Finds FST hits near projected state. More... | |
Seed_t | findFttHitsNearProjectedState (Seed_t &available_hits, genfit::MeasuredStateOnPlane &msp, double dx=1.5, double dy=1.5) |
Finds FTT hits near projected state. More... | |
bool | getSaveCriteriaValues () |
std::vector < KiTrack::ICriterion * > | getTwoHitCriteria () |
std::vector < KiTrack::ICriterion * > | getThreeHitCriteria () |
TrackFitter * | getTrackFitter () |
void | setEventVertex (TVector3 v, TMatrixDSym cov) |
TVector3 | getEventVertex () |
Additional Inherited Members | |
![]() | |
enum | SeedSource { kFstSeed = 0, kFttSeed, kSimSeed, kSeqSeed } |
![]() | |
unsigned long long int | nEvents |
bool | mDoTrackFitting = true |
bool | mSaveCriteriaValues = false |
int | mSeedSource = 1 |
FwdTrackerConfig | mConfig |
std::string | mConfigFile |
size_t | mTotalHitsRemoved |
std::vector< GenfitTrackResult > | mTrackResults |
std::vector< Seed_t > | mTrackSeeds |
std::vector< Seed_t > | mTrackSeedsThisIteration |
EventStats | mEventStats |
TVector3 | mEventVertex |
FwdHit | mEventVertexHit |
genfit::GFRaveVertexFactory | mGFRVertices |
std::shared_ptr< FwdDataSource > | mDataSource |
TrackFitter * | mTrackFitter = nullptr |
std::vector < KiTrack::ICriterion * > | mTwoHitCrit |
std::vector < KiTrack::ICriterion * > | mThreeHitCrit |
TString | mGeoCache |
Definition at line 187 of file StFwdTrackMaker.cxx.
|
inlinevirtual |
Initialize FwdTracker.
geoCache | : name of cached geometry file |
genHistograms | : generate histograms |
Reimplemented from ForwardTrackMaker.
Definition at line 191 of file StFwdTrackMaker.cxx.
References ForwardTrackMaker::initialize(), and TrackFitter::setup().