PandaRoot
PndSttTrackFinder Class Referenceabstract

#include <PndSttTrackFinder.h>

Inheritance diagram for PndSttTrackFinder:
PndSttTrackFinderIdeal PndSttTrackFinderReal

Public Member Functions

 PndSttTrackFinder ()
 
virtual ~PndSttTrackFinder ()
 
virtual void Init ()
 
virtual Int_t DoFind (TClonesArray *trackArray, TClonesArray *helixHitArray)=0
 
virtual Int_t DoFind (TClonesArray *trackArray, TClonesArray *trackCandArray, TClonesArray *helixHitArray)=0
 
virtual void Finish ()=0
 
virtual void AddHitCollection (TClonesArray *mHitArray, TClonesArray *mPointArray)=0
 
void SetVerbose (Int_t verbose)
 
void SetHelixHitProduction (Bool_t hhprod)
 
virtual void SetTubeArray (TClonesArray *tubeArray)=0
 
virtual void SetInputBranchName (char *string1)=0
 

Protected Member Functions

 ClassDef (PndSttTrackFinder, 1)
 

Protected Attributes

Int_t fVerbose
 
Bool_t fHelixHitProduction
 

Detailed Description

Definition at line 24 of file PndSttTrackFinder.h.

Constructor & Destructor Documentation

◆ PndSttTrackFinder()

PndSttTrackFinder::PndSttTrackFinder ( )
inline

Default constructor

Definition at line 27 of file PndSttTrackFinder.h.

◆ ~PndSttTrackFinder()

virtual PndSttTrackFinder::~PndSttTrackFinder ( )
inlinevirtual

Destructor

Definition at line 30 of file PndSttTrackFinder.h.

30 {};

Member Function Documentation

◆ AddHitCollection()

virtual void PndSttTrackFinder::AddHitCollection ( TClonesArray *  mHitArray,
TClonesArray *  mPointArray 
)
pure virtual

Implemented in PndSttTrackFinderIdeal, and PndSttTrackFinderReal.

Referenced by Init().

◆ ClassDef()

PndSttTrackFinder::ClassDef ( PndSttTrackFinder  ,
 
)
protected

◆ DoFind() [1/2]

virtual Int_t PndSttTrackFinder::DoFind ( TClonesArray *  trackArray,
TClonesArray *  helixHitArray 
)
pure virtual

Abstract method DoFind. To be implemented in the concrete class. Task: Read the pixel and strip hit arrays and fill the track array, pointers to which are given as arguments Number of tracks created

Implemented in PndSttTrackFinderReal.

Referenced by Init().

◆ DoFind() [2/2]

virtual Int_t PndSttTrackFinder::DoFind ( TClonesArray *  trackArray,
TClonesArray *  trackCandArray,
TClonesArray *  helixHitArray 
)
pure virtual

◆ Finish()

virtual void PndSttTrackFinder::Finish ( )
pure virtual

Virtual method Finish. If needed, to be implemented in the concrete class. Executed at the end of the run.

Implemented in PndSttTrackFinderReal.

Referenced by Init().

◆ Init()

virtual void PndSttTrackFinder::Init ( )
inlinevirtual

Virtual method Init. If needed, to be implemented in the concrete class. Else no action.

Reimplemented in PndSttTrackFinderReal, and PndSttTrackFinderIdeal.

Definition at line 35 of file PndSttTrackFinder.h.

References AddHitCollection(), DoFind(), and Finish().

35 {};

◆ SetHelixHitProduction()

void PndSttTrackFinder::SetHelixHitProduction ( Bool_t  hhprod)
inline

set the helix hit production flag true or false

Definition at line 58 of file PndSttTrackFinder.h.

References fHelixHitProduction, SetInputBranchName(), and SetTubeArray().

58 { fHelixHitProduction = hhprod; };

◆ SetInputBranchName()

virtual void PndSttTrackFinder::SetInputBranchName ( char *  string1)
pure virtual

Implemented in PndSttTrackFinderReal.

Referenced by SetHelixHitProduction().

◆ SetTubeArray()

virtual void PndSttTrackFinder::SetTubeArray ( TClonesArray *  tubeArray)
pure virtual

CHECK added

Implemented in PndSttTrackFinderIdeal, and PndSttTrackFinderReal.

Referenced by SetHelixHitProduction().

◆ SetVerbose()

void PndSttTrackFinder::SetVerbose ( Int_t  verbose)
inline

Set verbosity

Parameters
verboseVerbosity level

Definition at line 55 of file PndSttTrackFinder.h.

References fVerbose.

55 { fVerbose = verbose; };

Member Data Documentation

◆ fHelixHitProduction

Bool_t PndSttTrackFinder::fHelixHitProduction
protected

production to file of helix hit from PR or not

Definition at line 69 of file PndSttTrackFinder.h.

Referenced by SetHelixHitProduction().

◆ fVerbose

Int_t PndSttTrackFinder::fVerbose
protected

Definition at line 67 of file PndSttTrackFinder.h.

Referenced by SetVerbose().


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