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

Stores the basic properties of PFCandidates (and PackedCandidates for CMSSW 7_X_Y) More...

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

+ Inheritance diagram for ic::PFCandidate:

Public Member Functions

 PFCandidate ()
 
virtual ~PFCandidate ()
 
virtual void Print () const
 
 ClassDef (PFCandidate, 3)
 
Properties
int pdgid () const
 PDG number to identify the PF candidate type. More...
 
unsigned flags () const
 PF flags. More...
 
std::vector< std::size_t > const & constituent_tracks () const
 A vector to refer to the constituent track ic::Track::id() values. More...
 
std::vector< std::size_t > const & constituent_gsf_tracks () const
 A vector to refer to the constituent gsf track ic::Track::id() values. More...
 
PFType type () const
 Converts the pdgid into the enumerated PFType Follows the convention of: DataFormats/ParticleFlowCandidate/src/PFCandidate.cc. More...
 
bool has_flag (PFFlag const &f) const
 
Setters
void set_pdgid (int const &pdgid)
 PDG number to identify the PF candidate type. More...
 
void set_flags (unsigned const &flags)
 PF flags. More...
 
void set_constituent_tracks (std::vector< std::size_t > const &constituent_tracks)
 A vector to refer to the constituent track ic::Track::id() values. More...
 
void set_constituent_gsf_tracks (std::vector< std::size_t > const &constituent_gsf_tracks)
 
- 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 PFCandidates (and PackedCandidates for CMSSW 7_X_Y)

Definition at line 37 of file PFCandidate.hh.

Constructor & Destructor Documentation

ic::PFCandidate::PFCandidate ( )

Definition at line 5 of file PFCandidate.cc.

ic::PFCandidate::~PFCandidate ( )
virtual

Definition at line 7 of file PFCandidate.cc.

Member Function Documentation

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

Reimplemented from ic::Candidate.

Definition at line 9 of file PFCandidate.cc.

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

PDG number to identify the PF candidate type.

Definition at line 50 of file PFCandidate.hh.

unsigned ic::PFCandidate::flags ( ) const
inline

PF flags.

Definition at line 53 of file PFCandidate.hh.

std::vector<std::size_t> const& ic::PFCandidate::constituent_tracks ( ) const
inline

A vector to refer to the constituent track ic::Track::id() values.

Definition at line 56 of file PFCandidate.hh.

std::vector<std::size_t> const& ic::PFCandidate::constituent_gsf_tracks ( ) const
inline

A vector to refer to the constituent gsf track ic::Track::id() values.

Definition at line 61 of file PFCandidate.hh.

PFType ic::PFCandidate::type ( ) const
inline

Converts the pdgid into the enumerated PFType Follows the convention of: DataFormats/ParticleFlowCandidate/src/PFCandidate.cc.

Definition at line 69 of file PFCandidate.hh.

bool ic::PFCandidate::has_flag ( PFFlag const &  f) const
inline

Definition at line 92 of file PFCandidate.hh.

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

PDG number to identify the PF candidate type.

Definition at line 99 of file PFCandidate.hh.

void ic::PFCandidate::set_flags ( unsigned const &  flags)
inline

PF flags.

Definition at line 102 of file PFCandidate.hh.

void ic::PFCandidate::set_constituent_tracks ( std::vector< std::size_t > const &  constituent_tracks)
inline

A vector to refer to the constituent track ic::Track::id() values.

Definition at line 105 of file PFCandidate.hh.

void ic::PFCandidate::set_constituent_gsf_tracks ( std::vector< std::size_t > const &  constituent_gsf_tracks)
inline

Definition at line 110 of file PFCandidate.hh.

ic::PFCandidate::ClassDef ( PFCandidate  ,
 
)

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