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

Stores the basic properties of a generator-level jet, in particular can save the IDs of the GenParticle constituents. More...

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

+ Inheritance diagram for ic::GenJet:

Public Member Functions

 GenJet ()
 
virtual ~GenJet ()
 
virtual void Print () const
 
 ClassDef (GenJet, 2)
 
Properties
int flavour () const
 The true flavour of the jet. More...
 
unsigned n_constituents () const
 The number of GenParticle constituents. More...
 
std::vector< std::size_t > const & constituents () const
 A vector of ic::GenParticle::id() values corresponding to the constituent particles. More...
 
Setters
void set_flavour (int const &flavour)
 The true flavour of the jet. More...
 
void set_n_constituents (unsigned const &n_constituents)
 The number of GenParticle constituents. More...
 
void set_constituents (std::vector< std::size_t > const &constituents)
 A vector of ic::GenParticle::id() values corresponding to the constituent particles. 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 a generator-level jet, in particular can save the IDs of the GenParticle constituents.

Examples:
plugins/ICGenJetProducer.cc.

Definition at line 15 of file GenJet.hh.

Constructor & Destructor Documentation

ic::GenJet::GenJet ( )

Definition at line 4 of file GenJet.cc.

ic::GenJet::~GenJet ( )
virtual

Definition at line 6 of file GenJet.cc.

Member Function Documentation

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

Reimplemented from ic::Candidate.

Definition at line 8 of file GenJet.cc.

int ic::GenJet::flavour ( ) const
inline

The true flavour of the jet.

Definition at line 24 of file GenJet.hh.

unsigned ic::GenJet::n_constituents ( ) const
inline

The number of GenParticle constituents.

Definition at line 27 of file GenJet.hh.

std::vector<std::size_t> const& ic::GenJet::constituents ( ) const
inline

A vector of ic::GenParticle::id() values corresponding to the constituent particles.

Definition at line 31 of file GenJet.hh.

void ic::GenJet::set_flavour ( int const &  flavour)
inline

The true flavour of the jet.

Examples:
plugins/ICGenJetProducer.cc.

Definition at line 39 of file GenJet.hh.

void ic::GenJet::set_n_constituents ( unsigned const &  n_constituents)
inline

The number of GenParticle constituents.

Examples:
plugins/ICGenJetProducer.cc.

Definition at line 42 of file GenJet.hh.

void ic::GenJet::set_constituents ( std::vector< std::size_t > const &  constituents)
inline

A vector of ic::GenParticle::id() values corresponding to the constituent particles.

Examples:
plugins/ICGenJetProducer.cc.

Definition at line 47 of file GenJet.hh.

ic::GenJet::ClassDef ( GenJet  ,
 
)

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