Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ic::GenParticle Class Reference

Stores the basic properties of generator-level particles as well as mother-daughter relations with other particles. More...

#include "UserCode/ICHiggsTauTau/interface/GenParticle.hh"

+ Inheritance diagram for ic::GenParticle:

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...
 

Detailed Description

Stores the basic properties of generator-level particles as well as mother-daughter relations with other particles.

Examples:
plugins/ICGenParticleProducer.cc.

Definition at line 38 of file GenParticle.hh.

Constructor & Destructor Documentation

ic::GenParticle::GenParticle ( )

Definition at line 5 of file GenParticle.cc.

ic::GenParticle::~GenParticle ( )
virtual

Definition at line 7 of file GenParticle.cc.

Member Function Documentation

void ic::GenParticle::Print ( ) const
virtual

Reimplemented from ic::Candidate.

Definition at line 9 of file GenParticle.cc.

int ic::GenParticle::index ( ) const
inline

The index position of the particle in the original list.

Definition at line 51 of file GenParticle.hh.

int ic::GenParticle::pdgid ( ) const
inline

PDG number to identify the particle type, see this link

Definition at line 55 of file GenParticle.hh.

int ic::GenParticle::status ( ) const
inline

The generator-dependent particle status.

Definition at line 58 of file GenParticle.hh.

std::vector<int> const& ic::GenParticle::mothers ( ) const
inline

A vector of ic::GenParticle::index() values that identify the mother particles.

Definition at line 62 of file GenParticle.hh.

std::vector<int> const& ic::GenParticle::daughters ( ) const
inline

A vector of ic::GenParticle::index() values that identify the daughter particles.

Definition at line 66 of file GenParticle.hh.

std::vector<bool> const& ic::GenParticle::statusFlags ( ) const
inline

A genstatusflags object to give information about the production of the particle.

Definition at line 69 of file GenParticle.hh.

void ic::GenParticle::set_index ( int const &  index)
inline

The index position of the particle in the original list.

Examples:
plugins/ICGenParticleProducer.cc.

Definition at line 75 of file GenParticle.hh.

void ic::GenParticle::set_pdgid ( int const &  pdgid)
inline

PDG number to identify the particle type, see this link

Examples:
plugins/ICGenParticleProducer.cc.

Definition at line 78 of file GenParticle.hh.

void ic::GenParticle::set_status ( int const &  status)
inline

The generator-dependent particle status.

Examples:
plugins/ICGenParticleProducer.cc.

Definition at line 81 of file GenParticle.hh.

void ic::GenParticle::set_mothers ( std::vector< int > const &  mothers)
inline

A vector of ic::GenParticle::index() values that identify the mother particles.

Examples:
plugins/ICGenParticleProducer.cc.

Definition at line 84 of file GenParticle.hh.

void ic::GenParticle::set_daughters ( std::vector< int > const &  daughters)
inline

A vector of ic::GenParticle::index() values that identify the daughter particles.

Examples:
plugins/ICGenParticleProducer.cc.

Definition at line 89 of file GenParticle.hh.

void ic::GenParticle::set_statusFlags ( std::vector< bool > const &  statusFlags)
inline

A genstatusflags object to give information about the production of the particle.

Examples:
plugins/ICGenParticleProducer.cc.

Definition at line 94 of file GenParticle.hh.

ic::GenParticle::ClassDef ( GenParticle  ,
 
)

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