LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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 47 of file PFParticleValidation_module.cc.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 895 of file PFParticleValidation_module.cc.

895  :
896  m_id(-1),
897  m_pdgCode(0),
898  m_nMCHitsTotal(0),
899  m_nMCHitsU(0),
900  m_nMCHitsV(0),
901  m_nMCHitsW(0),
902  m_energy(0.f),
903  m_nMatchedPfos(0),
904  m_pAddress(nullptr)
905 {
906 }
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 910 of file PFParticleValidation_module.cc.

References m_id.

911 {
912  if (this == &rhs)
913  return false;
914 
915  return (m_id < rhs.m_id);
916 }

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 71 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 72 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: