Stores the basic properties of generator-level particles as well as mother-daughter relations with other particles. More...
#include "UserCode/ICHiggsTauTau/interface/GenParticle.hh"
Public Member Functions | |
GenParticle () | |
virtual | ~GenParticle () |
virtual void | Print () const |
ClassDef (GenParticle, 4) | |
Properties | |
int | index () const |
The index position of the particle in the original list. More... | |
int | pdgid () const |
PDG number to identify the particle type, see this link More... | |
int | status () const |
The generator-dependent particle status. More... | |
std::vector< int > const & | mothers () const |
A vector of ic::GenParticle::index() values that identify the mother particles. More... | |
std::vector< int > const & | daughters () const |
A vector of ic::GenParticle::index() values that identify the daughter particles. More... | |
std::vector< bool > const & | statusFlags () const |
A genstatusflags object to give information about the production of the particle. More... | |
Setters | |
void | set_index (int const &index) |
The index position of the particle in the original list. More... | |
void | set_pdgid (int const &pdgid) |
PDG number to identify the particle type, see this link More... | |
void | set_status (int const &status) |
The generator-dependent particle status. More... | |
void | set_mothers (std::vector< int > const &mothers) |
A vector of ic::GenParticle::index() values that identify the mother particles. More... | |
void | set_daughters (std::vector< int > const &daughters) |
A vector of ic::GenParticle::index() values that identify the daughter particles. More... | |
void | set_statusFlags (std::vector< bool > const &statusFlags) |
A genstatusflags object to give information about the production of the particle. More... | |
Public Member Functions inherited from ic::Candidate | |
Candidate () | |
virtual | ~Candidate () |
ClassDef (Candidate, 2) | |
Vector const & | vector () const |
Four-momentum. More... | |
std::size_t | id () const |
Unique identifier. More... | |
double | pt () const |
Direct access to the \( p_{\text{T}} \). More... | |
double | eta () const |
Direct access to \( \eta \). More... | |
double | phi () const |
Direct access to \( \phi \). More... | |
double | energy () const |
Direct access to the energy. More... | |
int | charge () const |
Electric charge. More... | |
double | M () const |
Calculates the candidate mass. More... | |
void | set_vector (Vector const &vector) |
Four-momentum. More... | |
void | set_id (std::size_t const &id) |
Unique identifier. More... | |
void | set_pt (double const &pt) |
Direct access to the \( p_{\text{T}} \). More... | |
void | set_eta (double const &eta) |
Direct access to \( \eta \). More... | |
void | set_phi (double const &phi) |
Direct access to \( \phi \). More... | |
void | set_energy (double const &energy) |
Direct access to the energy. More... | |
void | set_charge (int const &charge) |
Electric charge. More... | |
Stores the basic properties of generator-level particles as well as mother-daughter relations with other particles.
Definition at line 38 of file GenParticle.hh.
ic::GenParticle::GenParticle | ( | ) |
Definition at line 5 of file GenParticle.cc.
|
virtual |
Definition at line 7 of file GenParticle.cc.
|
virtual |
Reimplemented from ic::Candidate.
Definition at line 9 of file GenParticle.cc.
|
inline |
The index position of the particle in the original list.
Definition at line 51 of file GenParticle.hh.
|
inline |
PDG number to identify the particle type, see this link
Definition at line 55 of file GenParticle.hh.
|
inline |
The generator-dependent particle status.
Definition at line 58 of file GenParticle.hh.
|
inline |
A vector of ic::GenParticle::index() values that identify the mother particles.
Definition at line 62 of file GenParticle.hh.
|
inline |
A vector of ic::GenParticle::index() values that identify the daughter particles.
Definition at line 66 of file GenParticle.hh.
|
inline |
A genstatusflags object to give information about the production of the particle.
Definition at line 69 of file GenParticle.hh.
|
inline |
The index position of the particle in the original list.
Definition at line 75 of file GenParticle.hh.
|
inline |
PDG number to identify the particle type, see this link
Definition at line 78 of file GenParticle.hh.
|
inline |
The generator-dependent particle status.
Definition at line 81 of file GenParticle.hh.
|
inline |
A vector of ic::GenParticle::index() values that identify the mother particles.
Definition at line 84 of file GenParticle.hh.
|
inline |
A vector of ic::GenParticle::index() values that identify the daughter particles.
Definition at line 89 of file GenParticle.hh.
|
inline |
A genstatusflags object to give information about the production of the particle.
Definition at line 94 of file GenParticle.hh.
ic::GenParticle::ClassDef | ( | GenParticle | , |
4 | |||
) |