CbmRoot
CbmL1TrackMerger Class Reference

#include <CbmL1TrackMerger.h>

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

Public Member Functions

 CbmL1TrackMerger ()
 
 CbmL1TrackMerger (Int_t verbose)
 
virtual ~CbmL1TrackMerger ()
 
void Init ()
 
Int_t DoMerge (TClonesArray *stsTracks, TClonesArray *trdTracks, TClonesArray *glbTracks)
 
void WriteHistogramms ()
 
Int_t GetVerbose () const
 
Int_t GetMethod () const
 
void SetVerbose (Int_t verbose)
 
void SetMethod (Int_t method)
 
 ClassDef (CbmL1TrackMerger, 1)
 

Protected Member Functions

 ClassDef (CbmTrackMerger, 1)
 

Protected Attributes

Int_t fVerbose
 

Private Member Functions

 CbmL1TrackMerger (const CbmL1TrackMerger &)
 
CbmL1TrackMerger operator= (const CbmL1TrackMerger &)
 
Double_t GetChi2XY (CbmKFTrack &kfTrack, FairTrackParam *trackParam)
 
void CreateHistogramms ()
 
Int_t MergeSimple (TClonesArray *stsTracks, TClonesArray *trdTracks, TClonesArray *glbTracks)
 
Int_t MergeImPlane (TClonesArray *stsTracks, TClonesArray *trdTracks, TClonesArray *glbTracks)
 

Private Attributes

Int_t fMethod
 
TClonesArray * fArrayStsTrackM
 
TClonesArray * fArrayTrdTrackM
 
TH2F * fh_dx_true
 
TH2F * fh_dx_false
 
TH2F * fh_dy_true
 
TH2F * fh_dy_false
 
TH2F * fh_dtx_true
 
TH2F * fh_dtx_false
 
TH2F * fh_dty_true
 
TH2F * fh_dty_false
 

Detailed Description

Definition at line 16 of file CbmL1TrackMerger.h.

Constructor & Destructor Documentation

◆ CbmL1TrackMerger() [1/3]

CbmL1TrackMerger::CbmL1TrackMerger ( const CbmL1TrackMerger )
private

◆ CbmL1TrackMerger() [2/3]

CbmL1TrackMerger::CbmL1TrackMerger ( )

Definition at line 42 of file CbmL1TrackMerger.cxx.

References CreateHistogramms(), and CbmTrackMerger::fVerbose.

◆ CbmL1TrackMerger() [3/3]

CbmL1TrackMerger::CbmL1TrackMerger ( Int_t  verbose)

Definition at line 73 of file CbmL1TrackMerger.cxx.

References CreateHistogramms(), and CbmTrackMerger::fVerbose.

◆ ~CbmL1TrackMerger()

CbmL1TrackMerger::~CbmL1TrackMerger ( )
virtual

Definition at line 104 of file CbmL1TrackMerger.cxx.

Member Function Documentation

◆ ClassDef() [1/2]

CbmL1TrackMerger::ClassDef ( CbmL1TrackMerger  ,
 
)

◆ ClassDef() [2/2]

CbmTrackMerger::ClassDef ( CbmTrackMerger  ,
 
)
protectedinherited

◆ CreateHistogramms()

void CbmL1TrackMerger::CreateHistogramms ( )
private

◆ DoMerge()

Int_t CbmL1TrackMerger::DoMerge ( TClonesArray *  stsTracks,
TClonesArray *  trdTracks,
TClonesArray *  glbTracks 
)
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

Implements CbmTrackMerger.

Definition at line 136 of file CbmL1TrackMerger.cxx.

References fMethod, MergeImPlane(), and MergeSimple().

◆ GetChi2XY()

Double_t CbmL1TrackMerger::GetChi2XY ( CbmKFTrack kfTrack,
FairTrackParam *  trackParam 
)
private

Definition at line 408 of file CbmL1TrackMerger.cxx.

References CbmKFTrack::GetCovMatrix(), and CbmKFTrack::GetTrack().

Referenced by MergeImPlane().

◆ GetMethod()

Int_t CbmL1TrackMerger::GetMethod ( ) const
inline

Definition at line 56 of file CbmL1TrackMerger.h.

References fMethod.

◆ GetVerbose()

Int_t CbmL1TrackMerger::GetVerbose ( ) const
inline

Definition at line 55 of file CbmL1TrackMerger.h.

References CbmTrackMerger::fVerbose.

◆ Init()

void CbmL1TrackMerger::Init ( )
virtual

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

Reimplemented from CbmTrackMerger.

Definition at line 111 of file CbmL1TrackMerger.cxx.

References fArrayStsTrackM, fArrayTrdTrackM, and rootMgr.

◆ MergeImPlane()

◆ MergeSimple()

Int_t CbmL1TrackMerger::MergeSimple ( TClonesArray *  stsTracks,
TClonesArray *  trdTracks,
TClonesArray *  glbTracks 
)
private

◆ operator=()

CbmL1TrackMerger CbmL1TrackMerger::operator= ( const CbmL1TrackMerger )
private

◆ SetMethod()

void CbmL1TrackMerger::SetMethod ( Int_t  method)
inline

Definition at line 59 of file CbmL1TrackMerger.h.

References fMethod.

◆ SetVerbose()

void CbmL1TrackMerger::SetVerbose ( Int_t  verbose)
inline

Definition at line 58 of file CbmL1TrackMerger.h.

References CbmTrackMerger::fVerbose.

◆ WriteHistogramms()

void CbmL1TrackMerger::WriteHistogramms ( )

Member Data Documentation

◆ fArrayStsTrackM

TClonesArray* CbmL1TrackMerger::fArrayStsTrackM
private

Definition at line 24 of file CbmL1TrackMerger.h.

Referenced by Init(), and MergeImPlane().

◆ fArrayTrdTrackM

TClonesArray* CbmL1TrackMerger::fArrayTrdTrackM
private

Definition at line 25 of file CbmL1TrackMerger.h.

Referenced by Init(), and MergeImPlane().

◆ fh_dtx_false

TH2F* CbmL1TrackMerger::fh_dtx_false
private

Definition at line 31 of file CbmL1TrackMerger.h.

Referenced by CreateHistogramms(), MergeImPlane(), and WriteHistogramms().

◆ fh_dtx_true

TH2F* CbmL1TrackMerger::fh_dtx_true
private

Definition at line 30 of file CbmL1TrackMerger.h.

Referenced by CreateHistogramms(), MergeImPlane(), and WriteHistogramms().

◆ fh_dty_false

TH2F* CbmL1TrackMerger::fh_dty_false
private

Definition at line 33 of file CbmL1TrackMerger.h.

Referenced by CreateHistogramms(), MergeImPlane(), and WriteHistogramms().

◆ fh_dty_true

TH2F* CbmL1TrackMerger::fh_dty_true
private

Definition at line 32 of file CbmL1TrackMerger.h.

Referenced by CreateHistogramms(), MergeImPlane(), and WriteHistogramms().

◆ fh_dx_false

TH2F* CbmL1TrackMerger::fh_dx_false
private

Definition at line 27 of file CbmL1TrackMerger.h.

Referenced by CreateHistogramms(), MergeImPlane(), and WriteHistogramms().

◆ fh_dx_true

TH2F* CbmL1TrackMerger::fh_dx_true
private

Definition at line 26 of file CbmL1TrackMerger.h.

Referenced by CreateHistogramms(), MergeImPlane(), and WriteHistogramms().

◆ fh_dy_false

TH2F* CbmL1TrackMerger::fh_dy_false
private

Definition at line 29 of file CbmL1TrackMerger.h.

Referenced by CreateHistogramms(), MergeImPlane(), and WriteHistogramms().

◆ fh_dy_true

TH2F* CbmL1TrackMerger::fh_dy_true
private

Definition at line 28 of file CbmL1TrackMerger.h.

Referenced by CreateHistogramms(), MergeImPlane(), and WriteHistogramms().

◆ fMethod

Int_t CbmL1TrackMerger::fMethod
private

Definition at line 22 of file CbmL1TrackMerger.h.

Referenced by DoMerge(), GetMethod(), and SetMethod().

◆ fVerbose


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