Public Member Functions | Public Attributes | List of all members
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 48 of file PFParticleValidation_module.cc.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 896 of file PFParticleValidation_module.cc.

896  :
897  m_id(-1),
898  m_pdgCode(0),
899  m_nMCHitsTotal(0),
900  m_nMCHitsU(0),
901  m_nMCHitsV(0),
902  m_nMCHitsW(0),
903  m_energy(0.f),
904  m_nMatchedPfos(0),
905  m_pAddress(nullptr)
906 {
907 }
const simb::MCParticle * m_pAddress
The address of the mc primary.

Member Function Documentation

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

operator <

Parameters
rhsobject for comparison
Returns
boolean

Definition at line 911 of file PFParticleValidation_module.cc.

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

Member Data Documentation

float lar_pandora::PFParticleValidation::SimpleMCPrimary::m_energy

The energy.

Definition at line 71 of file PFParticleValidation_module.cc.

int lar_pandora::PFParticleValidation::SimpleMCPrimary::m_id

The unique identifier.

Definition at line 65 of file PFParticleValidation_module.cc.

int lar_pandora::PFParticleValidation::SimpleMCPrimary::m_nMatchedPfos

The number of matched pfos.

Definition at line 72 of file PFParticleValidation_module.cc.

int lar_pandora::PFParticleValidation::SimpleMCPrimary::m_nMCHitsTotal

The total number of mc hits.

Definition at line 67 of file PFParticleValidation_module.cc.

int lar_pandora::PFParticleValidation::SimpleMCPrimary::m_nMCHitsU

The number of u mc hits.

Definition at line 68 of file PFParticleValidation_module.cc.

int lar_pandora::PFParticleValidation::SimpleMCPrimary::m_nMCHitsV

The number of v mc hits.

Definition at line 69 of file PFParticleValidation_module.cc.

int lar_pandora::PFParticleValidation::SimpleMCPrimary::m_nMCHitsW

The number of w mc hits.

Definition at line 70 of file PFParticleValidation_module.cc.

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

The address of the mc primary.

Definition at line 73 of file PFParticleValidation_module.cc.

int lar_pandora::PFParticleValidation::SimpleMCPrimary::m_pdgCode

The pdg code.

Definition at line 66 of file PFParticleValidation_module.cc.


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