#include <LeafRefCandidateT.h>
Classes | |
struct | daughter_iterator |
Public Types | |
typedef int | Charge |
electric charge type More... | |
typedef CandidateCollection | daughters |
collection of daughter candidates More... | |
typedef unsigned int | index |
typedef math::XYZTLorentzVector | LorentzVector |
Lorentz vector. More... | |
typedef math::XYZPoint | Point |
point in the space More... | |
typedef math::PtEtaPhiMLorentzVector | PolarLorentzVector |
Lorentz vector. More... | |
typedef math::XYZVector | Vector |
point in the space More... | |
Public Types inherited from reco::Candidate | |
enum | { dimension = 3 } |
enum | { size = dimension * (dimension + 1)/2 } |
matix size More... | |
typedef int | Charge |
electric charge type More... | |
typedef candidate::const_iterator | const_iterator |
typedef math::Error< dimension > ::type | CovarianceMatrix |
covariance error matrix (3x3) More... | |
typedef unsigned int | index |
index type More... | |
typedef candidate::iterator | iterator |
typedef math::XYZTLorentzVector | LorentzVector |
Lorentz vector. More... | |
typedef math::XYZPoint | Point |
point in the space More... | |
typedef math::PtEtaPhiMLorentzVector | PolarLorentzVector |
Lorentz vector. More... | |
typedef size_t | size_type |
typedef math::XYZVector | Vector |
point in the space More... | |
Public Member Functions | |
virtual const_iterator | begin () const |
first daughter const_iterator More... | |
virtual iterator | begin () |
first daughter iterator More... | |
template<typename S > | |
daughter_iterator< S >::type | beginFilter (const S &s) const |
virtual Vector | boostToCM () const |
virtual int | charge () const |
electric charge More... | |
virtual LeafRefCandidateT< T > * | clone () const |
returns a clone of the Candidate object More... | |
virtual const Candidate * | daughter (size_type) const |
return daughter at a given position (throws an exception) More... | |
virtual Candidate * | daughter (size_type) |
return daughter at a given position (throws an exception) More... | |
virtual Candidate * | daughter (const std::string &s) |
return daughter with a specified role name More... | |
virtual const Candidate * | daughter (const std::string &s) const |
return daughter with a specified role name More... | |
virtual const_iterator | end () const |
last daughter const_iterator More... | |
virtual iterator | end () |
last daughter iterator More... | |
template<typename S > | |
daughter_iterator< S >::type | endFilter (const S &s) const |
virtual double | energy () const |
energy More... | |
virtual double | et () const |
transverse energy More... | |
virtual float | eta () const |
momentum pseudorapidity More... | |
template<typename C > | |
C | get () const |
get a component More... | |
template<typename C , typename Tag > | |
C | get () const |
get a component More... | |
template<typename C > | |
C | get (size_type i) const |
get a component More... | |
template<typename C , typename Tag > | |
C | get (size_type i) const |
get a component More... | |
virtual bool | hasMasterClone () const |
This only happens if the concrete Candidate type is ShallowCloneCandidate. More... | |
virtual bool | hasMasterClonePtr () const |
virtual bool | isCaloMuon () const |
virtual bool | isConvertedPhoton () const |
virtual bool | isElectron () const |
virtual bool | isGlobalMuon () const |
virtual bool | isJet () const |
virtual bool | isMuon () const |
virtual bool | isPhoton () const |
virtual bool | isStandAloneMuon () const |
virtual bool | isTrackerMuon () const |
LeafRefCandidateT () | |
default constructor More... | |
LeafRefCandidateT (const T &c, float m) | |
virtual float | mass () const |
mass More... | |
virtual float | massSqr () const |
mass squared More... | |
virtual const CandidateBaseRef & | masterClone () const |
virtual const CandidatePtr & | masterClonePtr () const |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
virtual Vector | momentum () const |
spatial momentum vector More... | |
virtual const Candidate * | mother (size_type) const |
return mother at a given position (throws an exception) More... | |
virtual double | mt () const |
transverse mass More... | |
virtual double | mtSqr () const |
transverse mass squared More... | |
template<typename C > | |
size_type | numberOf () const |
number of components More... | |
template<typename C , typename Tag > | |
size_type | numberOf () const |
number of components More... | |
virtual size_t | numberOfDaughters () const |
number of daughters More... | |
virtual size_t | numberOfMothers () const |
number of mothers More... | |
virtual size_t | numberOfSourceCandidatePtrs () const |
virtual double | p () const |
magnitude of momentum vector More... | |
virtual const LorentzVector & | p4 () const |
four-momentum Lorentz vector More... | |
virtual int | pdgId () const |
pdg ID: dummy for now More... | |
virtual float | phi () const |
momentum azimuthal angle More... | |
virtual const PolarLorentzVector & | polarP4 () const |
four-momentum Lorentz vector More... | |
virtual float | pt () const |
transverse momentum More... | |
virtual double | px () const |
x coordinate of momentum vector More... | |
virtual double | py () const |
y coordinate of momentum vector More... | |
virtual double | pz () const |
z coordinate of momentum vector More... | |
virtual double | rapidity () const |
rapidity More... | |
virtual void | setMass (double m) |
set particle mass More... | |
virtual CandidatePtr | sourceCandidatePtr (size_type i) const |
virtual double | theta () const |
momentum polar angle More... | |
virtual const Point & | vertex () const |
vertex position More... | |
virtual double | vx () const |
x coordinate of vertex position More... | |
virtual double | vy () const |
y coordinate of vertex position More... | |
virtual double | vz () const |
z coordinate of vertex position More... | |
virtual double | y () const |
rapidity More... | |
virtual | ~LeafRefCandidateT () |
destructor More... | |
Public Member Functions inherited from reco::Candidate | |
template<typename S > | |
daughter_iterator< S >::type | beginFilter (const S &s) const |
virtual const Track * | bestTrack () const |
Candidate () | |
default constructor More... | |
template<typename S > | |
daughter_iterator< S >::type | endFilter (const S &s) const |
template<typename T > | |
T | get () const |
get a component More... | |
template<typename T , typename Tag > | |
T | get () const |
get a component More... | |
template<typename T > | |
T | get (size_type i) const |
get a component More... | |
template<typename T , typename Tag > | |
T | get (size_type i) const |
get a component More... | |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
template<typename T > | |
size_type | numberOf () const |
number of components More... | |
template<typename T , typename Tag > | |
size_type | numberOf () const |
number of components More... | |
virtual void | setSourceCandidatePtr (const CandidatePtr &ptr) |
Set the ptr to the source Candidate. More... | |
virtual | ~Candidate () |
destructor More... | |
Static Public Member Functions | |
static short | Class_Version () |
Protected Member Functions | |
void | cacheCartesian () const |
set internal cache More... | |
void | cachePolar () const |
set internal cache More... | |
void | clearCache () const |
clear internal cache More... | |
virtual bool | overlap (const Candidate &) const |
check overlap with another Candidate More... | |
virtual bool | overlap (const LeafRefCandidateT &) const |
Protected Attributes | |
edm::BoolCache | cacheCartesianFixed_ |
edm::BoolCache | cachePolarFixed_ |
has cache been set? More... | |
float | mass_ |
mass hypothesis More... | |
LorentzVector | p4Cartesian_ |
internal cache for p4 More... | |
PolarLorentzVector | p4Polar_ |
internal cache for p4 More... | |
T | ref_ |
Private Types | |
typedef candidate::const_iterator_imp_specific < daughters > | const_iterator_imp_specific |
typedef candidate::iterator_imp_specific < daughters > | iterator_imp_specific |
Private Member Functions | |
virtual void | fillVertexCovariance (CovarianceMatrix &v) const |
virtual bool | longLived () const |
is long lived? More... | |
virtual bool | massConstraint () const |
do mass constraint? More... | |
virtual void | setCharge (Charge q) |
virtual void | setLongLived () |
set long lived flag More... | |
virtual void | setMassConstraint () |
set mass constraint flag More... | |
virtual void | setP4 (const LorentzVector &p4) |
set 4-momentum More... | |
virtual void | setP4 (const PolarLorentzVector &p4) |
set 4-momentum More... | |
virtual void | setPdgId (int pdgId) |
virtual void | setPz (double pz) |
virtual void | setStatus (int status) |
set status word More... | |
virtual void | setThreeCharge (Charge qx3) |
set electric charge More... | |
virtual void | setVertex (const Point &vertex) |
set vertex More... | |
virtual int | status () const |
status word More... | |
virtual int | threeCharge () const |
electric charge More... | |
virtual double | vertexChi2 () const |
chi-squares More... | |
virtual double | vertexCovariance (int i, int j) const |
(i, j)-th element of error matrix, i, j = 0, ... 2 More... | |
CovarianceMatrix | vertexCovariance () const |
fill SMatrix More... | |
virtual double | vertexNdof () const |
virtual double | vertexNormalizedChi2 () const |
chi-squared divided by n.d.o.f. More... | |
Static Private Attributes | |
static const unsigned int | longLivedTag |
static const unsigned int | massConstraintTag |
Friends | |
class | ::OverlapChecker |
template<typename , typename , typename > | |
struct | component |
class | ShallowCloneCandidate |
class | ShallowClonePtrCandidate |
particle candidate with no constituent nor daughters, that takes the 3-vector from a constituent T (where T satisfies T->pt(), etc, like a TrackRef), and the mass is set
Definition at line 21 of file LeafRefCandidateT.h.
typedef int reco::LeafRefCandidateT< T >::Charge |
electric charge type
Definition at line 26 of file LeafRefCandidateT.h.
|
private |
Definition at line 269 of file LeafRefCandidateT.h.
typedef CandidateCollection reco::LeafRefCandidateT< T >::daughters |
collection of daughter candidates
Definition at line 24 of file LeafRefCandidateT.h.
typedef unsigned int reco::LeafRefCandidateT< T >::index |
Definition at line 36 of file LeafRefCandidateT.h.
|
private |
Definition at line 271 of file LeafRefCandidateT.h.
typedef math::XYZTLorentzVector reco::LeafRefCandidateT< T >::LorentzVector |
Lorentz vector.
Definition at line 28 of file LeafRefCandidateT.h.
typedef math::XYZPoint reco::LeafRefCandidateT< T >::Point |
point in the space
Definition at line 32 of file LeafRefCandidateT.h.
typedef math::PtEtaPhiMLorentzVector reco::LeafRefCandidateT< T >::PolarLorentzVector |
Lorentz vector.
Definition at line 30 of file LeafRefCandidateT.h.
typedef math::XYZVector reco::LeafRefCandidateT< T >::Vector |
point in the space
Definition at line 34 of file LeafRefCandidateT.h.
|
inline |
default constructor
Definition at line 39 of file LeafRefCandidateT.h.
|
inlineexplicit |
Definition at line 43 of file LeafRefCandidateT.h.
|
inlinevirtual |
|
virtual |
first daughter const_iterator
Implements reco::Candidate.
Definition at line 312 of file LeafRefCandidateT.h.
Referenced by reco::LeafRefCandidateT< T >::beginFilter().
|
virtual |
first daughter iterator
Implements reco::Candidate.
Definition at line 322 of file LeafRefCandidateT.h.
|
inline |
Definition at line 208 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::begin(), and reco::LeafRefCandidateT< T >::end().
|
inlinevirtual |
boost vector to boost a Lorentz vector to the particle center of mass system
Implements reco::Candidate.
Definition at line 95 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::cacheCartesian(), and reco::LeafRefCandidateT< T >::p4Cartesian_.
|
inlineprotected |
set internal cache
Definition at line 248 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::cacheCartesianFixed_, reco::LeafRefCandidateT< T >::cachePolar(), reco::LeafRefCandidateT< T >::p4Cartesian_, and reco::LeafRefCandidateT< T >::p4Polar_.
Referenced by reco::LeafRefCandidateT< T >::boostToCM(), reco::LeafRefCandidateT< T >::energy(), reco::LeafRefCandidateT< T >::momentum(), reco::LeafRefCandidateT< T >::p(), reco::LeafRefCandidateT< T >::p4(), reco::LeafRefCandidateT< T >::px(), reco::LeafRefCandidateT< T >::py(), and reco::LeafRefCandidateT< T >::pz().
|
inlineprotected |
set internal cache
Definition at line 242 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::mass_.
Referenced by reco::LeafRefCandidateT< T >::cacheCartesian(), reco::LeafRefCandidateT< T >::et(), reco::LeafRefCandidateT< T >::mt(), reco::LeafRefCandidateT< T >::mtSqr(), reco::LeafRefCandidateT< T >::polarP4(), and reco::LeafRefCandidateT< T >::rapidity().
|
inlinevirtual |
electric charge
Implements reco::Candidate.
Definition at line 83 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::ref_.
|
inlinestatic |
Definition at line 227 of file LeafRefCandidateT.h.
|
inlineprotected |
clear internal cache
Definition at line 255 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::cacheCartesianFixed_, and reco::LeafRefCandidateT< T >::cachePolarFixed_.
Referenced by reco::LeafRefCandidateT< T >::setMass().
|
inlinevirtual |
returns a clone of the Candidate object
Implements reco::Candidate.
Definition at line 146 of file LeafRefCandidateT.h.
|
inlinevirtual |
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Definition at line 61 of file LeafRefCandidateT.h.
|
inlinevirtual |
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Definition at line 67 of file LeafRefCandidateT.h.
|
inlinevirtual |
return daughter with a specified role name
Implements reco::Candidate.
Definition at line 69 of file LeafRefCandidateT.h.
|
inlinevirtual |
return daughter with a specified role name
Implements reco::Candidate.
Definition at line 71 of file LeafRefCandidateT.h.
|
virtual |
last daughter const_iterator
Implements reco::Candidate.
Definition at line 317 of file LeafRefCandidateT.h.
Referenced by reco::LeafRefCandidateT< T >::beginFilter(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and reco::LeafRefCandidateT< T >::endFilter().
|
virtual |
last daughter iterator
Implements reco::Candidate.
Definition at line 327 of file LeafRefCandidateT.h.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
Definition at line 212 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::end().
|
inlinevirtual |
energy
Implements reco::Candidate.
Definition at line 99 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::cacheCartesian(), and reco::LeafRefCandidateT< T >::p4Cartesian_.
|
inlinevirtual |
transverse energy
Implements reco::Candidate.
Definition at line 101 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::cachePolar(), and reco::LeafRefCandidateT< T >::p4Polar_.
|
inlinevirtual |
momentum pseudorapidity
Implements reco::Candidate.
Definition at line 123 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::ref_.
Referenced by Particle.Particle::__str__(), Muon.Muon::absEffAreaIso(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
|
inlineprivatevirtual |
Implements reco::Candidate.
Definition at line 305 of file LeafRefCandidateT.h.
References mathSSE::return().
get a component
Definition at line 172 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::hasMasterClone(), and reco::LeafRefCandidateT< T >::masterClone().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
inline |
get a component
Definition at line 177 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::hasMasterClone(), and reco::LeafRefCandidateT< T >::masterClone().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
inline |
get a component
Definition at line 182 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::hasMasterClone(), i, and reco::LeafRefCandidateT< T >::masterClone().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
inline |
get a component
Definition at line 187 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::hasMasterClone(), i, and reco::LeafRefCandidateT< T >::masterClone().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
inlinevirtual |
This only happens if the concrete Candidate type is ShallowCloneCandidate.
Implements reco::Candidate.
Definition at line 152 of file LeafRefCandidateT.h.
Referenced by reco::LeafRefCandidateT< T >::get(), and reco::LeafRefCandidateT< T >::numberOf().
|
inlinevirtual |
returns true if this candidate has a ptr to a master clone. This only happens if the concrete Candidate type is ShallowClonePtrCandidate
Implements reco::Candidate.
Definition at line 160 of file LeafRefCandidateT.h.
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 222 of file LeafRefCandidateT.h.
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 224 of file LeafRefCandidateT.h.
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 217 of file LeafRefCandidateT.h.
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 220 of file LeafRefCandidateT.h.
Referenced by Muon.Muon::muonID().
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 225 of file LeafRefCandidateT.h.
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 218 of file LeafRefCandidateT.h.
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 223 of file LeafRefCandidateT.h.
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 219 of file LeafRefCandidateT.h.
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 221 of file LeafRefCandidateT.h.
|
inlineprivatevirtual |
|
inlinevirtual |
mass
Implements reco::Candidate.
Definition at line 103 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::mass_.
Referenced by Particle.Particle::__str__(), and DiObject.DiMuon::__str__().
|
inlineprivatevirtual |
|
inlinevirtual |
mass squared
Implements reco::Candidate.
Definition at line 105 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::mass_.
|
inlinevirtual |
returns ptr to master clone, if existing. Throws an exception unless the concrete Candidate type is ShallowCloneCandidate
Implements reco::Candidate.
Definition at line 155 of file LeafRefCandidateT.h.
Referenced by reco::LeafRefCandidateT< T >::get(), and reco::LeafRefCandidateT< T >::numberOf().
|
inlinevirtual |
returns ptr to master clone, if existing. Throws an exception unless the concrete Candidate type is ShallowClonePtrCandidate
Implements reco::Candidate.
Definition at line 163 of file LeafRefCandidateT.h.
|
inline |
|
inlinevirtual |
spatial momentum vector
Implements reco::Candidate.
Definition at line 92 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::cacheCartesian(), and reco::LeafRefCandidateT< T >::p4Cartesian_.
|
inlinevirtual |
return mother at a given position (throws an exception)
Implements reco::Candidate.
Definition at line 65 of file LeafRefCandidateT.h.
|
inlinevirtual |
transverse mass
Implements reco::Candidate.
Definition at line 107 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::cachePolar(), and reco::LeafRefCandidateT< T >::p4Polar_.
|
inlinevirtual |
transverse mass squared
Implements reco::Candidate.
Definition at line 109 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::cachePolar(), and reco::LeafRefCandidateT< T >::p4Polar_.
|
inline |
number of components
Definition at line 192 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::hasMasterClone(), and reco::LeafRefCandidateT< T >::masterClone().
|
inline |
number of components
Definition at line 197 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::hasMasterClone(), and reco::LeafRefCandidateT< T >::masterClone().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
return the number of source Candidates ( the candidates used to construct this Candidate)
Implements reco::Candidate.
Definition at line 74 of file LeafRefCandidateT.h.
|
protectedvirtual |
check overlap with another Candidate
Implements reco::Candidate.
Definition at line 333 of file LeafRefCandidateT.h.
References reco::Candidate::charge(), reco::Candidate::p4(), p4, and reco::Candidate::vertex().
|
protectedvirtual |
|
inlinevirtual |
magnitude of momentum vector
Implements reco::Candidate.
Definition at line 97 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::cacheCartesian(), and reco::LeafRefCandidateT< T >::p4Cartesian_.
|
inlinevirtual |
four-momentum Lorentz vector
Implements reco::Candidate.
Definition at line 88 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::cacheCartesian(), and reco::LeafRefCandidateT< T >::p4Cartesian_.
Referenced by Tau.Tau::dxy(), Tau.Tau::dz(), and Jet.Jet::jetID().
|
inlinevirtual |
pdg ID: dummy for now
Implements reco::Candidate.
Definition at line 85 of file LeafRefCandidateT.h.
Referenced by Particle.Particle::__str__().
|
inlinevirtual |
momentum azimuthal angle
Implements reco::Candidate.
Definition at line 119 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::ref_.
Referenced by Particle.Particle::__str__().
|
inlinevirtual |
four-momentum Lorentz vector
Implements reco::Candidate.
Definition at line 90 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::cachePolar(), and reco::LeafRefCandidateT< T >::p4Polar_.
|
inlinevirtual |
transverse momentum
Implements reco::Candidate.
Definition at line 117 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::ref_.
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), HTauTauElectron.HTauTauElectron::looseIdForTriLeptonVeto(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDTight(), Lepton.Lepton::relEffAreaIso(), and Lepton.Lepton::relIso().
|
inlinevirtual |
x coordinate of momentum vector
Implements reco::Candidate.
Definition at line 111 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::cacheCartesian(), and reco::LeafRefCandidateT< T >::p4Cartesian_.
|
inlinevirtual |
y coordinate of momentum vector
Implements reco::Candidate.
Definition at line 113 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::cacheCartesian(), and reco::LeafRefCandidateT< T >::p4Cartesian_.
|
inlinevirtual |
z coordinate of momentum vector
Implements reco::Candidate.
Definition at line 115 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::cacheCartesian(), and reco::LeafRefCandidateT< T >::p4Cartesian_.
|
inlinevirtual |
rapidity
Implements reco::Candidate.
Definition at line 125 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::cachePolar(), and reco::LeafRefCandidateT< T >::p4Polar_.
Referenced by reco::LeafRefCandidateT< T >::y().
|
inlineprivatevirtual |
Hide these from all users:
Implements reco::Candidate.
Definition at line 278 of file LeafRefCandidateT.h.
|
inlineprivatevirtual |
|
inlinevirtual |
set particle mass
Implements reco::Candidate.
Definition at line 130 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::clearCache(), m, and reco::LeafRefCandidateT< T >::mass_.
|
inlineprivatevirtual |
set mass constraint flag
Implements reco::Candidate.
Definition at line 298 of file LeafRefCandidateT.h.
|
inlineprivatevirtual |
|
inlineprivatevirtual |
|
inlineprivatevirtual |
|
inlineprivatevirtual |
Implements reco::Candidate.
Definition at line 287 of file LeafRefCandidateT.h.
|
inlineprivatevirtual |
|
inlineprivatevirtual |
|
inlineprivatevirtual |
|
inlinevirtual |
return a Ptr to one of the source Candidates ( the candidates used to construct this Candidate)
Reimplemented from reco::Candidate.
Definition at line 77 of file LeafRefCandidateT.h.
|
inlineprivatevirtual |
|
inlinevirtual |
momentum polar angle
Implements reco::Candidate.
Definition at line 121 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::ref_.
Referenced by Tau.Tau::zImpact().
|
inlineprivatevirtual |
|
inlinevirtual |
vertex position
Implements reco::Candidate.
Definition at line 136 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::ref_.
Referenced by Tau.Tau::dxy(), and Tau.Tau::dz().
|
inlineprivatevirtual |
|
inlineprivatevirtual |
(i, j)-th element of error matrix, i, j = 0, ... 2
Implements reco::Candidate.
Definition at line 303 of file LeafRefCandidateT.h.
|
inlineprivatevirtual |
fill SMatrix
Reimplemented from reco::Candidate.
Definition at line 304 of file LeafRefCandidateT.h.
References m.
|
inlineprivatevirtual |
Number of degrees of freedom Meant to be Double32_t for soft-assignment fitters: tracks may contribute to the vertex with fractional weights. The ndof is then = to the sum of the track weights. see e.g. CMS NOTE-2006/032, CMS NOTE-2004/002
Implements reco::Candidate.
Definition at line 301 of file LeafRefCandidateT.h.
|
inlineprivatevirtual |
chi-squared divided by n.d.o.f.
Implements reco::Candidate.
Definition at line 302 of file LeafRefCandidateT.h.
|
inlinevirtual |
x coordinate of vertex position
Implements reco::Candidate.
Definition at line 138 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::ref_.
|
inlinevirtual |
y coordinate of vertex position
Implements reco::Candidate.
Definition at line 140 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::ref_.
|
inlinevirtual |
z coordinate of vertex position
Implements reco::Candidate.
Definition at line 142 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::ref_.
|
inlinevirtual |
rapidity
Implements reco::Candidate.
Definition at line 127 of file LeafRefCandidateT.h.
References reco::LeafRefCandidateT< T >::rapidity().
Referenced by svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), geometryXMLparser.Alignable::pos(), and Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget().
|
friend |
Definition at line 263 of file LeafRefCandidateT.h.
Definition at line 262 of file LeafRefCandidateT.h.
|
friend |
Definition at line 264 of file LeafRefCandidateT.h.
|
friend |
Definition at line 265 of file LeafRefCandidateT.h.
|
mutableprotected |
Definition at line 240 of file LeafRefCandidateT.h.
Referenced by reco::LeafRefCandidateT< T >::cacheCartesian(), and reco::LeafRefCandidateT< T >::clearCache().
|
mutableprotected |
has cache been set?
Definition at line 240 of file LeafRefCandidateT.h.
Referenced by reco::LeafRefCandidateT< T >::clearCache().
|
staticprivate |
Definition at line 294 of file LeafRefCandidateT.h.
|
protected |
mass hypothesis
Definition at line 234 of file LeafRefCandidateT.h.
Referenced by reco::LeafRefCandidateT< T >::cachePolar(), reco::LeafRefCandidateT< T >::mass(), reco::LeafRefCandidateT< T >::massSqr(), and reco::LeafRefCandidateT< T >::setMass().
|
staticprivate |
Definition at line 297 of file LeafRefCandidateT.h.
|
mutableprotected |
internal cache for p4
Definition at line 238 of file LeafRefCandidateT.h.
Referenced by reco::LeafRefCandidateT< T >::boostToCM(), reco::LeafRefCandidateT< T >::cacheCartesian(), reco::LeafRefCandidateT< T >::energy(), reco::LeafRefCandidateT< T >::momentum(), reco::LeafRefCandidateT< T >::p(), reco::LeafRefCandidateT< T >::p4(), reco::LeafRefCandidateT< T >::px(), reco::LeafRefCandidateT< T >::py(), and reco::LeafRefCandidateT< T >::pz().
|
mutableprotected |
internal cache for p4
Definition at line 236 of file LeafRefCandidateT.h.
Referenced by reco::LeafRefCandidateT< T >::cacheCartesian(), reco::LeafRefCandidateT< T >::et(), reco::LeafRefCandidateT< T >::mt(), reco::LeafRefCandidateT< T >::mtSqr(), reco::LeafRefCandidateT< T >::polarP4(), and reco::LeafRefCandidateT< T >::rapidity().
|
protected |
T internally. NOTE! T must satisfy ref_->pt(), ref_->phi(), etc, like a TrackRef
Definition at line 232 of file LeafRefCandidateT.h.
Referenced by reco::LeafRefCandidateT< T >::charge(), reco::LeafRefCandidateT< T >::eta(), reco::LeafRefCandidateT< T >::overlap(), reco::RecoPFClusterRefCandidate::pfCluster(), reco::LeafRefCandidateT< T >::phi(), reco::LeafRefCandidateT< T >::pt(), reco::LeafRefCandidateT< T >::theta(), reco::RecoChargedRefCandidate::track(), reco::LeafRefCandidateT< T >::vertex(), reco::LeafRefCandidateT< T >::vx(), reco::LeafRefCandidateT< T >::vy(), and reco::LeafRefCandidateT< T >::vz().