StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
ForwardTrackMaker Class Reference
Inheritance diagram for ForwardTrackMaker:
ForwardTracker

Public Member Functions

const std::vector
< GenfitTrackResult > & 
getTrackResults () const
 
const std::vector< Seed_t > & getRecoTracks () const
 
const std::vector< TVector3 > & getFitMomenta () const
 
const std::vector< unsigned
short > & 
getNumFstHits () const
 
const std::vector
< genfit::FitStatus > & 
getFitStatus () const
 
const std::vector
< genfit::AbsTrackRep * > & 
globalTrackReps () const
 
const std::vector
< genfit::Track * > & 
globalTracks () const
 
void setConfigFile (std::string cf)
 
void setSaveCriteriaValues (bool save)
 
void setConfig (FwdTrackerConfig cfg)
 
void setData (std::shared_ptr< FwdDataSource >data)
 
virtual void initialize (TString geoCache, bool genHistograms)
 
void writeEventHistograms ()
 
std::vector
< KiTrack::ICriterion * > 
loadCriteria (string path)
 
std::vector< float > getCriteriaValues (std::string crit_name)
 
std::vector< std::map
< std::string, float > > 
getCriteriaAllValues (std::string crit_name)
 
std::vector< int > getCriteriaTrackIds (std::string crit_name)
 
void clearSavedCriteriaValues ()
 
size_t nHitsInHitMap (FwdDataSource::HitMap_t &hitmap)
 
size_t countRecoTracks (size_t nHits)
 
void setupHistograms ()
 
void fillHistograms ()
 
void writeHistograms ()
 
void make ()
 
void removeHits (FwdDataSource::HitMap_t &hitmap, std::vector< Seed_t > &tracks)
 
void doEvent (unsigned long long int iEvent=0)
 
void fitTrack (Seed_t &track)
 
void doTrackFitting (std::vector< Seed_t > &tracks)
 
void doMcTrackFinding (FwdDataSource::McTrackMap_t &mcTrackMap)
 
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_tdoTrackingOnHitmapSubset (size_t iIteration, FwdDataSource::HitMap_t &hitmap)
 Does track finding steps on a subset of hits (phi slice) More...
 
void doTrackIteration (size_t iIteration, FwdDataSource::HitMap_t &hitmap)
 
void addSiHitsMc ()
 
void addSiHits ()
 
Seed_t findSiHitsNearMe (Seed_t &available_hits, genfit::MeasuredStateOnPlane &msp, double dphi=0.004 *9.5, double dr=2.75)
 
bool getSaveCriteriaValues ()
 
std::vector
< KiTrack::ICriterion * > 
getTwoHitCriteria ()
 
std::vector
< KiTrack::ICriterion * > 
getThreeHitCriteria ()
 
TrackFittergetTrackFitter ()
 
void setEventVertex (TVector3 v)
 

Protected Attributes

unsigned long long int nEvents
 
bool mDoTrackFitting = true
 
bool mSaveCriteriaValues = true
 
FwdTrackerConfig mConfig
 
std::string mConfigFile
 
size_t mTotalHitsRemoved
 
std::vector< GenfitTrackResultmTrackResults
 
std::vector< Seed_tmRecoTracks
 
std::vector< Seed_tmRecoTracksThisItertion
 
TVector3 mEventVertex
 
std::vector< float > mRecoTrackQuality
 
std::vector< int > mRecoTrackIdTruth
 
std::vector< TVector3 > mFitMoms
 
std::vector< unsigned short > mNumFstHits
 
std::vector< genfit::FitStatus > mFitStatus
 
std::vector
< genfit::AbsTrackRep * > 
mGlobalTrackReps
 
std::vector< genfit::Track * > mGlobalTracks
 
QualityPlottermQualityPlotter
 
std::shared_ptr< FwdDataSourcemDataSource
 
TrackFittermTrackFitter = nullptr
 
std::vector
< KiTrack::ICriterion * > 
mTwoHitCrit
 
std::vector
< KiTrack::ICriterion * > 
mThreeHitCrit
 
bool mGenHistograms = false
 
TString mGeoCache
 
std::map< std::string, TH1 * > mHist
 

Detailed Description

Definition at line 175 of file FwdTracker.h.

Member Function Documentation

vector<Seed_t> ForwardTrackMaker::doTrackingOnHitmapSubset ( size_t  iIteration,
FwdDataSource::HitMap_t &  hitmap 
)
inline

Does track finding steps on a subset of hits (phi slice)

doTrackingOnHitmapSubset

Parameters
iIteration,:tracking iteration (for determining params)
hitmap,:the hitmap to use, should already be subset of original
Returns
a list of track seeds

Definition at line 781 of file FwdTracker.h.

std::vector<KiTrack::ICriterion *> ForwardTrackMaker::loadCriteria ( string  path)
inline

Loads Criteria from XML configuration.

Utility function for loading criteria from XML config.

Returns
vector of ICriterion pointers

Definition at line 240 of file FwdTracker.h.

size_t ForwardTrackMaker::sliceHitMapInPhi ( FwdDataSource::HitMap_t &  inputMap,
FwdDataSource::HitMap_t &  outputMap,
float  phi_min,
float  phi_max 
)
inline

Slices a hitmap into a phi section.

sliceHitMapInPhi

Parameters
inputMapINPUT hitmap to process
outputMapOUTPUT hitmap, will be cleared and filled with only the hits from inputMap that are within phi region
phi_minThe minimum phi to accept
phi_maxThe maximum Phi to accept
Returns
The number of hits in the outputMap

Definition at line 758 of file FwdTracker.h.


The documentation for this class was generated from the following file: