FairRoot/PandaRoot
|
Ideal track finding algorithm. More...
#include <PndGemTrackFinderIdeal.h>
Public Member Functions | |
PndGemTrackFinderIdeal () | |
virtual | ~PndGemTrackFinderIdeal () |
virtual void | Init () |
virtual Int_t | DoFind (TClonesArray *hitArray, TClonesArray *trackArray, TClonesArray *trackCandArray) |
void | SetVerbose (const Int_t &verbose) |
void | SetPrimary (const Int_t &primary) |
virtual void | Finish () |
virtual void | SetParContainers () |
ClassDef (PndGemTrackFinder, 1) | |
Private Member Functions | |
ClassDef (PndGemTrackFinderIdeal, 1) | |
Private Attributes | |
TClonesArray * | fMCTrackArray |
TClonesArray * | fMCPointArray |
Int_t | fVerbose |
Int_t | fPrimary |
Int_t | fNofEvents |
event counter More... | |
Ideal track finding algorithm.
Definition at line 28 of file PndGemTrackFinderIdeal.h.
PndGemTrackFinderIdeal::PndGemTrackFinderIdeal | ( | ) |
Default constructor
Definition at line 38 of file PndGemTrackFinderIdeal.cxx.
References fMCPointArray, fMCTrackArray, fNofEvents, fPrimary, and fVerbose.
|
virtual |
|
inherited |
|
private |
|
virtual |
DoFind method
hitArray | Array of Gem hits |
trackArray | Array of PndGemTrack |
Implements PndGemTrackFinder.
Definition at line 102 of file PndGemTrackFinderIdeal.cxx.
References PndTrackCand::AddHit(), fabs(), fMCPointArray, fMCTrackArray, fNofEvents, fPrimary, fVerbose, PndTrackCandHit::GetHitId(), PndMCTrack::GetMotherID(), PndMCTrack::GetNPoints(), PndMCTrack::GetPdgCode(), PndGemHit::GetPosition(), PndTrackCand::GetSortedHit(), PndMCTrack::GetStartVertex(), kGEM, mom, pos, PndTrack::SetRefIndex(), PndTrackCand::Sort(), CAMath::Sqrt(), and Z.
|
inlinevirtualinherited |
Reimplemented in PndGemTrackFinderOnHitsTB.
Definition at line 42 of file PndGemTrackFinder.h.
Referenced by PndGemFindTracks::Finish().
|
virtual |
Initialisation
Reimplemented from PndGemTrackFinder.
Definition at line 50 of file PndGemTrackFinderIdeal.cxx.
References fMCPointArray, fMCTrackArray, fVerbose, and rtdb.
|
inlinevirtualinherited |
Virtual method SetParContainers. If needed, to be implemented in the concrete class.
Reimplemented in PndGemTrackFinderOnHitsTB, and PndGemTrackFinderOnHits.
Definition at line 47 of file PndGemTrackFinder.h.
|
inline |
Definition at line 53 of file PndGemTrackFinderIdeal.h.
References fPrimary.
Referenced by gem_idealTracks(), locT_all(), and locT_theta().
|
inline |
Public modifiers
Definition at line 52 of file PndGemTrackFinderIdeal.h.
References fVerbose, and verbose.
Referenced by gem_idealTracks(), locT_all(), and locT_theta().
|
private |
Definition at line 60 of file PndGemTrackFinderIdeal.h.
Referenced by DoFind(), Init(), and PndGemTrackFinderIdeal().
|
private |
Arrays of MC information
Definition at line 53 of file PndGemTrackFinderIdeal.h.
Referenced by DoFind(), Init(), and PndGemTrackFinderIdeal().
|
private |
event counter
Event counter
Definition at line 80 of file PndGemTrackFinderIdeal.h.
Referenced by DoFind(), and PndGemTrackFinderIdeal().
|
private |
Primaries level 0 - All MC tracks are considered 1 - Only primary MC tracks
Definition at line 77 of file PndGemTrackFinderIdeal.h.
Referenced by DoFind(), PndGemTrackFinderIdeal(), and SetPrimary().
|
private |
fGemStructure Verbosity level. 0 - quit 1 - event level 2 - track level 3 - debug (maximal output)
Definition at line 71 of file PndGemTrackFinderIdeal.h.
Referenced by DoFind(), Init(), PndGemTrackFinderIdeal(), and SetVerbose().