MarlinTPC
1.2.0
|
This is the straight track class, which inherits from AttKalTrack. More...
#include <KalTrackingStraight.h>
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. | |
![]() | |
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) |
![]() | |
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 | |
![]() | |
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 const int | INWARDS |
static const int | OUTWARDS |
This is the straight track class, which inherits from AttKalTrack.
Kalman filter algorithm is implemented inside this class.
|
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 >.
|
protectedvirtual |
Convenience function for printing.
Implemented for helix and straight tracks.
Implements marlintpc::KalTrackingTemplate< StraightTrackParameters >.