MarlinTPC  1.2.0
Public Member Functions | Protected Member Functions | Friends | List of all members
marlintpc::KalTrackingStraight Class Reference

This is the straight track class, which inherits from AttKalTrack. More...

#include <KalTrackingStraight.h>

Inheritance diagram for marlintpc::KalTrackingStraight:
marlintpc::KalTrackingTemplate< StraightTrackParameters > marlintpc::KalTrackingBase

Public Member Functions

 KalTrackingStraight (const gear::GearMgr &gearMgr, unsigned int minTrackHits, unsigned int maxSkipRows, double maxDeltaChi2, int hitDistanceFactor, int hitStartingMode, double vDrift, std::string moduleNotUsed)
 
int getType ()
 Get track type: straight line.
 
double getSlope ()
 
double getIntercept ()
 
double getDeltaChi2 ()
 Get the Chi2 increment at one step.
 
- Public Member Functions inherited from marlintpc::KalTrackingTemplate< StraightTrackParameters >
 KalTrackingTemplate (const gear::GearMgr &gearMgr, unsigned int minTrackHits, unsigned int maxSkipRows, double maxDeltaChi2, int hitDistanceFactor, int startingHitMode, double vDrift, std::string modulesNotUsed)
 
virtual std::list< EVENT::Track * > findTracks (EVENT::LCCollection const *hitCollection)
 Find all possible tracks in the given hit collection.
 
void setMaxDeltaChi2 (double max)
 Set maximum delta chi2.
 
void setMinTrackHits (unsigned int min)
 Set minimum number of hits on track.
 
void setMaxSkipRows (unsigned int max)
 Set maximum track skipping row.
 

Protected Member Functions

virtual bool doAddAndFilter (StraightTrackParameters *track, ModuleRowHit hit)
 Add a new site to track and update track parameters.
 
virtual double getTrackTangentAndLayerAngle (StraightTrackParameters *track)
 
virtual bool searchTrack (ModuleRowHit hit)
 Search track starting from hit.
 
virtual void setLCIOTrackParameters (IMPL::TrackImpl *trk)
 
void printStateVector ()
 Convenience function for printing. More...
 
virtual double calculateDeltaChi2 (StraightTrackParameters *trackCandidate)
 Get the deltaChi2 from the track candidate.
 
virtual Intersection extrapolateIntoNextLayer (int targetDistance, bool useFarHit)
 Use the current track state of the containerTrack to extrapolate into the next layer. More...
 
virtual const
kaldet::GearTPCMeasLayer * 
extrapolateIntoNextLayer (int targetDistance)
 
- Protected Member Functions inherited from marlintpc::KalTrackingTemplate< StraightTrackParameters >
virtual IMPL::TrackImpl * getTrack (ModuleRowHit firstHit)
 
virtual void searchTrackHit ()
 Search a proper hit to track.
 
virtual void reset ()
 Reset parameters and data of track.
 
virtual kaldet::GearTPCHit * createGearHit (ModuleRowHit const &mhr) const
 Create a kalman hit from module, row and the lcio hit (ModuleRowHit object)
 

Friends

class KalTrackingStraightTester
 

Additional Inherited Members

- Protected Attributes inherited from marlintpc::KalTrackingTemplate< StraightTrackParameters >
std::vector< ModuleRowHit_hitsOnTrack
 Hit list of the track.
 
gear::GearMgr const & _gearMgr
 
TPCHitDomain_domain
 An area on the TPC readout plane, now it is (module, row)
 
const gear::TPCParameters & _tpcParameters
 TPC geometry.
 
unsigned int _minTrackHits
 The last hit that is added to track. More...
 
int _direction
 track direction
 
unsigned int _maxSkipRows
 Maximum track skipping row.
 
double _maxDeltaChi2
 Maximum delta chi2.
 
int _hitDistanceFactor
 
int _startingHitMode
 
double _vDrift
 
kaldet::GearTPCKalDetector _kalDetector
 
TKalDetCradle _detectorCradle
 
TPCHitMap _tpcHitMap
 The container of all arranged hits.
 
StraightTrackParameters_containerTrack
 
- Static Protected Attributes inherited from marlintpc::KalTrackingTemplate< StraightTrackParameters >
static const int INWARDS
 
static const int OUTWARDS
 

Detailed Description

This is the straight track class, which inherits from AttKalTrack.

Kalman filter algorithm is implemented inside this class.

Author
Bo Li, Tsinghua University
Keisuke Fujii, KEK

Member Function Documentation

virtual Intersection marlintpc::KalTrackingStraight::extrapolateIntoNextLayer ( int  targetDistance,
bool  useFarHit 
)
protectedvirtual

Use the current track state of the containerTrack to extrapolate into the next layer.

The distance can be positive or negative, depending if we move inwards or outwards, or 0 to get another intersection on the same layer.

Implements marlintpc::KalTrackingTemplate< StraightTrackParameters >.

void marlintpc::KalTrackingStraight::printStateVector ( )
protectedvirtual

Convenience function for printing.

Implemented for helix and straight tracks.

Implements marlintpc::KalTrackingTemplate< StraightTrackParameters >.


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