LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
sim::ParticleList::archived_info_type Struct Reference

Public Member Functions

 archived_info_type ()=default
 
 archived_info_type (int pid)
 
 archived_info_type (simb::MCParticle const &part)
 
 archived_info_type (simb::MCParticle const *part)
 
int Mother () const
 

Public Attributes

int parentID = 0
 

Friends

std::ostream & operator<< (std::ostream &output, const ParticleList::archived_info_type &)
 

Detailed Description

Definition at line 145 of file ParticleList.h.

Constructor & Destructor Documentation

sim::ParticleList::archived_info_type::archived_info_type ( )
default
sim::ParticleList::archived_info_type::archived_info_type ( int  pid)
inline
sim::ParticleList::archived_info_type::archived_info_type ( simb::MCParticle const &  part)
inline

Definition at line 151 of file ParticleList.h.

152  : parentID(part.Mother())
153  {}
TString part[npart]
Definition: Style.C:32
sim::ParticleList::archived_info_type::archived_info_type ( simb::MCParticle const *  part)
inline

Definition at line 154 of file ParticleList.h.

155  : parentID(part->Mother())
156  {}
TString part[npart]
Definition: Style.C:32

Member Function Documentation

int sim::ParticleList::archived_info_type::Mother ( ) const
inline

Definition at line 158 of file ParticleList.h.

References parentID.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  output,
const ParticleList::archived_info_type info 
)
friend

Definition at line 425 of file ParticleList.cxx.

Referenced by sim::ParticleList::KnownParticle().

426  {
427  output << "Mother ID=" << info.Mother() << std::endl;
428  return output;
429  }

Member Data Documentation

int sim::ParticleList::archived_info_type::parentID = 0

Definition at line 146 of file ParticleList.h.

Referenced by Mother().


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