7 #ifndef GAR_RECONSTRUCTIONDATAPRODUCTS_PFParticle_h 8 #define GAR_RECONSTRUCTIONDATAPRODUCTS_PFParticle_h 81 const std::vector<size_t>
Daughters()
const;
float fCharge
charge of the PFParticle
const float * Momentum() const
static gar::rec::IDNumber const FirstNumber
float fPos[3]
position of the PFParticle (cluster CoG)
gar::rec::IDNumber fIDnumero
std::vector< size_t > fDaughters
Daughters of the PFParticle.
void setEnergy(float energy)
void setParent(size_t parent)
int fPdg
PDG of the PFParticle.
float fMass
mass of the PFParticle
const float * Position() const
const std::vector< size_t > Daughters() const
bool operator==(const PFParticle &rhs) const
float fGoodness
Goodness of the PDG of the PFParticle.
float fMom[3]
momentum of the PFParticle in GeV
float fEnergy
energy of the PFParticle in GeV
bool operator!=(const PFParticle &rhs) const
int fType
type of the PFParticle
General GArSoft Utilities.
void setMomentum(const float mom[3])
friend std::ostream & operator<<(std::ostream &o, gar::rec::PFParticle const &h)
void setDaughters(std::vector< size_t > daughters)
void setPosition(const float pos[3])
void setCharge(float charge)
size_t fParent
Parent of the PFParticle.
void setParticleID(int pdg, float goodness)
gar::rec::IDNumber getIDNumber() const
size_t NDaughters() const
def parent(G, child, parent_type)
float GoodnessOfPdg() const