EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CbmTrackMerger Class Referenceabstract

#include <EicRoot/blob/master/cbmbase/CbmTrackMerger.h>

+ Inheritance diagram for CbmTrackMerger:
+ Collaboration diagram for CbmTrackMerger:

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.

View newest version in sPHENIX GitHub at line 25 of file CbmTrackMerger.h

Constructor & Destructor Documentation

CbmTrackMerger::CbmTrackMerger ( )
inline

Default constructor

Definition at line 31 of file CbmTrackMerger.h.

View newest version in sPHENIX GitHub at line 31 of file CbmTrackMerger.h

virtual CbmTrackMerger::~CbmTrackMerger ( )
inlinevirtual

Destructor

Definition at line 35 of file CbmTrackMerger.h.

View newest version in sPHENIX GitHub at line 35 of file CbmTrackMerger.h

Member Function Documentation

CbmTrackMerger::ClassDef ( CbmTrackMerger  ,
 
)
protected
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)

Number of merged STS+TRD tracks

virtual void CbmTrackMerger::Init ( )
inlinevirtual

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

Definition at line 41 of file CbmTrackMerger.h.

View newest version in sPHENIX GitHub at line 41 of file CbmTrackMerger.h

void CbmTrackMerger::SetVerbose ( Int_t  verbose)
inline

Set verbosity

Parameters
verboseVerbosity level

Definition at line 62 of file CbmTrackMerger.h.

View newest version in sPHENIX GitHub at line 62 of file CbmTrackMerger.h

References fVerbose, and verbose.

Member Data Documentation

Int_t CbmTrackMerger::fVerbose
protected

Definition at line 62 of file CbmTrackMerger.h.

View newest version in sPHENIX GitHub at line 62 of file CbmTrackMerger.h

Referenced by SetVerbose().


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