Stores the basic properties of PFCandidates (and PackedCandidates for CMSSW 7_X_Y) More...
#include "UserCode/ICHiggsTauTau/interface/PFCandidate.hh"
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... | |
Stores the basic properties of PFCandidates (and PackedCandidates for CMSSW 7_X_Y)
Definition at line 37 of file PFCandidate.hh.
ic::PFCandidate::PFCandidate | ( | ) |
Definition at line 5 of file PFCandidate.cc.
|
virtual |
Definition at line 7 of file PFCandidate.cc.
|
virtual |
Reimplemented from ic::Candidate.
Definition at line 9 of file PFCandidate.cc.
|
inline |
PDG number to identify the PF candidate type.
Definition at line 50 of file PFCandidate.hh.
|
inline |
PF flags.
Definition at line 53 of file PFCandidate.hh.
|
inline |
A vector to refer to the constituent track ic::Track::id() values.
Definition at line 56 of file PFCandidate.hh.
|
inline |
A vector to refer to the constituent gsf track ic::Track::id() values.
Definition at line 61 of file PFCandidate.hh.
|
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.
|
inline |
Definition at line 92 of file PFCandidate.hh.
|
inline |
PDG number to identify the PF candidate type.
Definition at line 99 of file PFCandidate.hh.
|
inline |
PF flags.
Definition at line 102 of file PFCandidate.hh.
|
inline |
A vector to refer to the constituent track ic::Track::id() values.
Definition at line 105 of file PFCandidate.hh.
|
inline |
Definition at line 110 of file PFCandidate.hh.
ic::PFCandidate::ClassDef | ( | PFCandidate | , |
3 | |||
) |