CbmRoot
|
#include <LitTrackFinderNN.h>
Public Member Functions | |
LitTrackFinderNN () | |
Constructor. | |
virtual | ~LitTrackFinderNN () |
Destructor. | |
void | DoFind (const vector< lit::parallel::LitScalPixelHit * > &hits, const vector< lit::parallel::LitScalTrack * > &trackSeeds, vector< lit::parallel::LitScalTrack * > &tracks) |
Main function for track reconstruction. | |
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. | |
void | PropagateVirtualStations (LitTrackParamScal &par) |
void | PropagateToStation (unsigned char stationId, LitTrackParamScal &par) |
void | FollowTracks () |
Follow tracks through detector. | |
void | SelectTracks () |
void | RemoveHits () |
Write already used hits to a used hits set. | |
void | CopyToOutput (vector< lit::parallel::LitScalTrack * > &tracks) |
Copy tracks to output array. | |
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 32 of file LitTrackFinderNN.h.
lit::parallel::LitTrackFinderNN::LitTrackFinderNN | ( | ) |
Constructor.
Definition at line 31 of file LitTrackFinderNN.cxx.
|
virtual |
Destructor.
Definition at line 47 of file LitTrackFinderNN.cxx.
|
protected |
Definition at line 78 of file LitTrackFinderNN.cxx.
References hits, and lit::parallel::LitScalPixelHit::refId.
|
protected |
Copy tracks to output array.
Definition at line 301 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 49 of file LitTrackFinderNN.cxx.
Referenced by CbmLitFindGlobalTracksParallel::DoTracking().
|
protected |
Follow tracks through detector.
Definition at line 187 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(), 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 91 of file LitTrackFinderNN.cxx.
References 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 143 of file LitTrackFinderNN.cxx.
References lit::parallel::LitVirtualStation< T >::GetField(), lit::parallel::LitMaterialGrid::GetMaterial(), lit::parallel::LitVirtualStation< T >::GetMaterial(), lit::parallel::LitStation< T >::GetNofVirtualStations(), lit::parallel::LitStation< T >::GetVirtualStation(), lit::parallel::LitVirtualStation< T >::GetZ(), lit::parallel::LitFieldGrid::IsEmpty(), lit::parallel::LitMaterialGrid::IsEmpty(), lit::parallel::LitAddMaterial(), lit::parallel::LitLineExtrapolation(), lit::parallel::LitRK4Extrapolation(), lit::parallel::LitTrackParam< T >::X, and lit::parallel::LitTrackParam< T >::Y.
|
protected |
Definition at line 111 of file LitTrackFinderNN.cxx.
References lit::parallel::LitVirtualStation< T >::GetField(), lit::parallel::LitMaterialGrid::GetMaterial(), lit::parallel::LitVirtualStation< T >::GetMaterial(), lit::parallel::LitVirtualStation< T >::GetZ(), lit::parallel::LitFieldGrid::IsEmpty(), lit::parallel::LitMaterialGrid::IsEmpty(), lit::parallel::LitAddMaterial(), 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 287 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 277 of file LitTrackFinderNN.cxx.
References lit::parallel::DoSelectSharedHits(), lit::parallel::LitScalTrack::GetNofHits(), and lit::parallel::LitScalTrack::IsGood().
|
inline |
Definition at line 60 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 55 of file LitTrackFinderNN.h.
References fLayout.
Referenced by CbmLitFindGlobalTracksParallel::DoTracking().
|
inline |
Definition at line 57 of file LitTrackFinderNN.h.
References fMaxNofMissingHits.
Referenced by CbmLitFindGlobalTracksParallel::DoTracking().
|
inline |
Definition at line 56 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 61 of file LitTrackFinderNN.h.
References fSigmaCoef.
Referenced by CbmLitFindGlobalTracksParallel::DoTracking().
|
private |
Definition at line 105 of file LitTrackFinderNN.h.
Referenced by SetChiSqPixelHitCut().
|
private |
Definition at line 104 of file LitTrackFinderNN.h.
Referenced by SetChiSqStripHitCut().
|
private |
Definition at line 94 of file LitTrackFinderNN.h.
|
private |
Definition at line 100 of file LitTrackFinderNN.h.
|
private |
Definition at line 98 of file LitTrackFinderNN.h.
Referenced by SetDetectorLayout().
|
private |
Definition at line 102 of file LitTrackFinderNN.h.
Referenced by SetMaxNofMissingHits().
|
private |
Definition at line 99 of file LitTrackFinderNN.h.
Referenced by SetNofIterations().
|
private |
Definition at line 103 of file LitTrackFinderNN.h.
Referenced by SetPDG().
|
private |
Definition at line 106 of file LitTrackFinderNN.h.
Referenced by SetSigmaCoef().
|
private |
Definition at line 93 of file LitTrackFinderNN.h.
|
private |
Definition at line 95 of file LitTrackFinderNN.h.
|
private |
Definition at line 96 of file LitTrackFinderNN.h.