FairRoot/PandaRoot
|
OnHits track finding algorithm. More...
#include <PndGemTrackFinderOnHits.h>
Public Member Functions | |
PndGemTrackFinderOnHits () | |
virtual | ~PndGemTrackFinderOnHits () |
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) |
virtual void | Finish () |
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 () |
ClassDef (PndGemTrackFinderOnHits, 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] |
Int_t | fNofEvents |
Int_t | fMCAvailable |
Int_t | fNofClHits |
Int_t | fNofExpectedTrackSegments |
Int_t | fNofFoundTrackSegments |
std::vector< TrackSegment > | fTrackSegments |
OnHits track finding algorithm.
Definition at line 37 of file PndGemTrackFinderOnHits.h.
PndGemTrackFinderOnHits::PndGemTrackFinderOnHits | ( | ) |
Default constructor
Definition at line 37 of file PndGemTrackFinderOnHits.cxx.
References fDigiPar, fMCAvailable, fMCPointArray, fMCTrackArray, fNofClHits, fNofEvents, fNofExpectedTrackSegments, fNofFoundTrackSegments, fParMat0, fParMat1, fParRadPhi0, fParRadPhi2, fParTheta0, fParTheta1, fParTheta2, fParTheta3, fParThetaA, fParThetaB, fPrimary, fSigmaMult, and fVerbose.
|
virtual |
|
inherited |
|
private |
|
private |
Definition at line 392 of file PndGemTrackFinderOnHits.cxx.
References CAMath::Abs(), PndTrackCand::AddHit(), Double_t, fDigiPar, fTrackSegments, PndGemDigiPar::GetNStations(), PndGemHit::GetPosition(), TrackSegment::hitIndex, mom, pos, TrackSegment::recoTrackIndex, PndTrackCand::Sort(), TrackSegment::stationIndex, TrackSegment::trackMom, TrackSegment::trackPhi, and TrackSegment::trackTheta.
Referenced by DoFind().
|
virtual |
DoFind method
hitArray | Array of Gem hits |
trackArray | Array of PndGemTrack |
Implements PndGemTrackFinder.
Definition at line 160 of file PndGemTrackFinderOnHits.cxx.
References CAMath::Abs(), CreateTracks(), Double_t, fDigiPar, FindTrackSegments(), fMCAvailable, fMCPointArray, fMCTrackArray, fNofClHits, fNofEvents, fSigmaMult, fTrackSegments, fVerbose, PndGemHit::GetNDigiHits(), PndGemDigiPar::GetNStations(), MatchTrackSegments(), PrintMCTracks(), PrintMCTrackSegments(), PrintTracks(), PrintTrackSegments(), RemoveCloneTracks(), PndGemHit::SetNDigiHits(), and CAMath::Sqrt().
|
private |
Definition at line 763 of file PndGemTrackFinderOnHits.cxx.
References CAMath::Abs(), Bool_t, Double_t, fDigiPar, fParMat0, fParMat1, fParRadPhi0, fParRadPhi2, fParTheta0, fParTheta1, fParTheta2, fParTheta3, fParThetaA, fParThetaB, fTrackSegments, fVerbose, PndGemHit::GetNDigiHits(), PndGemDigiPar::GetStation(), PndGemStation::GetZ(), TrackSegment::hitIndex, Pi, TrackSegment::recoTrackIndex, CAMath::Sqrt(), TrackSegment::stationIndex, theta, TrackSegment::trackMom, TrackSegment::trackPhi, and TrackSegment::trackTheta.
Referenced by DoFind().
|
inlinevirtualinherited |
Reimplemented in PndGemTrackFinderOnHitsTB.
Definition at line 42 of file PndGemTrackFinder.h.
Referenced by PndGemFindTracks::Finish().
|
privatevirtual |
Initialisation
Reimplemented from PndGemTrackFinder.
Definition at line 77 of file PndGemTrackFinderOnHits.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 603 of file PndGemTrackFinderOnHits.cxx.
References CAMath::Abs(), Bool_t, Double_t, fTrackSegments, fVerbose, TrackSegment::hitIndex, TrackSegment::recoTrackIndex, TrackSegment::stationIndex, TrackSegment::trackMom, TrackSegment::trackPhi, and TrackSegment::trackTheta.
Referenced by DoFind().
|
private |
Definition at line 1061 of file PndGemTrackFinderOnHits.cxx.
References Double_t, fDigiPar, fMCPointArray, fMCTrackArray, fTrackSegments, PndMCTrack::GetMomentum(), PndGemDigiPar::GetNStations(), TrackSegment::hitIndex, TrackSegment::recoTrackIndex, TrackSegment::stationIndex, TrackSegment::trackMom, TrackSegment::trackPhi, and TrackSegment::trackTheta.
Referenced by DoFind().
|
private |
Definition at line 904 of file PndGemTrackFinderOnHits.cxx.
References fDigiPar, fMCPointArray, fMCTrackArray, fNofExpectedTrackSegments, fNofFoundTrackSegments, fTrackSegments, PndMCTrack::GetMomentum(), PndGemDigiPar::GetNStations(), PndGemMCPoint::GetSensorId(), PndGemDigiPar::GetStationNr(), TrackSegment::hitIndex, is, TrackSegment::stationIndex, TrackSegment::trackMom, TrackSegment::trackPhi, and TrackSegment::trackTheta.
Referenced by DoFind().
|
private |
Definition at line 1009 of file PndGemTrackFinderOnHits.cxx.
References Double_t, fDigiPar, fTrackSegments, PndGemDigiPar::GetNStations(), TrackSegment::hitIndex, TrackSegment::recoTrackIndex, TrackSegment::stationIndex, TrackSegment::trackMom, TrackSegment::trackPhi, and TrackSegment::trackTheta.
Referenced by DoFind().
|
private |
Definition at line 881 of file PndGemTrackFinderOnHits.cxx.
References fTrackSegments, TrackSegment::hitIndex, TrackSegment::stationIndex, TrackSegment::trackMom, TrackSegment::trackPhi, and TrackSegment::trackTheta.
Referenced by DoFind().
|
private |
Definition at line 484 of file PndGemTrackFinderOnHits.cxx.
References CAMath::Abs(), Bool_t, Double_t, fDigiPar, fTrackSegments, fVerbose, PndGemDigiPar::GetNStations(), TrackSegment::hitIndex, TrackSegment::recoTrackIndex, TrackSegment::stationIndex, TrackSegment::trackMom, TrackSegment::trackPhi, and TrackSegment::trackTheta.
Referenced by DoFind().
|
privatevirtual |
Get parameter containers
Reimplemented from PndGemTrackFinder.
Definition at line 144 of file PndGemTrackFinderOnHits.cxx.
|
inline |
Definition at line 59 of file PndGemTrackFinderOnHits.h.
References fPrimary.
Referenced by gem_boxTracksN(), gem_findTracks(), QAmacro_gem_2(), and RecoComplete().
|
inline |
|
inline |
Public modifiers
Definition at line 58 of file PndGemTrackFinderOnHits.h.
References fVerbose, and verbose.
Referenced by gem_boxTracksN(), gem_findTracks(), QAmacro_gem_2(), and RecoComplete().
|
private |
Definition at line 60 of file PndGemTrackFinderOnHits.h.
Referenced by CreateTracks(), DoFind(), FindTrackSegments(), Init(), PndGemTrackFinderOnHits(), PrintMCTracks(), PrintMCTrackSegments(), PrintTracks(), RemoveCloneTracks(), and SetParContainers().
|
private |
Definition at line 107 of file PndGemTrackFinderOnHits.h.
Referenced by DoFind(), and PndGemTrackFinderOnHits().
|
private |
Definition at line 69 of file PndGemTrackFinderOnHits.h.
Referenced by DoFind(), Init(), PndGemTrackFinderOnHits(), PrintMCTracks(), and PrintMCTrackSegments().
|
private |
Arrays of MC information
Definition at line 68 of file PndGemTrackFinderOnHits.h.
Referenced by DoFind(), Init(), PndGemTrackFinderOnHits(), PrintMCTracks(), and PrintMCTrackSegments().
|
private |
Definition at line 108 of file PndGemTrackFinderOnHits.h.
Referenced by DoFind(), and PndGemTrackFinderOnHits().
|
private |
Event counter
Definition at line 106 of file PndGemTrackFinderOnHits.h.
Referenced by DoFind(), and PndGemTrackFinderOnHits().
|
private |
Definition at line 110 of file PndGemTrackFinderOnHits.h.
Referenced by Init(), PndGemTrackFinderOnHits(), and PrintMCTrackSegments().
|
private |
Definition at line 111 of file PndGemTrackFinderOnHits.h.
Referenced by Init(), PndGemTrackFinderOnHits(), and PrintMCTrackSegments().
|
private |
Definition at line 102 of file PndGemTrackFinderOnHits.h.
Referenced by FindTrackSegments(), Init(), and PndGemTrackFinderOnHits().
|
private |
Definition at line 103 of file PndGemTrackFinderOnHits.h.
Referenced by FindTrackSegments(), Init(), and PndGemTrackFinderOnHits().
|
private |
Definition at line 99 of file PndGemTrackFinderOnHits.h.
Referenced by FindTrackSegments(), Init(), and PndGemTrackFinderOnHits().
|
private |
Definition at line 100 of file PndGemTrackFinderOnHits.h.
Referenced by FindTrackSegments(), Init(), and PndGemTrackFinderOnHits().
|
private |
Definition at line 94 of file PndGemTrackFinderOnHits.h.
Referenced by FindTrackSegments(), Init(), and PndGemTrackFinderOnHits().
|
private |
Definition at line 95 of file PndGemTrackFinderOnHits.h.
Referenced by FindTrackSegments(), Init(), and PndGemTrackFinderOnHits().
|
private |
Definition at line 96 of file PndGemTrackFinderOnHits.h.
Referenced by FindTrackSegments(), Init(), and PndGemTrackFinderOnHits().
|
private |
Definition at line 97 of file PndGemTrackFinderOnHits.h.
Referenced by FindTrackSegments(), Init(), and PndGemTrackFinderOnHits().
|
private |
Definition at line 91 of file PndGemTrackFinderOnHits.h.
Referenced by FindTrackSegments(), Init(), and PndGemTrackFinderOnHits().
|
private |
Definition at line 92 of file PndGemTrackFinderOnHits.h.
Referenced by FindTrackSegments(), Init(), and PndGemTrackFinderOnHits().
|
private |
Primaries level 0 - All MC tracks are considered 1 - Only primary MC tracks
Definition at line 86 of file PndGemTrackFinderOnHits.h.
Referenced by PndGemTrackFinderOnHits(), and SetPrimary().
|
private |
Definition at line 88 of file PndGemTrackFinderOnHits.h.
Referenced by DoFind(), PndGemTrackFinderOnHits(), and SetSigmaMult().
|
private |
Definition at line 112 of file PndGemTrackFinderOnHits.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 80 of file PndGemTrackFinderOnHits.h.
Referenced by DoFind(), FindTrackSegments(), MatchTrackSegments(), PndGemTrackFinderOnHits(), RemoveCloneTracks(), and SetVerbose().