LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lar_pandora::PFParticleValidation::SimpleMCPrimary Class Reference

SimpleMCPrimary class. More...

Public Member Functions

 SimpleMCPrimary ()
 Constructor. More...
 
bool operator< (const SimpleMCPrimary &rhs) const
 operator < More...
 

Public Attributes

int m_id
 The unique identifier. More...
 
int m_pdgCode
 The pdg code. More...
 
int m_nMCHitsTotal
 The total number of mc hits. More...
 
int m_nMCHitsU
 The number of u mc hits. More...
 
int m_nMCHitsV
 The number of v mc hits. More...
 
int m_nMCHitsW
 The number of w mc hits. More...
 
float m_energy
 The energy. More...
 
int m_nMatchedPfos
 The number of matched pfos. More...
 
const simb::MCParticlem_pAddress
 The address of the mc primary. More...
 

Detailed Description

SimpleMCPrimary class.

Definition at line 46 of file PFParticleValidation_module.cc.

Constructor & Destructor Documentation

lar_pandora::PFParticleValidation::SimpleMCPrimary::SimpleMCPrimary ( )

Constructor.

Definition at line 962 of file PFParticleValidation_module.cc.

963  : m_id(-1)
964  , m_pdgCode(0)
965  , m_nMCHitsTotal(0)
966  , m_nMCHitsU(0)
967  , m_nMCHitsV(0)
968  , m_nMCHitsW(0)
969  , m_energy(0.f)
970  , m_nMatchedPfos(0)
971  , m_pAddress(nullptr)
972  {}
const simb::MCParticle * m_pAddress
The address of the mc primary.
TFile f
Definition: plotHisto.C:6

Member Function Documentation

bool lar_pandora::PFParticleValidation::SimpleMCPrimary::operator< ( const SimpleMCPrimary rhs) const

operator <

Parameters
rhsobject for comparison
Returns
boolean

Definition at line 976 of file PFParticleValidation_module.cc.

References m_id.

977  {
978  if (this == &rhs) return false;
979 
980  return (m_id < rhs.m_id);
981  }

Member Data Documentation

float lar_pandora::PFParticleValidation::SimpleMCPrimary::m_energy
int lar_pandora::PFParticleValidation::SimpleMCPrimary::m_nMatchedPfos

The number of matched pfos.

Definition at line 69 of file PFParticleValidation_module.cc.

Referenced by lar_pandora::PFParticleValidation::GetSimpleMCPrimaryList().

const simb::MCParticle* lar_pandora::PFParticleValidation::SimpleMCPrimary::m_pAddress

The address of the mc primary.

Definition at line 70 of file PFParticleValidation_module.cc.

Referenced by lar_pandora::PFParticleValidation::GetSimpleMCPrimaryList().

int lar_pandora::PFParticleValidation::SimpleMCPrimary::m_pdgCode

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