LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "GenParticle.hh"
Public Types | |
enum | status_type { undefined = -1, alive = 0, decayed = 1 } |
typedef art::PtrVector< GenParticle > | children_type |
Public Member Functions | |
GenParticle () | |
GenParticle (PDGCode::type pdgId, art::Ptr< GenParticle > const &parent, CLHEP::Hep3Vector const &position, CLHEP::HepLorentzVector const &momentum, status_type status) | |
PDGCode::type | pdgId () const |
art::Ptr< GenParticle > const & | parent () const |
children_type const & | children () const |
art::Ptr< GenParticle > const & | child (size_t i) const |
CLHEP::Hep3Vector const & | position () const |
CLHEP::HepLorentzVector const & | momentum () const |
status_type | status () const |
void | addChild (art::Ptr< GenParticle > const &child) |
bool | operator< (GenParticle const &) const |
Private Attributes | |
PDGCode::type | _pdgId |
art::Ptr< GenParticle > | _parent |
children_type | _children |
CLHEP::Hep3Vector | _position |
CLHEP::HepLorentzVector | _momentum |
status_type | _status |
Definition at line 20 of file GenParticle.hh.
Definition at line 25 of file GenParticle.hh.
Enumerator | |
---|---|
undefined | |
alive | |
decayed |
Definition at line 23 of file GenParticle.hh.
artg4tk::GenParticle::GenParticle | ( | ) |
Definition at line 8 of file GenParticle.cc.
artg4tk::GenParticle::GenParticle | ( | PDGCode::type | pdgId, |
art::Ptr< GenParticle > const & | parent, | ||
CLHEP::Hep3Vector const & | position, | ||
CLHEP::HepLorentzVector const & | momentum, | ||
status_type | status | ||
) |
Definition at line 12 of file GenParticle.cc.
void artg4tk::GenParticle::addChild | ( | art::Ptr< GenParticle > const & | child | ) |
Definition at line 26 of file GenParticle.cc.
References _children, and art::PtrVector< T >::push_back().
Referenced by status().
|
inline |
Definition at line 50 of file GenParticle.hh.
References _children, and art::PtrVector< T >::at().
Referenced by artg4tk::operator<<(), and status().
|
inline |
Definition at line 45 of file GenParticle.hh.
References _children.
Referenced by artg4tk::operator<<().
|
inline |
Definition at line 60 of file GenParticle.hh.
References _momentum.
Referenced by artg4tk::CheckGenParticle::analyze(), and artg4tk::operator<<().
|
inline |
Definition at line 77 of file GenParticle.hh.
|
inline |
Definition at line 40 of file GenParticle.hh.
References _parent.
Referenced by artg4tk::operator<<().
|
inline |
Definition at line 35 of file GenParticle.hh.
References _pdgId.
Referenced by artg4tk::CheckGenParticle::analyze(), and artg4tk::operator<<().
|
inline |
Definition at line 55 of file GenParticle.hh.
References _position.
Referenced by artg4tk::operator<<().
|
inline |
Definition at line 65 of file GenParticle.hh.
References _status, addChild(), and child().
Referenced by artg4tk::operator<<().
|
private |
Definition at line 88 of file GenParticle.hh.
Referenced by addChild(), child(), and children().
|
private |
Definition at line 92 of file GenParticle.hh.
Referenced by momentum().
|
private |
Definition at line 87 of file GenParticle.hh.
Referenced by parent().
|
private |
Definition at line 84 of file GenParticle.hh.
Referenced by pdgId().
|
private |
Definition at line 91 of file GenParticle.hh.
Referenced by position().
|
private |
Definition at line 94 of file GenParticle.hh.
Referenced by status().