FairRoot/PandaRoot
Public Member Functions | Private Member Functions | Private Attributes | List of all members
PndSttTrackMatch Class Reference

#include <PndSttTrackMatch.h>

Inheritance diagram for PndSttTrackMatch:

Public Member Functions

 PndSttTrackMatch ()
 
 PndSttTrackMatch (Int_t mcTrackID, Int_t nTrue, Int_t nWrong, Int_t nFake, Int_t nTracks)
 
virtual ~PndSttTrackMatch ()
 
Int_t GetMCTrackID ()
 
Int_t GetNofTrueHits ()
 
Int_t GetNofWrongHits ()
 
Int_t GetNofFakeHits ()
 
Int_t GetNofMCTracks ()
 

Private Member Functions

 ClassDef (PndSttTrackMatch, 1)
 

Private Attributes

Int_t fMCTrackID
 
Int_t fNofTrueHits
 
Int_t fNofWrongHits
 
Int_t fNofFakeHits
 
Int_t fNofMCTracks
 

Detailed Description

PndSttTrackMatch.h

Author
R.Castelijns r.cas.nosp@m.teli.nosp@m.jns@f.nosp@m.z-ju.nosp@m.elich.nosp@m..de

Data structure describing the matching of a reconstructed PndSttTrack with a Monte Carlo PndMCTrack.

Definition at line 21 of file PndSttTrackMatch.h.

Constructor & Destructor Documentation

PndSttTrackMatch::PndSttTrackMatch ( )

Default constructor

Definition at line 12 of file PndSttTrackMatch.cxx.

References fMCTrackID, fNofFakeHits, fNofMCTracks, fNofTrueHits, and fNofWrongHits.

12  {
13  fMCTrackID = -1;
14  fNofTrueHits = 0;
15  fNofWrongHits = 0;
16  fNofFakeHits = 0;
17  fNofMCTracks = 0;
18 }
PndSttTrackMatch::PndSttTrackMatch ( Int_t  mcTrackID,
Int_t  nTrue,
Int_t  nWrong,
Int_t  nFake,
Int_t  nTracks 
)

Standard constructor

Parameters
mcTrackIDIndex of matched MCTrack
nTrueGood hits from matched MCTrack
nWrongGood Hits from other MCTracks
nFakeFake Hits
nTracksNumber of MCTracks with common points

Definition at line 24 of file PndSttTrackMatch.cxx.

References fMCTrackID, fNofFakeHits, fNofMCTracks, fNofTrueHits, and fNofWrongHits.

26  {
27  fMCTrackID = mcTrackID;
28  fNofTrueHits = nTrue;
29  fNofWrongHits = nWrong;
30  fNofFakeHits = nFake;
31  fNofMCTracks = nTracks;
32 }
PndSttTrackMatch::~PndSttTrackMatch ( )
virtual

Destructor

Definition at line 38 of file PndSttTrackMatch.cxx.

38 {}

Member Function Documentation

PndSttTrackMatch::ClassDef ( PndSttTrackMatch  ,
 
)
private
Int_t PndSttTrackMatch::GetMCTrackID ( )
inline

Accessors

Definition at line 46 of file PndSttTrackMatch.h.

References fMCTrackID.

Referenced by GetEntriesFast().

46 { return fMCTrackID; };
Int_t PndSttTrackMatch::GetNofFakeHits ( )
inline

Definition at line 49 of file PndSttTrackMatch.h.

References fNofFakeHits.

49 { return fNofFakeHits; };
Int_t PndSttTrackMatch::GetNofMCTracks ( )
inline

Definition at line 50 of file PndSttTrackMatch.h.

References fNofMCTracks.

50 { return fNofMCTracks; };
Int_t PndSttTrackMatch::GetNofTrueHits ( )
inline

Definition at line 47 of file PndSttTrackMatch.h.

References fNofTrueHits.

47 { return fNofTrueHits; };
Int_t PndSttTrackMatch::GetNofWrongHits ( )
inline

Definition at line 48 of file PndSttTrackMatch.h.

References fNofWrongHits.

48 { return fNofWrongHits; };

Member Data Documentation

Int_t PndSttTrackMatch::fMCTrackID
private

Best matching PndMCTrack

Definition at line 50 of file PndSttTrackMatch.h.

Referenced by GetMCTrackID(), and PndSttTrackMatch().

Int_t PndSttTrackMatch::fNofFakeHits
private

Number of fake hits

Definition at line 65 of file PndSttTrackMatch.h.

Referenced by GetNofFakeHits(), and PndSttTrackMatch().

Int_t PndSttTrackMatch::fNofMCTracks
private

Number of MCTracks with common points

Definition at line 68 of file PndSttTrackMatch.h.

Referenced by GetNofMCTracks(), and PndSttTrackMatch().

Int_t PndSttTrackMatch::fNofTrueHits
private

Number of good hits belonging to the matched MCTrack

Definition at line 59 of file PndSttTrackMatch.h.

Referenced by GetNofTrueHits(), and PndSttTrackMatch().

Int_t PndSttTrackMatch::fNofWrongHits
private

Number of good hits belonging to other MCTracks

Definition at line 62 of file PndSttTrackMatch.h.

Referenced by GetNofWrongHits(), and PndSttTrackMatch().


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