CbmRoot
Loading...
Searching...
No Matches
CbmTrackMatch Class Reference

#include <CbmTrackMatch.h>

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

Public Member Functions

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

Private Member Functions

 ClassDef (CbmTrackMatch, 1)
 

Private Attributes

int32_t fMCTrackId
 
int32_t fNofTrueHits
 
int32_t fNofWrongHits
 
int32_t fNofFakeHits
 
int32_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 23 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 15 of file CbmTrackMatch.cxx.

◆ CbmTrackMatch() [2/2]

CbmTrackMatch::CbmTrackMatch ( int32_t mcTrackID,
int32_t nTrue,
int32_t nWrong,
int32_t nFake,
int32_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 20 of file CbmTrackMatch.cxx.

◆ ~CbmTrackMatch()

CbmTrackMatch::~CbmTrackMatch ( )
virtual

Destructor

Definition at line 32 of file CbmTrackMatch.cxx.

Member Function Documentation

◆ ClassDef()

CbmTrackMatch::ClassDef ( CbmTrackMatch ,
1  )
private

◆ GetMCTrackId()

int32_t CbmTrackMatch::GetMCTrackId ( ) const
inline

Index of matched MC track

Definition at line 45 of file CbmTrackMatch.h.

References fMCTrackId.

Referenced by CbmTrackMergerIdeal::DoMerge(), and CbmKFTrackFitQa::Exec().

◆ GetNofFakeHits()

int32_t CbmTrackMatch::GetNofFakeHits ( ) const
inline

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

Definition at line 54 of file CbmTrackMatch.h.

References fNofFakeHits.

◆ GetNofMCTracks()

int32_t CbmTrackMatch::GetNofMCTracks ( ) const
inline

Number of MCTracks with common hits

Definition at line 57 of file CbmTrackMatch.h.

References fNofMCTracks.

Referenced by CbmKFTrackFitQa::Exec().

◆ GetNofTrueHits()

int32_t CbmTrackMatch::GetNofTrueHits ( ) const
inline

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

Definition at line 48 of file CbmTrackMatch.h.

References fNofTrueHits.

◆ GetNofWrongHits()

int32_t CbmTrackMatch::GetNofWrongHits ( ) const
inline

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

Definition at line 51 of file CbmTrackMatch.h.

References fNofWrongHits.

Member Data Documentation

◆ fMCTrackId

int32_t CbmTrackMatch::fMCTrackId
private

Index of matched CbmMCTrack

Definition at line 62 of file CbmTrackMatch.h.

Referenced by GetMCTrackId().

◆ fNofFakeHits

int32_t CbmTrackMatch::fNofFakeHits
private

Number of fake hits (belonging to no MCTrack)

Definition at line 71 of file CbmTrackMatch.h.

Referenced by GetNofFakeHits().

◆ fNofMCTracks

int32_t CbmTrackMatch::fNofMCTracks
private

Number of MCTrackx with common hits

Definition at line 74 of file CbmTrackMatch.h.

Referenced by GetNofMCTracks().

◆ fNofTrueHits

int32_t CbmTrackMatch::fNofTrueHits
private

Number of true hits (belonging to the matched MCTrack)

Definition at line 65 of file CbmTrackMatch.h.

Referenced by GetNofTrueHits().

◆ fNofWrongHits

int32_t CbmTrackMatch::fNofWrongHits
private

Number of wrong hits (belonging to other MCTracks)

Definition at line 68 of file CbmTrackMatch.h.

Referenced by GetNofWrongHits().


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