CbmRoot
CbmTrackMatch Class Reference

#include <CbmTrackMatch.h>

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

Public Member Functions

 CbmTrackMatch ()
 
 CbmTrackMatch (Int_t mcTrackID, Int_t nTrue, Int_t nWrong, Int_t nFake, Int_t nTracks)
 
virtual ~CbmTrackMatch ()
 
Int_t GetMCTrackId () const
 
Int_t GetNofTrueHits () const
 
Int_t GetNofWrongHits () const
 
Int_t GetNofFakeHits () const
 
Int_t GetNofMCTracks () const
 

Private Member Functions

 ClassDef (CbmTrackMatch, 1)
 

Private Attributes

Int_t fMCTrackId
 
Int_t fNofTrueHits
 
Int_t fNofWrongHits
 
Int_t fNofFakeHits
 
Int_t fNofMCTracks
 

Detailed Description

CbmStsTrackMatch.h

Author
V.Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e
Since
07.05.2009

Data structure describing the matching of a reconstructed track with a Monte Carlo track on the base of corresponding hits/points. This requires matching of hits to MC points.

Definition at line 18 of file CbmTrackMatch.h.

Constructor & Destructor Documentation

◆ CbmTrackMatch() [1/2]

CbmTrackMatch::CbmTrackMatch ( )

Default constructor

CbmStsTrackMatch.cxx

Author
V.Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e
Since
07.05.2009

Definition at line 11 of file CbmTrackMatch.cxx.

◆ CbmTrackMatch() [2/2]

CbmTrackMatch::CbmTrackMatch ( Int_t  mcTrackID,
Int_t  nTrue,
Int_t  nWrong,
Int_t  nFake,
Int_t  nTracks 
)

Standard constructor

Parameters
mcTrackIDIndex of matched MCTrack
nTrueNumber of true hits (belonging to matched MCTrack)
nWrongNumber of wrong Hits (from other MCTracks)
nFakeNumber of fake hits (not belonging to any MCTrack)
nTracksNumber of MCTracks with common hits

Definition at line 21 of file CbmTrackMatch.cxx.

◆ ~CbmTrackMatch()

CbmTrackMatch::~CbmTrackMatch ( )
virtual

Destructor

Definition at line 35 of file CbmTrackMatch.cxx.

Member Function Documentation

◆ ClassDef()

CbmTrackMatch::ClassDef ( CbmTrackMatch  ,
 
)
private

◆ GetMCTrackId()

Int_t CbmTrackMatch::GetMCTrackId ( ) const
inline

◆ GetNofFakeHits()

Int_t CbmTrackMatch::GetNofFakeHits ( ) const
inline

Number of fake hits on track (from no MC track)

Definition at line 53 of file CbmTrackMatch.h.

References fNofFakeHits.

Referenced by LxFinderTriplet::Exec(), and LxFinder::Exec().

◆ GetNofMCTracks()

Int_t CbmTrackMatch::GetNofMCTracks ( ) const
inline

Number of MCTracks with common hits

Definition at line 56 of file CbmTrackMatch.h.

References fNofMCTracks.

Referenced by CbmKFTrackFitQA::Exec(), and CbmThermalModelNoFlow::Exec().

◆ GetNofTrueHits()

Int_t CbmTrackMatch::GetNofTrueHits ( ) const
inline

Number of true hits on track (from matched MC track)

Definition at line 47 of file CbmTrackMatch.h.

References fNofTrueHits.

Referenced by LxFinderTriplet::Exec(), and LxFinder::Exec().

◆ GetNofWrongHits()

Int_t CbmTrackMatch::GetNofWrongHits ( ) const
inline

Number of wrong hits on track (from other MC tracks)

Definition at line 50 of file CbmTrackMatch.h.

References fNofWrongHits.

Referenced by LxFinderTriplet::Exec(), and LxFinder::Exec().

Member Data Documentation

◆ fMCTrackId

Int_t CbmTrackMatch::fMCTrackId
private

Index of matched CbmMCTrack

Definition at line 61 of file CbmTrackMatch.h.

Referenced by GetMCTrackId().

◆ fNofFakeHits

Int_t CbmTrackMatch::fNofFakeHits
private

Number of fake hits (belonging to no MCTrack)

Definition at line 70 of file CbmTrackMatch.h.

Referenced by GetNofFakeHits().

◆ fNofMCTracks

Int_t CbmTrackMatch::fNofMCTracks
private

Number of MCTrackx with common hits

Definition at line 73 of file CbmTrackMatch.h.

Referenced by GetNofMCTracks().

◆ fNofTrueHits

Int_t CbmTrackMatch::fNofTrueHits
private

Number of true hits (belonging to the matched MCTrack)

Definition at line 64 of file CbmTrackMatch.h.

Referenced by GetNofTrueHits().

◆ fNofWrongHits

Int_t CbmTrackMatch::fNofWrongHits
private

Number of wrong hits (belonging to other MCTracks)

Definition at line 67 of file CbmTrackMatch.h.

Referenced by GetNofWrongHits().


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