CbmRoot
|
#include <CbmL1StsTrackFinder.h>
Public Member Functions | |
CbmL1StsTrackFinder () | |
virtual | ~CbmL1StsTrackFinder () |
virtual void | Init () |
virtual Int_t | DoFind () |
virtual Int_t | FindTracks (CbmEvent *event) |
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) |
void | FillEloss () |
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=NULL) |
ClassDef (CbmL1StsTrackFinder, 1) | |
double | VecMedian (std::vector< double > &vec) |
Static Private Member Functions | |
constexpr static int | MaxAdcVal () |
Definition at line 29 of file CbmL1StsTrackFinder.h.
CbmL1StsTrackFinder::CbmL1StsTrackFinder | ( | ) |
Default constructor
|
virtual |
Destructor
Definition at line 47 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 42 of file CbmStsTrackFinder.cxx.
References CbmStsTrack::ELossOverflow(), CbmStsTrackFinder::fStsClusters, CbmStsTrackFinder::fStsHits, CbmDigiManager::Get(), CbmStsHit::GetBackClusterId(), CbmStsCluster::GetCharge(), CbmStsDigi::GetCharge(), CbmCluster::GetDigi(), CbmStsHit::GetFrontClusterId(), CbmCluster::GetNofDigis(), CbmStsTrack::GetNofStsHits(), CbmStsTrack::GetStsHitIndex(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), CbmHit::GetZ(), CbmDigiManager::Instance(), CbmStsTrackFinder::MaxAdcVal(), sqrt(), CbmStsTrackFinder::VecMedian(), x, and y.
Referenced by CbmStsTrackFinder::FillEloss().
|
private |
|
private |
Copy the tracks from the L1-internal format and array to the output TClonesArray. @value Number of created tracks
Definition at line 57 of file CbmL1StsTrackFinder.cxx.
References CbmTrack::AddHit(), CbmStsTrack::AddMvdHit(), CbmL1TrackPar::C, CbmL1TrackPar::chi2, CbmL1Track::CLast, CbmKFMath::CopyTC2TrackParam(), CbmL1Track::Cpv, CbmStsTrackFinder::fTracks, CbmTrack::GetParamFirst(), CbmTrack::GetParamLast(), CbmL1::Instance(), kSTSHIT, kStsTrack, CbmL1TrackPar::NDF, CbmTrack::SetChiSq(), CbmTrack::SetFlag(), CbmTrack::SetNDF(), CbmTrack::SetParamFirst(), CbmTrack::SetParamLast(), CbmTrack::SetPidHypo(), CbmTrack::SetTime(), CbmTrack::SetTimeError(), CbmL1TrackPar::T, CbmL1Track::TLast, CbmL1Track::Tpv, CbmL1::vHitStore, and CbmL1::vRTracks.
Referenced by DoFind(), and FindTracks().
|
virtual |
Track finding algorithm
Implements CbmStsTrackFinder.
Definition at line 108 of file CbmL1StsTrackFinder.cxx.
References CopyL1Tracks(), CbmStsTrackFinder::fTracks, CbmL1::Instance(), and CbmL1::Reconstruct().
|
protectedinherited |
Definition at line 111 of file CbmStsTrackFinder.cxx.
References CbmStsTrackFinder::CalculateEloss(), CbmStsTrackFinder::fTracks, and CbmStsTrack::SetELoss().
|
virtual |
Execute track finding on one event
event | Pointer to event object @value Number of created tracks |
Implements CbmStsTrackFinder.
Definition at line 128 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 59 of file CbmStsTrackFinder.h.
Referenced by CbmStsFindTracks::Finish().
|
virtual |
Initialisation
Reimplemented from CbmStsTrackFinder.
Definition at line 52 of file CbmL1StsTrackFinder.cxx.
|
inlinestaticconstexprprivateinherited |
Definition at line 97 of file CbmStsTrackFinder.h.
Referenced by CbmStsTrackFinder::CalculateEloss().
|
inlineinherited |
Modifiers
Definition at line 70 of file CbmStsTrackFinder.h.
References CbmStsTrackFinder::fDigiScheme.
|
inlineinherited |
Definition at line 71 of file CbmStsTrackFinder.h.
References CbmStsTrackFinder::fField.
Referenced by CbmStsFindTracks::Init().
|
inlineinherited |
Definition at line 72 of file CbmStsTrackFinder.h.
References CbmStsTrackFinder::fMvdHits, and hits.
Referenced by CbmStsFindTracksEvents::Init(), and CbmStsFindTracks::Init().
|
inlineinherited |
Definition at line 73 of file CbmStsTrackFinder.h.
References CbmStsTrackFinder::fStsHits, and hits.
Referenced by CbmStsFindTracksEvents::Init(), and CbmStsFindTracks::Init().
|
inlineinherited |
Definition at line 74 of file CbmStsTrackFinder.h.
References CbmStsTrackFinder::fTracks, and tracks.
Referenced by CbmStsFindTracksEvents::Init(), and CbmStsFindTracks::Init().
|
inlineinherited |
Definition at line 75 of file CbmStsTrackFinder.h.
References CbmStsTrackFinder::fVerbose.
Referenced by CbmStsFindTracks::Init().
|
privateinherited |
Calculate median value of a vector
Definition at line 29 of file CbmStsTrackFinder.cxx.
Referenced by CbmStsTrackFinder::CalculateEloss().
|
protectedinherited |
Definition at line 79 of file CbmStsTrackFinder.h.
Referenced by CbmStsTrackFinder::SetDigiScheme().
|
protectedinherited |
Definition at line 80 of file CbmStsTrackFinder.h.
Referenced by CbmStsTrackFinder::SetField().
|
protectedinherited |
Definition at line 81 of file CbmStsTrackFinder.h.
Referenced by CbmStsTrackFinder::SetMvdHitArray().
|
protectedinherited |
Definition at line 84 of file CbmStsTrackFinder.h.
Referenced by CbmStsTrackFinder::CalculateEloss().
|
protectedinherited |
Definition at line 82 of file CbmStsTrackFinder.h.
Referenced by CbmStsTrackFinder::CalculateEloss(), CbmStsTrackFinderIdeal::DoFind(), and CbmStsTrackFinder::SetStsHitArray().
|
protectedinherited |
Definition at line 83 of file CbmStsTrackFinder.h.
Referenced by CopyL1Tracks(), DoFind(), CbmStsTrackFinderIdeal::DoFind(), CbmStsTrackFinder::FillEloss(), and CbmStsTrackFinder::SetTrackArray().
|
protectedinherited |
Definition at line 85 of file CbmStsTrackFinder.h.
Referenced by CbmStsTrackFinderIdeal::CbmStsTrackFinderIdeal(), CbmStsTrackFinderIdeal::DoFind(), and CbmStsTrackFinder::SetVerbose().