FairRoot/PandaRoot
|
OnHits track finding algorithm. More...
#include <PndGemTrackFinderOnHitsTB.h>
Public Member Functions | |
PndGemTrackFinderOnHitsTB () | |
virtual | ~PndGemTrackFinderOnHitsTB () |
virtual Int_t | DoFind (TClonesArray *hitArray, TClonesArray *trackArray, TClonesArray *trackCandArray) |
void | SetVerbose (const Int_t &verbose) |
void | SetPrimary (const Int_t &primary) |
void | SetSigmaMult (Double_t tempd) |
ClassDef (PndGemTrackFinder, 1) | |
Private Member Functions | |
Int_t | FindTrackSegments (TClonesArray *hitArray, Int_t stat1Id, Int_t stat2Id) |
Int_t | MatchTrackSegments () |
void | RemoveCloneTracks (Int_t nofRecoTracks) |
Int_t | CreateTracks (TClonesArray *hitArray, TClonesArray *trackArray, TClonesArray *trackCandArray, Int_t nofRecoTracks) |
void | PrintTrackSegments (TClonesArray *hitArray) |
void | PrintTracks (TClonesArray *hitArray, Int_t nofRecoTracks) |
void | PrintMCTrackSegments (TClonesArray *hitArray) |
void | PrintMCTracks (TClonesArray *hitArray, Int_t nofRecoTracks) |
virtual void | SetParContainers () |
virtual void | Init () |
virtual void | Finish () |
ClassDef (PndGemTrackFinderOnHitsTB, 1) | |
Private Attributes | |
PndGemDigiPar * | fDigiPar |
TClonesArray * | fMCTrackArray |
TClonesArray * | fMCPointArray |
Int_t | fVerbose |
Int_t | fPrimary |
Double_t | fSigmaMult |
Double_t | fParThetaA |
Double_t | fParThetaB |
Double_t | fParTheta0 |
Double_t | fParTheta1 |
Double_t | fParTheta2 |
Double_t | fParTheta3 |
Double_t | fParRadPhi0 |
Double_t | fParRadPhi2 |
Double_t | fParMat0 [3] |
Double_t | fParMat1 [3] |
TStopwatch | fTimer |
Double_t | fPrepTime |
Double_t | fSegmTime |
Double_t | fMatchTime |
Double_t | fRemoveTime |
Double_t | fWriteTime |
Double_t | fAllTime |
Int_t | fNofEvents |
Int_t | fMCAvailable |
Int_t | fNofClHits |
Int_t | fNofExpectedTrackSegments |
Int_t | fNofFoundTrackSegments |
std::vector< TrackSegmentTB > | fTrackSegments |
OnHits track finding algorithm.
Definition at line 40 of file PndGemTrackFinderOnHitsTB.h.
PndGemTrackFinderOnHitsTB::PndGemTrackFinderOnHitsTB | ( | ) |
Default constructor
Definition at line 38 of file PndGemTrackFinderOnHitsTB.cxx.
References fParMat0, and fParMat1.
|
virtual |
|
inherited |
|
private |
|
private |
Definition at line 281 of file PndGemTrackFinderOnHitsTB.cxx.
References CAMath::Abs(), PndTrackCand::AddHit(), Bool_t, Double_t, fDigiPar, fTrackSegments, fVerbose, PndGemDigiPar::GetNStations(), PndGemHit::GetPosition(), TrackSegmentTB::hitIndex, mom, pos, TrackSegmentTB::recoTrackIndex, PndTrackCand::Sort(), TrackSegmentTB::trackMom, TrackSegmentTB::trackPhi, and TrackSegmentTB::trackTheta.
Referenced by DoFind().
|
virtual |
DoFind method
hitArray | Array of Gem hits |
trackArray | Array of PndGemTrack |
Implements PndGemTrackFinder.
Definition at line 158 of file PndGemTrackFinderOnHitsTB.cxx.
References CreateTracks(), fAllTime, fDigiPar, FindTrackSegments(), fMatchTime, fMCAvailable, fMCPointArray, fMCTrackArray, fNofEvents, fPrepTime, fRemoveTime, fSegmTime, fTimer, fTrackSegments, fVerbose, fWriteTime, PndGemDigiPar::GetNStations(), MatchTrackSegments(), PrintMCTracks(), PrintMCTrackSegments(), PrintTracks(), PrintTrackSegments(), and RemoveCloneTracks().
|
private |
Definition at line 712 of file PndGemTrackFinderOnHitsTB.cxx.
References CAMath::Abs(), Bool_t, CAMath::Cos(), Double_t, fParMat0, fParMat1, fParThetaA, fParThetaB, fTrackSegments, fVerbose, PndGemHit::GetCharge(), PndGemHit::GetSensorNr(), PndGemHit::GetStationNr(), TrackSegmentTB::hitIndex, Pi, TrackSegmentTB::recoTrackIndex, TrackSegmentTB::sensorNumber, CAMath::Sin(), CAMath::Sqrt(), TrackSegmentTB::stationIndex, CAMath::Tan(), TrackSegmentTB::trackMom, TrackSegmentTB::trackPhi, and TrackSegmentTB::trackTheta.
Referenced by DoFind().
|
privatevirtual |
Reimplemented from PndGemTrackFinder.
Definition at line 1115 of file PndGemTrackFinderOnHitsTB.cxx.
References fAllTime, fMatchTime, fPrepTime, fRemoveTime, fSegmTime, and fWriteTime.
|
privatevirtual |
Initialisation
Reimplemented from PndGemTrackFinder.
Definition at line 76 of file PndGemTrackFinderOnHitsTB.cxx.
References fDigiPar, fMCPointArray, fMCTrackArray, fNofExpectedTrackSegments, fNofFoundTrackSegments, fParMat0, fParMat1, fParRadPhi0, fParRadPhi2, fParTheta0, fParTheta1, fParTheta2, fParTheta3, fParThetaA, fParThetaB, PndGemDigiPar::GetNStations(), PndGemDigiPar::GetTrackFinderOnHits_ParMat0(), PndGemDigiPar::GetTrackFinderOnHits_ParMat1(), PndGemDigiPar::GetTrackFinderOnHits_ParRadPhi0(), PndGemDigiPar::GetTrackFinderOnHits_ParRadPhi2(), PndGemDigiPar::GetTrackFinderOnHits_ParTheta0(), PndGemDigiPar::GetTrackFinderOnHits_ParTheta1(), PndGemDigiPar::GetTrackFinderOnHits_ParTheta2(), PndGemDigiPar::GetTrackFinderOnHits_ParTheta3(), PndGemDigiPar::GetTrackFinderOnHits_ParThetaA(), PndGemDigiPar::GetTrackFinderOnHits_ParThetaB(), and rtdb.
|
private |
Definition at line 549 of file PndGemTrackFinderOnHitsTB.cxx.
References CAMath::Abs(), Bool_t, Double_t, fTrackSegments, fVerbose, TrackSegmentTB::hitIndex, TrackSegmentTB::recoTrackIndex, TrackSegmentTB::sensorNumber, TrackSegmentTB::stationIndex, TrackSegmentTB::trackMom, TrackSegmentTB::trackPhi, and TrackSegmentTB::trackTheta.
Referenced by DoFind().
|
private |
Definition at line 1042 of file PndGemTrackFinderOnHitsTB.cxx.
References Double_t, fDigiPar, fMCPointArray, fMCTrackArray, fTrackSegments, PndMCTrack::GetMomentum(), PndGemDigiPar::GetNStations(), TrackSegmentTB::hitIndex, TrackSegmentTB::recoTrackIndex, TrackSegmentTB::sensorNumber, TrackSegmentTB::stationIndex, TrackSegmentTB::trackMom, TrackSegmentTB::trackPhi, and TrackSegmentTB::trackTheta.
Referenced by DoFind().
|
private |
Definition at line 889 of file PndGemTrackFinderOnHitsTB.cxx.
References fDigiPar, fMCPointArray, fMCTrackArray, fNofExpectedTrackSegments, fNofFoundTrackSegments, fTrackSegments, PndMCTrack::GetMomentum(), PndGemDigiPar::GetNStations(), PndGemMCPoint::GetSensorId(), PndGemDigiPar::GetStationNr(), TrackSegmentTB::hitIndex, is, TrackSegmentTB::stationIndex, TrackSegmentTB::trackMom, TrackSegmentTB::trackPhi, and TrackSegmentTB::trackTheta.
Referenced by DoFind().
|
private |
Definition at line 992 of file PndGemTrackFinderOnHitsTB.cxx.
References Double_t, fDigiPar, fTrackSegments, PndGemDigiPar::GetNStations(), TrackSegmentTB::hitIndex, TrackSegmentTB::recoTrackIndex, TrackSegmentTB::sensorNumber, TrackSegmentTB::stationIndex, TrackSegmentTB::trackMom, TrackSegmentTB::trackPhi, and TrackSegmentTB::trackTheta.
Referenced by DoFind().
|
private |
Definition at line 869 of file PndGemTrackFinderOnHitsTB.cxx.
References fTrackSegments, TrackSegmentTB::hitIndex, TrackSegmentTB::stationIndex, TrackSegmentTB::trackMom, TrackSegmentTB::trackPhi, and TrackSegmentTB::trackTheta.
Referenced by DoFind().
|
private |
Definition at line 427 of file PndGemTrackFinderOnHitsTB.cxx.
References CAMath::Abs(), Bool_t, Double_t, fDigiPar, fTrackSegments, fVerbose, PndGemDigiPar::GetNStations(), TrackSegmentTB::hitIndex, TrackSegmentTB::recoTrackIndex, TrackSegmentTB::stationIndex, TrackSegmentTB::trackMom, TrackSegmentTB::trackPhi, and TrackSegmentTB::trackTheta.
Referenced by DoFind().
|
privatevirtual |
Get parameter containers
Reimplemented from PndGemTrackFinder.
Definition at line 142 of file PndGemTrackFinderOnHitsTB.cxx.
|
inline |
Definition at line 62 of file PndGemTrackFinderOnHitsTB.h.
References fPrimary.
Referenced by TB_gem_CluHiTra().
|
inline |
|
inline |
Public modifiers
Definition at line 61 of file PndGemTrackFinderOnHitsTB.h.
References fVerbose, and verbose.
Referenced by TB_gem_CluHiTra().
|
private |
Definition at line 115 of file PndGemTrackFinderOnHitsTB.h.
|
private |
Definition at line 63 of file PndGemTrackFinderOnHitsTB.h.
Referenced by CreateTracks(), DoFind(), Init(), PrintMCTracks(), PrintMCTrackSegments(), PrintTracks(), RemoveCloneTracks(), and SetParContainers().
|
private |
Definition at line 112 of file PndGemTrackFinderOnHitsTB.h.
|
private |
Definition at line 119 of file PndGemTrackFinderOnHitsTB.h.
Referenced by DoFind().
|
private |
Definition at line 72 of file PndGemTrackFinderOnHitsTB.h.
Referenced by DoFind(), Init(), PrintMCTracks(), and PrintMCTrackSegments().
|
private |
Arrays of MC information
Definition at line 71 of file PndGemTrackFinderOnHitsTB.h.
Referenced by DoFind(), Init(), PrintMCTracks(), and PrintMCTrackSegments().
|
private |
Definition at line 120 of file PndGemTrackFinderOnHitsTB.h.
|
private |
|
private |
Definition at line 122 of file PndGemTrackFinderOnHitsTB.h.
Referenced by Init(), and PrintMCTrackSegments().
|
private |
Definition at line 123 of file PndGemTrackFinderOnHitsTB.h.
Referenced by Init(), and PrintMCTrackSegments().
|
private |
Definition at line 105 of file PndGemTrackFinderOnHitsTB.h.
Referenced by FindTrackSegments(), Init(), and PndGemTrackFinderOnHitsTB().
|
private |
Definition at line 106 of file PndGemTrackFinderOnHitsTB.h.
Referenced by FindTrackSegments(), Init(), and PndGemTrackFinderOnHitsTB().
|
private |
Definition at line 102 of file PndGemTrackFinderOnHitsTB.h.
Referenced by Init().
|
private |
Definition at line 103 of file PndGemTrackFinderOnHitsTB.h.
Referenced by Init().
|
private |
Definition at line 97 of file PndGemTrackFinderOnHitsTB.h.
Referenced by Init().
|
private |
Definition at line 98 of file PndGemTrackFinderOnHitsTB.h.
Referenced by Init().
|
private |
Definition at line 99 of file PndGemTrackFinderOnHitsTB.h.
Referenced by Init().
|
private |
Definition at line 100 of file PndGemTrackFinderOnHitsTB.h.
Referenced by Init().
|
private |
Definition at line 94 of file PndGemTrackFinderOnHitsTB.h.
Referenced by FindTrackSegments(), and Init().
|
private |
Definition at line 95 of file PndGemTrackFinderOnHitsTB.h.
Referenced by FindTrackSegments(), and Init().
|
private |
Definition at line 110 of file PndGemTrackFinderOnHitsTB.h.
|
private |
Primaries level 0 - All MC tracks are considered 1 - Only primary MC tracks
Definition at line 89 of file PndGemTrackFinderOnHitsTB.h.
Referenced by SetPrimary().
|
private |
Definition at line 113 of file PndGemTrackFinderOnHitsTB.h.
|
private |
Definition at line 111 of file PndGemTrackFinderOnHitsTB.h.
|
private |
Definition at line 91 of file PndGemTrackFinderOnHitsTB.h.
Referenced by SetSigmaMult().
|
private |
Definition at line 108 of file PndGemTrackFinderOnHitsTB.h.
Referenced by DoFind().
|
private |
Definition at line 124 of file PndGemTrackFinderOnHitsTB.h.
Referenced by CreateTracks(), DoFind(), FindTrackSegments(), MatchTrackSegments(), PrintMCTracks(), PrintMCTrackSegments(), PrintTracks(), PrintTrackSegments(), and RemoveCloneTracks().
|
private |
fGemStructure Verbosity level. 0 - quit 1 - event level 2 - track level 3 - debug (maximal output)
Definition at line 83 of file PndGemTrackFinderOnHitsTB.h.
Referenced by CreateTracks(), DoFind(), FindTrackSegments(), MatchTrackSegments(), RemoveCloneTracks(), and SetVerbose().
|
private |
Definition at line 114 of file PndGemTrackFinderOnHitsTB.h.