PandaRoot
PndFtsHoughTrackerTaskQA Class Reference

For automatic parameter optimization. This class tries numerous parameters and prints out good combinations. More...

#include <PndFtsHoughTrackerTaskQA.h>

Inheritance diagram for PndFtsHoughTrackerTaskQA:
PndFtsHoughTrackerTask PndPersistencyTask

Public Member Functions

 PndFtsHoughTrackerTaskQA (Int_t verbose=0)
 Constructor with flags. Can also be used as standard constructor. More...
 
 ~PndFtsHoughTrackerTaskQA ()
 Destructor. More...
 
virtual InitStatus Init ()
 Initialization of task at the beginning of a run. More...
 
virtual InitStatus ReInit ()
 ReInitiliazation of task when the runID changes. More...
 
virtual void Exec (Option_t *opt)
 Executed for each event. More...
 
virtual void FinishEvent ()
 When is this executed? After each event? More...
 
virtual void Finish ()
 Writes output to root file, I guess. Called at the end of the run. More...
 
Int_t getNEvtsWithEnoughParabolas () const
 
void setNParabolasToFind (Int_t nParabolasToFind)
 
void OverwriteTrackFinderParams (PndFtsHoughTrackFinderParams newParams)
 
- Public Member Functions inherited from PndFtsHoughTrackerTask
 PndFtsHoughTrackerTask (Int_t verbose=0, Bool_t persistence=kTRUE)
 Constructor with flags. Can also be used as standard constructor. More...
 
 ~PndFtsHoughTrackerTask ()
 Destructor. More...
 
virtual void SetParContainers ()
 Loads the parameter container from the runtime database. More...
 
void SetVerbose (Int_t verbose)
 
void SetPersistence (Bool_t val)
 
void SetSaveDebugInfo (Int_t saveDebugInfo)
 
Int_t GetVerbose () const
 
Int_t GetSaveDebugInfo () const
 Returns the verbosity level. More...
 
UInt_t GetEventNr () const
 Returns the save debug flag. More...
 
Int_t GetNFtsHits () const
 Returns the event number. More...
 
const PndFtsHitGetFtsHit (UInt_t hitId) const
 Returns pointer to the hit with index hitId in the FTS hit array. More...
 
Int_t getMcTruthIdForHitId (UInt_t hitId) const
 
const PndFtsTubeGetFtsTube (const PndFtsHit *const myHit) const
 Returns pointer to the FTS tube corresponding to input FTS hit. More...
 
const TVector3 GetFtsHitPosErrors (const PndFtsHit *const ftsHit) const
 Returns the position error (based on FTS straw geometry) for the hit with index hitId in the FTS hit array. More...
 
const TMatrixT< Double_t > GetFtsHitCovMatrix (const PndFtsHit *const ftsHit) const
 Returns the position covariance matrix (based on FTS straw geometry) for the hit with index hitId in the FTS hit array. More...
 
Int_t getFtsBranchId () const
 Returns detector Id of FTS. Try not to use it. More...
 
TClonesArray * getFtsHitArrayPtr () const
 Returns pointer to the hit array in which FTS hits are saved as PndFtsHit. Try not to use it. More...
 
FairField * getMagneticFieldPtr () const
 
- Public Member Functions inherited from PndPersistencyTask
 PndPersistencyTask ()
 
 PndPersistencyTask (const char *name, Int_t iVerbose=1)
 
virtual ~PndPersistencyTask ()
 
void SetPersistency (Bool_t val=kTRUE)
 
Bool_t GetPersistency ()
 

Additional Inherited Members

- Public Types inherited from PndFtsHoughTrackerTask
enum  DebugLevelMultiplicators {
  kHoughSpaces = 2, kAllFoundPeaksTogether = 3, kEachFoundPeakSeparately = 5, kMcTruthPeaksExclusively = 7,
  kMcTruthPeaksProjected = 11, kHitCurvesExclusively = 13, kHitCurvesProjected = 17
}
 
- Public Attributes inherited from PndFtsHoughTrackerTask
FairLogger * fLogger
 Returns pointer to the B field. More...
 
- Protected Member Functions inherited from PndFtsHoughTrackerTask
void throwError (const TString s) const
 For error reporting. More...
 
void CheckForDuplicateFtsHits ()
 
 PndFtsHoughTrackerTask (const PndFtsHoughTrackerTask &)
 
PndFtsHoughTrackerTask operator= (const PndFtsHoughTrackerTask &)
 
 ClassDef (PndFtsHoughTrackerTask, 1)
 
- Protected Attributes inherited from PndFtsHoughTrackerTask
Int_t fFtsBranchId
 Detector Id of FTS. More...
 
TClonesArray * fFtsHitArray
 Input array of PndFtsHit. More...
 
TClonesArray * fFtsMcPoints
 Input array of McPoints. More...
 
PndGeoFtsParfFtsParameters
 Needed for FTS map creator. More...
 
TClonesArray * fFtsTubeArray
 Input array of PndFtsTube (map of FTS tubes). More...
 
FairField * fField
 For B field access. More...
 
TString fTracksArrayName
 Branch name where to store the Track candidates. More...
 
TClonesArray * fTrackCands
 Array of found track candidates in PndTrackCand (for output) More...
 
TClonesArray * fTracks
 Array of found tracks in PndTrack (for output) More...
 
Int_t fSaveDebugInfo
 Debug information will be created if >0. More...
 
UInt_t fEventNr
 Event number for debugging purposes. More...
 

Detailed Description

For automatic parameter optimization. This class tries numerous parameters and prints out good combinations.

Author
Martin J. Galuska <martin [dot] j [dot] galuska (at) physik [dot] uni (minus) giessen [dot] de>

Created: 09.02.2014

Definition at line 38 of file PndFtsHoughTrackerTaskQA.h.

Constructor & Destructor Documentation

◆ PndFtsHoughTrackerTaskQA()

PndFtsHoughTrackerTaskQA::PndFtsHoughTrackerTaskQA ( Int_t  verbose = 0)

Constructor with flags. Can also be used as standard constructor.

Parameters
[in]verboseVerbosity level: 0 least, higher -> more output.
[in]persistencekFALSE does not write track candidates from PR to output root file.
[in]saveDebugInfokTRUE will write internal representation of track(let) candidates to output root file.

Referenced by OverwriteTrackFinderParams().

◆ ~PndFtsHoughTrackerTaskQA()

PndFtsHoughTrackerTaskQA::~PndFtsHoughTrackerTaskQA ( )

Destructor.

Member Function Documentation

◆ Exec()

virtual void PndFtsHoughTrackerTaskQA::Exec ( Option_t *  opt)
virtual

Executed for each event.

Parameters
optNot used.

Reimplemented from PndFtsHoughTrackerTask.

◆ Finish()

virtual void PndFtsHoughTrackerTaskQA::Finish ( )
virtual

Writes output to root file, I guess. Called at the end of the run.

Reimplemented from PndFtsHoughTrackerTask.

◆ FinishEvent()

virtual void PndFtsHoughTrackerTaskQA::FinishEvent ( )
virtual

When is this executed? After each event?

Reimplemented from PndFtsHoughTrackerTask.

◆ getNEvtsWithEnoughParabolas()

Int_t PndFtsHoughTrackerTaskQA::getNEvtsWithEnoughParabolas ( ) const
inline

Definition at line 64 of file PndFtsHoughTrackerTaskQA.h.

64 { return fNEvtsWithEnoughParabolas; };

◆ Init()

virtual InitStatus PndFtsHoughTrackerTaskQA::Init ( )
virtual

Initialization of task at the beginning of a run.

Reimplemented from PndFtsHoughTrackerTask.

◆ OverwriteTrackFinderParams()

void PndFtsHoughTrackerTaskQA::OverwriteTrackFinderParams ( PndFtsHoughTrackFinderParams  newParams)
inline

Definition at line 67 of file PndFtsHoughTrackerTaskQA.h.

References PndFtsHoughTrackerTaskQA().

67 { fTrackFinderParams = newParams; };

◆ ReInit()

virtual InitStatus PndFtsHoughTrackerTaskQA::ReInit ( )
virtual

ReInitiliazation of task when the runID changes.

Reimplemented from PndFtsHoughTrackerTask.

◆ setNParabolasToFind()

void PndFtsHoughTrackerTaskQA::setNParabolasToFind ( Int_t  nParabolasToFind)
inline

Definition at line 65 of file PndFtsHoughTrackerTaskQA.h.

65 { fNParabolasToFind = nParabolasToFind; };

The documentation for this class was generated from the following file: