![]() |
PandaRoot
|
#include <PndSttMvdGemTracking.h>
Public Member Functions | |
PndSttMvdGemTracking () | |
PndSttMvdGemTracking (Int_t verbose) | |
~PndSttMvdGemTracking () | |
virtual InitStatus | Init () |
virtual void | Exec (Option_t *opt) |
void | SetPersistenc (Bool_t persistence) |
virtual void | SetParContainers () |
void | Copy (PndTrackCand *completeCand, PndTrack *completeTrack, PndTrackCand *sttmvdCand, PndTrack *sttmvd) |
void | SetTimes (Int_t times) |
void | SetMaxDistance (Double_t maxdistance) |
void | SwitchOnDisplay () |
void | SetupGEMPlanes () |
void | Reset (Int_t nhits, Int_t ntracks) |
void | OrderGemHits (Int_t nhits) |
Int_t | GetTrackIndex (Int_t i) |
Int_t | GetHitIndex (Int_t i) |
Int_t | GetPosIndex (PndGemHit *hit) |
Int_t | CountTracks () |
Int_t | CountHitsInTrack (Int_t itrk) |
void | AddHitToTrack (Int_t ihit, Int_t itrk) |
void | DeleteHitFromTrack (Int_t ihit, Int_t itrk) |
std::vector< int > | GetTracksAssociatedToHit (Int_t ihit) |
std::vector< int > | GetHitsAssociatedToTrack (Int_t itrk) |
std::vector< int > | GetHitsAssociatedToTrackOnPlane (Int_t itrk, Int_t ipos) |
void | AddRemainingHits (Int_t ntracks) |
void | CheckCombinatorial (Int_t nhits, Int_t ntracks) |
void | ForbidMultiAssignedHits (Int_t nhits, Int_t ntracks) |
void | OnlyOneHitToEachTrack (Int_t nhits, Int_t ntracks) |
void | Retrack () |
Bool_t | PropagateToGemPlane (FairTrackParP *tmppar, FairTrackParP *gempar, Int_t ipos) |
Bool_t | PropagateToGemPlaneAsHelix (PndTrack *sttmvd, FairTrackParP *gempar, Int_t ipos) |
Double_t | IsAssignable (FairTrackParP *gempar, PndGemHit *gemhit) |
std::vector< int > | AssignHits (Int_t itrk, FairTrackParP *gempar, Int_t ipos) |
void | EvaluatePerformances (Int_t nhits, Int_t ntracks) |
void | FillTrueDistances () |
Int_t | SelectPdgCode (PndTrack *sttmvd) |
void | Kalman (TMatrixT< double > extrap, TMatrixT< double > measurement, TMatrixT< double > H, TMatrixT< double > extrap_cov, TMatrixT< double > measurement_cov, TMatrixT< double > &kalman, TMatrixT< double > &kalman_cov) |
FairTrackParP | SetStartParameters (PndTrack *sttmvd, PndTrackCand *sttmvdCand) |
Int_t | GetClosestOnFirst (FairTrackParP *gempar, Int_t ipos, Double_t &closestdistance) |
Bool_t | Prefit (PndTrack *sttmvdTrack, PndTrackCand *sttmvdCand, TVector3 &lastpos, TVector3 &lastmom) |
Bool_t | IntersectionFinder (Double_t xc, Double_t yc, Double_t radius, PndSttHit *stthit, TVector3 &xyz, TVector3 &dxyz) |
Bool_t | Fit (TMatrixT< double > points, Double_t &outxc, Double_t &outyc, Double_t &outradius) |
Bool_t | ZFit (TMatrixT< double > points, Int_t charge, Double_t xc, Double_t yc, Double_t radius, Double_t &fitm, Double_t &fip) |
Bool_t | GetInitialParams (PndTrack *sttmvd, Double_t &xc, Double_t &yc, Double_t &radius, Double_t &fitm, Double_t &fitp) |
Double_t | CalculatePhi (TVector2 v, TVector2 p, double alpha, double Phi0, int charge) |
Double_t | CompareToPreviousPhi (Double_t Fi, Double_t Fi_pre, int charge) |
Bool_t | ZFind (Int_t nhits, TMatrixT< double > points, Double_t xc, Double_t yc, Double_t radius) |
void | ConsiderCombinatorialEffect (Int_t nhits) |
void | SetCombinatorialDistance (Double_t combidistance) |
void | UpdateMCTrackId (PndTrackCand *completeCand) |
void | UseMonteCarlo () |
void | WriteHistograms () |
void | SetEvaluateFlag (Bool_t flag) |
Int_t | GetPdgFromMC (int trackid) |
Int_t | GetChargeCorrectedPdgFromMC (int trackid, int charge) |
void | SetPdgFromMC () |
void | SetPdgFromMC (TString trackid) |
void | SetDefaultPdg (int pdg) |
void | SetBranchNames (TString mvdpixel, TString mvdstrip, TString stt, TString gem) |
void | SetTrackBranchNames (TString startingtrack, TString startingtrackcand) |
![]() | |
PndPersistencyTask () | |
PndPersistencyTask (const char *name, Int_t iVerbose=1) | |
virtual | ~PndPersistencyTask () |
void | SetPersistency (Bool_t val=kTRUE) |
Bool_t | GetPersistency () |
Definition at line 18 of file PndSttMvdGemTracking.h.
PndSttMvdGemTracking::PndSttMvdGemTracking | ( | ) |
Default constructor
PndSttMvdGemTracking::PndSttMvdGemTracking | ( | Int_t | verbose | ) |
PndSttMvdGemTracking::~PndSttMvdGemTracking | ( | ) |
Destructor
void PndSttMvdGemTracking::AddHitToTrack | ( | Int_t | ihit, |
Int_t | itrk | ||
) |
Referenced by SwitchOnDisplay().
void PndSttMvdGemTracking::AddRemainingHits | ( | Int_t | ntracks | ) |
Referenced by SwitchOnDisplay().
std::vector<int> PndSttMvdGemTracking::AssignHits | ( | Int_t | itrk, |
FairTrackParP * | gempar, | ||
Int_t | ipos | ||
) |
Referenced by SwitchOnDisplay().
Double_t PndSttMvdGemTracking::CalculatePhi | ( | TVector2 | v, |
TVector2 | p, | ||
double | alpha, | ||
double | Phi0, | ||
int | charge | ||
) |
Referenced by SwitchOnDisplay().
void PndSttMvdGemTracking::CheckCombinatorial | ( | Int_t | nhits, |
Int_t | ntracks | ||
) |
Referenced by SwitchOnDisplay().
Double_t PndSttMvdGemTracking::CompareToPreviousPhi | ( | Double_t | Fi, |
Double_t | Fi_pre, | ||
int | charge | ||
) |
Referenced by SwitchOnDisplay().
void PndSttMvdGemTracking::ConsiderCombinatorialEffect | ( | Int_t | nhits | ) |
Referenced by SwitchOnDisplay().
void PndSttMvdGemTracking::Copy | ( | PndTrackCand * | completeCand, |
PndTrack * | completeTrack, | ||
PndTrackCand * | sttmvdCand, | ||
PndTrack * | sttmvd | ||
) |
Referenced by SetPersistenc().
Int_t PndSttMvdGemTracking::CountHitsInTrack | ( | Int_t | itrk | ) |
Referenced by SwitchOnDisplay().
Int_t PndSttMvdGemTracking::CountTracks | ( | ) |
Referenced by SwitchOnDisplay().
void PndSttMvdGemTracking::DeleteHitFromTrack | ( | Int_t | ihit, |
Int_t | itrk | ||
) |
Referenced by SwitchOnDisplay().
void PndSttMvdGemTracking::EvaluatePerformances | ( | Int_t | nhits, |
Int_t | ntracks | ||
) |
Referenced by SwitchOnDisplay().
|
virtual |
Virtual method Exec
void PndSttMvdGemTracking::FillTrueDistances | ( | ) |
Referenced by SwitchOnDisplay().
Bool_t PndSttMvdGemTracking::Fit | ( | TMatrixT< double > | points, |
Double_t & | outxc, | ||
Double_t & | outyc, | ||
Double_t & | outradius | ||
) |
Referenced by SwitchOnDisplay().
void PndSttMvdGemTracking::ForbidMultiAssignedHits | ( | Int_t | nhits, |
Int_t | ntracks | ||
) |
Referenced by SwitchOnDisplay().
Int_t PndSttMvdGemTracking::GetChargeCorrectedPdgFromMC | ( | int | trackid, |
int | charge | ||
) |
Referenced by SetEvaluateFlag().
Int_t PndSttMvdGemTracking::GetClosestOnFirst | ( | FairTrackParP * | gempar, |
Int_t | ipos, | ||
Double_t & | closestdistance | ||
) |
Referenced by SwitchOnDisplay().
Int_t PndSttMvdGemTracking::GetHitIndex | ( | Int_t | i | ) |
Referenced by SwitchOnDisplay().
std::vector<int> PndSttMvdGemTracking::GetHitsAssociatedToTrack | ( | Int_t | itrk | ) |
Referenced by SwitchOnDisplay().
std::vector<int> PndSttMvdGemTracking::GetHitsAssociatedToTrackOnPlane | ( | Int_t | itrk, |
Int_t | ipos | ||
) |
Referenced by SwitchOnDisplay().
Bool_t PndSttMvdGemTracking::GetInitialParams | ( | PndTrack * | sttmvd, |
Double_t & | xc, | ||
Double_t & | yc, | ||
Double_t & | radius, | ||
Double_t & | fitm, | ||
Double_t & | fitp | ||
) |
Referenced by SwitchOnDisplay().
Int_t PndSttMvdGemTracking::GetPdgFromMC | ( | int | trackid | ) |
Referenced by SetEvaluateFlag().
Int_t PndSttMvdGemTracking::GetPosIndex | ( | PndGemHit * | hit | ) |
Referenced by SwitchOnDisplay().
Int_t PndSttMvdGemTracking::GetTrackIndex | ( | Int_t | i | ) |
Referenced by SwitchOnDisplay().
std::vector<int> PndSttMvdGemTracking::GetTracksAssociatedToHit | ( | Int_t | ihit | ) |
Referenced by SwitchOnDisplay().
|
virtual |
Virtual method Init
Bool_t PndSttMvdGemTracking::IntersectionFinder | ( | Double_t | xc, |
Double_t | yc, | ||
Double_t | radius, | ||
PndSttHit * | stthit, | ||
TVector3 & | xyz, | ||
TVector3 & | dxyz | ||
) |
Referenced by SwitchOnDisplay().
Double_t PndSttMvdGemTracking::IsAssignable | ( | FairTrackParP * | gempar, |
PndGemHit * | gemhit | ||
) |
Referenced by SwitchOnDisplay().
void PndSttMvdGemTracking::Kalman | ( | TMatrixT< double > | extrap, |
TMatrixT< double > | measurement, | ||
TMatrixT< double > | H, | ||
TMatrixT< double > | extrap_cov, | ||
TMatrixT< double > | measurement_cov, | ||
TMatrixT< double > & | kalman, | ||
TMatrixT< double > & | kalman_cov | ||
) |
Referenced by SwitchOnDisplay().
void PndSttMvdGemTracking::OnlyOneHitToEachTrack | ( | Int_t | nhits, |
Int_t | ntracks | ||
) |
Referenced by SwitchOnDisplay().
void PndSttMvdGemTracking::OrderGemHits | ( | Int_t | nhits | ) |
Referenced by SwitchOnDisplay().
Bool_t PndSttMvdGemTracking::Prefit | ( | PndTrack * | sttmvdTrack, |
PndTrackCand * | sttmvdCand, | ||
TVector3 & | lastpos, | ||
TVector3 & | lastmom | ||
) |
Referenced by SwitchOnDisplay().
Bool_t PndSttMvdGemTracking::PropagateToGemPlane | ( | FairTrackParP * | tmppar, |
FairTrackParP * | gempar, | ||
Int_t | ipos | ||
) |
Referenced by SwitchOnDisplay().
Bool_t PndSttMvdGemTracking::PropagateToGemPlaneAsHelix | ( | PndTrack * | sttmvd, |
FairTrackParP * | gempar, | ||
Int_t | ipos | ||
) |
Referenced by SwitchOnDisplay().
void PndSttMvdGemTracking::Reset | ( | Int_t | nhits, |
Int_t | ntracks | ||
) |
Referenced by SwitchOnDisplay().
void PndSttMvdGemTracking::Retrack | ( | ) |
Referenced by SwitchOnDisplay().
Int_t PndSttMvdGemTracking::SelectPdgCode | ( | PndTrack * | sttmvd | ) |
Referenced by SwitchOnDisplay().
void PndSttMvdGemTracking::SetBranchNames | ( | TString | mvdpixel, |
TString | mvdstrip, | ||
TString | stt, | ||
TString | gem | ||
) |
Referenced by SetDefaultPdg().
|
inline |
Definition at line 96 of file PndSttMvdGemTracking.h.
References UpdateMCTrackId().
|
inline |
Definition at line 114 of file PndSttMvdGemTracking.h.
References SetBranchNames(), and SetTrackBranchNames().
|
inline |
Definition at line 103 of file PndSttMvdGemTracking.h.
References GetChargeCorrectedPdgFromMC(), and GetPdgFromMC().
|
inline |
Definition at line 43 of file PndSttMvdGemTracking.h.
|
virtual |
Referenced by SetPersistenc().
|
inline |
Definition at line 108 of file PndSttMvdGemTracking.h.
|
inline |
Definition at line 109 of file PndSttMvdGemTracking.h.
|
inline |
set persistence flag
Definition at line 36 of file PndSttMvdGemTracking.h.
References Copy(), SetParContainers(), and PndPersistencyTask::SetPersistency().
FairTrackParP PndSttMvdGemTracking::SetStartParameters | ( | PndTrack * | sttmvd, |
PndTrackCand * | sttmvdCand | ||
) |
Referenced by SwitchOnDisplay().
|
inline |
Definition at line 42 of file PndSttMvdGemTracking.h.
void PndSttMvdGemTracking::SetTrackBranchNames | ( | TString | startingtrack, |
TString | startingtrackcand | ||
) |
Referenced by SetDefaultPdg().
void PndSttMvdGemTracking::SetupGEMPlanes | ( | ) |
Referenced by SwitchOnDisplay().
|
inline |
Definition at line 44 of file PndSttMvdGemTracking.h.
References AddHitToTrack(), AddRemainingHits(), alpha, AssignHits(), CalculatePhi(), CheckCombinatorial(), CompareToPreviousPhi(), ConsiderCombinatorialEffect(), CountHitsInTrack(), CountTracks(), DeleteHitFromTrack(), EvaluatePerformances(), FillTrueDistances(), Fit(), ForbidMultiAssignedHits(), GetClosestOnFirst(), GetHitIndex(), GetHitsAssociatedToTrack(), GetHitsAssociatedToTrackOnPlane(), GetInitialParams(), GetPosIndex(), GetTrackIndex(), GetTracksAssociatedToHit(), i, IntersectionFinder(), IsAssignable(), Kalman(), OnlyOneHitToEachTrack(), OrderGemHits(), Prefit(), PropagateToGemPlane(), PropagateToGemPlaneAsHelix(), Reset(), Retrack(), SelectPdgCode(), SetStartParameters(), SetupGEMPlanes(), v, ZFind(), and ZFit().
void PndSttMvdGemTracking::UpdateMCTrackId | ( | PndTrackCand * | completeCand | ) |
Referenced by SetCombinatorialDistance().
|
inline |
Definition at line 100 of file PndSttMvdGemTracking.h.
References WriteHistograms().
void PndSttMvdGemTracking::WriteHistograms | ( | ) |
Referenced by UseMonteCarlo().
Bool_t PndSttMvdGemTracking::ZFind | ( | Int_t | nhits, |
TMatrixT< double > | points, | ||
Double_t | xc, | ||
Double_t | yc, | ||
Double_t | radius | ||
) |
Referenced by SwitchOnDisplay().
Bool_t PndSttMvdGemTracking::ZFit | ( | TMatrixT< double > | points, |
Int_t | charge, | ||
Double_t | xc, | ||
Double_t | yc, | ||
Double_t | radius, | ||
Double_t & | fitm, | ||
Double_t & | fip | ||
) |
Referenced by SwitchOnDisplay().