|
CbmRoot
|
#include <CbmL1StsTrackFinder.h>
Public Member Functions | |
| CbmL1StsTrackFinder () | |
| ~CbmL1StsTrackFinder () | |
| void | Init () |
| Int_t | DoFind () |
| Int_t | FindTracks (CbmEvent *event) |
| void | SetDefaultParticlePDG (int pdg=13) |
| void | FillEloss () |
| Calculate the median energy loss for the tracks and fill the respective data members. | |
| virtual void | Finish () |
| void | SetDigiScheme (CbmStsDigiScheme *scheme) |
| void | SetField (FairField *field) |
| void | SetMvdHitArray (TClonesArray *hits) |
| void | SetStsHitArray (TClonesArray *hits) |
| void | SetTrackArray (TClonesArray *tracks) |
| void | SetVerbose (Int_t verbose) |
Protected Member Functions | |
| double | CalculateEloss (CbmStsTrack *cbmStsTrack) |
Protected Attributes | |
| CbmStsDigiScheme * | fDigiScheme |
| FairField * | fField |
| TClonesArray * | fMvdHits |
| TClonesArray * | fStsHits |
| TClonesArray * | fTracks |
| TClonesArray * | fStsClusters |
| Int_t | fVerbose |
Private Member Functions | |
| Int_t | CopyL1Tracks (CbmEvent *event=nullptr) |
| ClassDef (CbmL1StsTrackFinder, 1) | |
| double | VecMedian (std::vector< double > &vec) |
Static Private Member Functions | |
| static constexpr int | MaxAdcVal () |
Definition at line 32 of file CbmL1StsTrackFinder.h.
| CbmL1StsTrackFinder::CbmL1StsTrackFinder | ( | ) |
Default constructor
Referenced by ClassDef().
| CbmL1StsTrackFinder::~CbmL1StsTrackFinder | ( | ) |
Destructor
Definition at line 48 of file CbmL1StsTrackFinder.cxx.
|
protectedinherited |
Median energy loss calculation for the tracks in event/timeslice Ported from CbmKFParticleFinderPID Description of the method given at 30th CBM CM https://indico.gsi.de/event/4760/session/4/contribution/80/material/slides/0.pdf
Definition at line 51 of file CbmStsTrackFinder.cxx.
References CbmStsTrack::ELossOverflow(), fStsClusters, fStsHits, CbmDigiManager::Get(), CbmStsHit::GetBackClusterId(), CbmStsCluster::GetCharge(), CbmCluster::GetDigi(), CbmStsHit::GetFrontClusterId(), CbmCluster::GetNofDigis(), CbmStsTrack::GetNofStsHits(), CbmStsTrack::GetStsHitIndex(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), CbmHit::GetZ(), CbmDigiManager::Instance(), MaxAdcVal(), sqrt(), VecMedian(), x, and y.
Referenced by CbmL1GlobalTrackFinder::CbmL1TrackToCbmStsTrack(), and FillEloss().
|
private |
References CbmL1StsTrackFinder().
Copy the tracks from the L1-internal format and array to the output TClonesArray. @value Number of created tracks
Definition at line 58 of file CbmL1StsTrackFinder.cxx.
References CbmStsTrack::AddMvdHit(), CbmStsTrack::AddStsHit(), cbm::kf::ConvertTrackParam(), CbmStsTrackFinder::fTracks, CbmL1::fvExternalHits, CbmL1::fvRecoTracks, CbmL1::Instance(), kStsTrack, CbmTrack::SetChiSq(), CbmTrack::SetChiSqTime(), CbmTrack::SetFirstHitTime(), CbmTrack::SetFirstHitTimeError(), CbmTrack::SetFlag(), CbmTrack::SetLastHitTime(), CbmTrack::SetLastHitTimeError(), CbmTrack::SetNDF(), CbmTrack::SetNdfTime(), CbmTrack::SetParamFirst(), CbmTrack::SetParamLast(), CbmTrack::SetPidHypo(), CbmTrack::SetStartTime(), and CbmTrack::SetStartTimeError().
Referenced by DoFind(), and FindTracks().
|
virtual |
Track finding algorithm
Implements CbmStsTrackFinder.
Definition at line 104 of file CbmL1StsTrackFinder.cxx.
References CopyL1Tracks(), CbmStsTrackFinder::fTracks, CbmL1::Instance(), and CbmL1::Reconstruct().
|
inherited |
Calculate the median energy loss for the tracks and fill the respective data members.
Definition at line 111 of file CbmStsTrackFinder.cxx.
References CalculateEloss(), fTracks, and CbmStsTrack::SetELoss().
Execute track finding on one event
| event | Pointer to event object @value Number of created tracks |
Implements CbmStsTrackFinder.
Definition at line 125 of file CbmL1StsTrackFinder.cxx.
References CopyL1Tracks(), CbmL1::Instance(), and CbmL1::Reconstruct().
|
inlinevirtualinherited |
Virtual method Finish. If needed, to be implemented in the concrete class. Executed at the end of the run.
Definition at line 66 of file CbmStsTrackFinder.h.
|
virtual |
Initialisation
Reimplemented from CbmStsTrackFinder.
Definition at line 53 of file CbmL1StsTrackFinder.cxx.
|
inlinestaticconstexprprivateinherited |
Definition at line 103 of file CbmStsTrackFinder.h.
Referenced by CalculateEloss().
| void CbmL1StsTrackFinder::SetDefaultParticlePDG | ( | int | pdg = 13 | ) |
set a default particle mass for the track fit it is used during reconstruction for the multiple scattering and energy loss estimation
|
inlineinherited |
|
inlineinherited |
Definition at line 78 of file CbmStsTrackFinder.h.
References fField.
|
inlineinherited |
Definition at line 79 of file CbmStsTrackFinder.h.
|
inlineinherited |
Definition at line 80 of file CbmStsTrackFinder.h.
|
inlineinherited |
Definition at line 81 of file CbmStsTrackFinder.h.
|
inlineinherited |
Definition at line 82 of file CbmStsTrackFinder.h.
References fVerbose.
|
privateinherited |
Calculate median value of a vector
Definition at line 35 of file CbmStsTrackFinder.cxx.
Referenced by CalculateEloss().
|
protectedinherited |
Definition at line 86 of file CbmStsTrackFinder.h.
Referenced by CbmStsTrackFinder(), and SetDigiScheme().
|
protectedinherited |
Definition at line 87 of file CbmStsTrackFinder.h.
Referenced by CbmStsTrackFinder(), and SetField().
|
protectedinherited |
Definition at line 88 of file CbmStsTrackFinder.h.
Referenced by CbmStsTrackFinder(), and SetMvdHitArray().
|
protectedinherited |
Definition at line 91 of file CbmStsTrackFinder.h.
Referenced by CalculateEloss(), and CbmStsTrackFinder().
|
protectedinherited |
Definition at line 89 of file CbmStsTrackFinder.h.
Referenced by CalculateEloss(), CbmStsTrackFinder(), CbmStsTrackFinderIdeal::DoFind(), and SetStsHitArray().
|
protectedinherited |
Definition at line 90 of file CbmStsTrackFinder.h.
Referenced by CbmStsTrackFinder(), CbmL1StsTrackFinder::CopyL1Tracks(), CbmL1GlobalTrackFinder::DoFind(), CbmL1StsTrackFinder::DoFind(), CbmStsTrackFinderIdeal::DoFind(), FillEloss(), and SetTrackArray().
|
protectedinherited |
Definition at line 92 of file CbmStsTrackFinder.h.
Referenced by CbmStsTrackFinder(), CbmStsTrackFinderIdeal::CbmStsTrackFinderIdeal(), CbmStsTrackFinderIdeal::CbmStsTrackFinderIdeal(), CbmStsTrackFinderIdeal::DoFind(), and SetVerbose().