1 #ifndef ICHiggsTauTau_PFCandidate_hh
2 #define ICHiggsTauTau_PFCandidate_hh
4 #include "Math/Point3D.h"
5 #include "Math/Point3Dfwd.h"
6 #include "../interface/Candidate.hh"
11 #if !defined(__GCCXML__) && !defined(__CINT__)
44 virtual void Print()
const;
49 inline int pdgid()
const {
return pdgid_; }
53 inline unsigned flags()
const {
return flags_; }
57 return constituent_tracks_;
62 return constituent_gsf_tracks_;
65 #if !defined(__GCCXML__) && !defined(__CINT__)
70 switch (std::abs(
pdgid())) {
118 std::vector<std::size_t> constituent_tracks_;
119 std::vector<std::size_t> constituent_gsf_tracks_;
123 #ifndef SKIP_CINT_DICT
std::vector< std::size_t > const & constituent_gsf_tracks() const
A vector to refer to the constituent gsf track ic::Track::id() values.
unsigned flags() const
PF flags.
virtual void Print() const
void set_constituent_gsf_tracks(std::vector< std::size_t > const &constituent_gsf_tracks)
Stores a four-momentum, charge and identifier, and is the base class for most other physics objects...
Stores the basic properties of PFCandidates (and PackedCandidates for CMSSW 7_X_Y) ...
int pdgid() const
PDG number to identify the PF candidate type.
std::vector< std::size_t > const & constituent_tracks() const
A vector to refer to the constituent track ic::Track::id() values.
void set_constituent_tracks(std::vector< std::size_t > const &constituent_tracks)
A vector to refer to the constituent track ic::Track::id() values.
std::vector< ic::PFCandidate > PFCandidateCollection
void set_pdgid(int const &pdgid)
PDG number to identify the PF candidate type.
PFType type() const
Converts the pdgid into the enumerated PFType Follows the convention of: DataFormats/ParticleFlowCand...
void set_flags(unsigned const &flags)
PF flags.
bool has_flag(PFFlag const &f) const