Belle II Software development
MCTrackIdPurityPair Struct Reference

Structure representing a matched Monte Carlo track id with the corresponding purity. More...

#include <CDCMCHitCollectionLookUp.h>

Public Member Functions

 MCTrackIdPurityPair (ITrackType mcTrackId, float purity, int correctRLVote)
 Constructor taking the Monte Carlo track id and the purity to be stored.
 
ITrackType getMCTrackId () const
 Getter for the Monte Carlo track Id.
 
float getPurity () const
 Getter for the purity.
 
int getCorrectRLVote () const
 Getter for the rl vote.
 

Private Attributes

ITrackType m_mcTrackId
 Id of the mc track.
 
float m_purity
 Purity wrt mc track.
 
int m_correctRLVote
 Number of correct rl information in the track.
 

Detailed Description

Structure representing a matched Monte Carlo track id with the corresponding purity.

Definition at line 29 of file CDCMCHitCollectionLookUp.h.

Constructor & Destructor Documentation

◆ MCTrackIdPurityPair()

MCTrackIdPurityPair ( ITrackType  mcTrackId,
float  purity,
int  correctRLVote 
)
inline

Constructor taking the Monte Carlo track id and the purity to be stored.

Definition at line 32 of file CDCMCHitCollectionLookUp.h.

33 : m_mcTrackId(mcTrackId)
34 , m_purity(purity)
35 , m_correctRLVote(correctRLVote)
36 {
37 }
int m_correctRLVote
Number of correct rl information in the track.

Member Function Documentation

◆ getCorrectRLVote()

int getCorrectRLVote ( ) const
inline

Getter for the rl vote.

Definition at line 52 of file CDCMCHitCollectionLookUp.h.

53 {
54 return m_correctRLVote;
55 }

◆ getMCTrackId()

ITrackType getMCTrackId ( ) const
inline

Getter for the Monte Carlo track Id.

Definition at line 40 of file CDCMCHitCollectionLookUp.h.

41 {
42 return m_mcTrackId;
43 }

◆ getPurity()

float getPurity ( ) const
inline

Getter for the purity.

Definition at line 46 of file CDCMCHitCollectionLookUp.h.

47 {
48 return m_purity;
49 }

Member Data Documentation

◆ m_correctRLVote

int m_correctRLVote
private

Number of correct rl information in the track.

Definition at line 65 of file CDCMCHitCollectionLookUp.h.

◆ m_mcTrackId

ITrackType m_mcTrackId
private

Id of the mc track.

Definition at line 59 of file CDCMCHitCollectionLookUp.h.

◆ m_purity

float m_purity
private

Purity wrt mc track.

Definition at line 62 of file CDCMCHitCollectionLookUp.h.


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