CbmRoot
CbmTrackMerger Class Referenceabstract

#include <CbmTrackMerger.h>

Inheritance diagram for CbmTrackMerger:
[legend]
Collaboration diagram for CbmTrackMerger:
[legend]

Public Member Functions

 CbmTrackMerger ()
 
virtual ~CbmTrackMerger ()
 
virtual void Init ()
 
virtual Int_t DoMerge (TClonesArray *stsTracks, TClonesArray *trdTracks, TClonesArray *glbTracks)=0
 
void SetVerbose (Int_t verbose)
 

Protected Member Functions

 ClassDef (CbmTrackMerger, 1)
 

Protected Attributes

Int_t fVerbose
 

Detailed Description

Definition at line 25 of file CbmTrackMerger.h.

Constructor & Destructor Documentation

◆ CbmTrackMerger()

CbmTrackMerger::CbmTrackMerger ( )
inline

Default constructor

Definition at line 29 of file CbmTrackMerger.h.

◆ ~CbmTrackMerger()

virtual CbmTrackMerger::~CbmTrackMerger ( )
inlinevirtual

Destructor

Definition at line 33 of file CbmTrackMerger.h.

Member Function Documentation

◆ ClassDef()

CbmTrackMerger::ClassDef ( CbmTrackMerger  ,
 
)
protected

◆ DoMerge()

virtual Int_t CbmTrackMerger::DoMerge ( TClonesArray *  stsTracks,
TClonesArray *  trdTracks,
TClonesArray *  glbTracks 
)
pure virtual

Abstract method DoMerge. To be implemented in the derived classes. Task: Take arrays of StsTracks and TrdTracks and merge them to GlobalTracks. Fill the TClonesArray with CbmGlobalTracks.

Parameters
stsTracksArray of CbmStsTrack (input)
trdTracksArray of CbmTrdTrack (input)
glbTracksArray of CbmGlobalTracks (output)

@value Number of merged STS+TRD tracks

Implemented in CbmL1TrackMerger, and CbmTrackMergerIdeal.

Referenced by CbmFindGlobalTracks::Exec().

◆ Init()

virtual void CbmTrackMerger::Init ( )
inlinevirtual

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

Reimplemented in CbmL1TrackMerger, and CbmTrackMergerIdeal.

Definition at line 39 of file CbmTrackMerger.h.

Referenced by CbmFindGlobalTracks::Init().

◆ SetVerbose()

void CbmTrackMerger::SetVerbose ( Int_t  verbose)
inline

Set verbosity

Parameters
verboseVerbosity level

Definition at line 60 of file CbmTrackMerger.h.

References fVerbose.

Referenced by CbmFindGlobalTracks::Init().

Member Data Documentation

◆ fVerbose


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