CbmRoot
|
#include <LitTrackFinderNN.h>
Public Member Functions | |
LitTrackFinderNN () | |
Constructor. More... | |
virtual | ~LitTrackFinderNN () |
Destructor. More... | |
void | DoFind (const vector< lit::parallel::LitScalPixelHit * > &hits, const vector< lit::parallel::LitScalTrack * > &trackSeeds, vector< lit::parallel::LitScalTrack * > &tracks) |
Main function for track reconstruction. More... | |
void | SetDetectorLayout (const LitDetectorLayoutScal &layout) |
void | SetNofIterations (int nofIterations) |
void | SetMaxNofMissingHits (const vector< int > &maxNofMissingHits) |
void | SetPDG (const vector< int > &pdg) |
void | SetChiSqStripHitCut (const vector< fscal > &chiSqStripHitCut) |
void | SetChiSqPixelHitCut (const vector< fscal > &chiSqPixelHitCut) |
void | SetSigmaCoef (const vector< fscal > &sigmaCoef) |
Protected Member Functions | |
void | ArrangeHits (const vector< lit::parallel::LitScalPixelHit * > &hits) |
void | InitTrackSeeds (const vector< lit::parallel::LitScalTrack * > &trackSeeds) |
Initialize track seeds and copy to local array. More... | |
void | PropagateVirtualStations (LitTrackParamScal &par) |
void | PropagateToStation (unsigned char stationId, LitTrackParamScal &par) |
void | FollowTracks () |
Follow tracks through detector. More... | |
void | SelectTracks () |
void | RemoveHits () |
Write already used hits to a used hits set. More... | |
void | CopyToOutput (vector< lit::parallel::LitScalTrack * > &tracks) |
Copy tracks to output array. More... | |
Private Attributes | |
vector< lit::parallel::LitScalTrack * > | fTracks |
LitHitData | fHitData |
set< int > | fUsedHitsSet |
set< int > | fUsedSeedsSet |
LitDetectorLayoutScal | fLayout |
int | fNofIterations |
int | fIteration |
vector< int > | fMaxNofMissingHits |
vector< int > | fPDG |
vector< fscal > | fChiSqStripHitCut |
vector< fscal > | fChiSqPixelHitCut |
vector< fscal > | fSigmaCoef |
Definition at line 25 of file LitTrackFinderNN.h.
lit::parallel::LitTrackFinderNN::LitTrackFinderNN | ( | ) |
Constructor.
Definition at line 26 of file LitTrackFinderNN.cxx.
|
virtual |
Destructor.
Definition at line 40 of file LitTrackFinderNN.cxx.
|
protected |
Definition at line 71 of file LitTrackFinderNN.cxx.
References hits, and lit::parallel::LitScalPixelHit::refId.
|
protected |
Copy tracks to output array.
Definition at line 309 of file LitTrackFinderNN.cxx.
References lit::parallel::LitScalTrack::GetPreviousTrackId(), lit::parallel::LitScalTrack::IsGood(), and tracks.
void lit::parallel::LitTrackFinderNN::DoFind | ( | const vector< lit::parallel::LitScalPixelHit * > & | hits, |
const vector< lit::parallel::LitScalTrack * > & | trackSeeds, | ||
vector< lit::parallel::LitScalTrack * > & | tracks | ||
) |
Main function for track reconstruction.
[in] | Array | of hits. |
[in] | Array | of track seeds. |
[out] | Output | array of reconstructed tracks. |
Definition at line 42 of file LitTrackFinderNN.cxx.
Referenced by CbmLitFindGlobalTracksParallel::DoTracking().
|
protected |
Follow tracks through detector.
Definition at line 193 of file LitTrackFinderNN.cxx.
References lit::parallel::LitScalTrack::AddHit(), lit::parallel::LitTrackParam< T >::C0, lit::parallel::LitTrackParam< T >::C5, lit::parallel::LitScalTrack::GetNofHits(), lit::parallel::LitScalTrack::GetNofMissingHits(), lit::parallel::LitScalTrack::GetParamLast(), hits, lit::parallel::LitScalTrack::IncChiSq(), lit::parallel::LitFiltration(), lit::parallel::LitLineExtrapolation(), max(), lit::parallel::NDF(), lit::parallel::LitScalTrack::SetLastStationId(), lit::parallel::LitScalTrack::SetNDF(), lit::parallel::LitScalTrack::SetNofMissingHits(), lit::parallel::LitScalTrack::SetParamFirst(), lit::parallel::LitScalTrack::SetParamLast(), sqrt(), lit::parallel::LitScalPixelHit::X, lit::parallel::LitTrackParam< T >::X, lit::parallel::LitScalPixelHit::Y, lit::parallel::LitTrackParam< T >::Y, and lit::parallel::LitScalPixelHit::Z.
|
protected |
Initialize track seeds and copy to local array.
Definition at line 82 of file LitTrackFinderNN.cxx.
References fabs(), lit::parallel::LitScalTrack::GetParamFirst(), lit::parallel::LitScalTrack::GetPreviousTrackId(), lit::parallel::LitTrackParam< T >::Qp, lit::parallel::LitScalTrack::SetParamFirst(), lit::parallel::LitScalTrack::SetParamLast(), and lit::parallel::LitScalTrack::SetPreviousTrackId().
|
protected |
Definition at line 142 of file LitTrackFinderNN.cxx.
References lit::parallel::LitVirtualStation< T >::GetField(), lit::parallel::LitVirtualStation< T >::GetMaterial(), lit::parallel::LitMaterialGrid::GetMaterial(), lit::parallel::LitStation< T >::GetNofVirtualStations(), lit::parallel::LitStation< T >::GetVirtualStation(), lit::parallel::LitVirtualStation< T >::GetZ(), lit::parallel::LitMaterialGrid::IsEmpty(), lit::parallel::LitFieldGrid::IsEmpty(), lit::parallel::LitLineExtrapolation(), lit::parallel::LitRK4Extrapolation(), lit::parallel::LitTrackParam< T >::X, and lit::parallel::LitTrackParam< T >::Y.
|
protected |
Definition at line 103 of file LitTrackFinderNN.cxx.
References lit::parallel::LitVirtualStation< T >::GetField(), lit::parallel::LitVirtualStation< T >::GetMaterial(), lit::parallel::LitMaterialGrid::GetMaterial(), lit::parallel::LitVirtualStation< T >::GetZ(), lit::parallel::LitMaterialGrid::IsEmpty(), lit::parallel::LitFieldGrid::IsEmpty(), lit::parallel::LitLineExtrapolation(), lit::parallel::LitRK4Extrapolation(), lit::parallel::LitTrackParam< T >::X, and lit::parallel::LitTrackParam< T >::Y.
|
protected |
Write already used hits to a used hits set.
Definition at line 298 of file LitTrackFinderNN.cxx.
References lit::parallel::LitScalTrack::GetHit(), lit::parallel::LitScalTrack::GetNofHits(), lit::parallel::LitScalTrack::IsGood(), and lit::parallel::LitScalPixelHit::refId.
|
protected |
Definition at line 289 of file LitTrackFinderNN.cxx.
References lit::parallel::DoSelectSharedHits(), lit::parallel::LitScalTrack::GetNofHits(), and lit::parallel::LitScalTrack::IsGood().
|
inline |
Definition at line 62 of file LitTrackFinderNN.h.
References fChiSqPixelHitCut.
Referenced by CbmLitFindGlobalTracksParallel::DoTracking().
|
inline |
Definition at line 59 of file LitTrackFinderNN.h.
References fChiSqStripHitCut.
Referenced by CbmLitFindGlobalTracksParallel::DoTracking().
|
inline |
Definition at line 49 of file LitTrackFinderNN.h.
References fLayout.
Referenced by CbmLitFindGlobalTracksParallel::DoTracking().
|
inline |
Definition at line 55 of file LitTrackFinderNN.h.
References fMaxNofMissingHits.
Referenced by CbmLitFindGlobalTracksParallel::DoTracking().
|
inline |
Definition at line 52 of file LitTrackFinderNN.h.
References fNofIterations.
Referenced by CbmLitFindGlobalTracksParallel::DoTracking().
|
inline |
Definition at line 58 of file LitTrackFinderNN.h.
References fPDG.
Referenced by CbmLitFindGlobalTracksParallel::DoTracking().
|
inline |
Definition at line 65 of file LitTrackFinderNN.h.
References fSigmaCoef.
Referenced by CbmLitFindGlobalTracksParallel::DoTracking().
|
private |
Definition at line 113 of file LitTrackFinderNN.h.
Referenced by SetChiSqPixelHitCut().
|
private |
Definition at line 112 of file LitTrackFinderNN.h.
Referenced by SetChiSqStripHitCut().
|
private |
Definition at line 101 of file LitTrackFinderNN.h.
|
private |
Definition at line 107 of file LitTrackFinderNN.h.
|
private |
Definition at line 105 of file LitTrackFinderNN.h.
Referenced by SetDetectorLayout().
|
private |
Definition at line 110 of file LitTrackFinderNN.h.
Referenced by SetMaxNofMissingHits().
|
private |
Definition at line 106 of file LitTrackFinderNN.h.
Referenced by SetNofIterations().
|
private |
Definition at line 111 of file LitTrackFinderNN.h.
Referenced by SetPDG().
|
private |
Definition at line 115 of file LitTrackFinderNN.h.
Referenced by SetSigmaCoef().
|
private |
Definition at line 100 of file LitTrackFinderNN.h.
|
private |
Definition at line 102 of file LitTrackFinderNN.h.
|
private |
Definition at line 103 of file LitTrackFinderNN.h.