#include <PackedGenParticle.h>
Public Types | |
typedef reco::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... | |
enum | PVAssoc { NoPV =0, PVLoose =1, PVTight =2, PVUsedInFit =3 } |
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 Vector | boostToCM () const |
virtual int | charge () const |
electric charge More... | |
virtual PackedGenParticle * | clone () const |
returns a clone of the Candidate object More... | |
virtual const reco::Candidate * | daughter (size_type) const |
return daughter at a given position (throws an exception) More... | |
virtual reco::Candidate * | daughter (size_type) |
return daughter at a given position (throws an exception) More... | |
virtual reco::Candidate * | daughter (const std::string &s) |
return daughter with a specified role name More... | |
virtual const reco::Candidate * | daughter (const std::string &s) const |
return daughter with a specified role name More... | |
virtual float | dxy () const |
dxy with respect to the PV ref More... | |
virtual float | dxy (const Point &p) const |
dxy with respect to another point More... | |
virtual float | dz () const |
dz with respect to the PV ref More... | |
virtual float | dz (const Point &p) const |
dz with respect to another point More... | |
virtual double | energy () const |
energy More... | |
double | et () const |
transverse energy More... | |
double | et2 () const |
transverse energy squared (use this for cuts)! More... | |
virtual double | eta () const |
momentum pseudorapidity More... | |
virtual void | fillVertexCovariance (CovarianceMatrix &v) const |
fill SMatrix More... | |
bool | fromHardProcessFinalState () const |
virtual bool | hasMasterClone () const |
virtual bool | hasMasterClonePtr () const |
virtual bool | isCaloMuon () const |
virtual bool | isConvertedPhoton () const |
bool | isDirectHardProcessTauDecayProductFinalState () const |
bool | isDirectPromptTauDecayProductFinalState () const |
virtual bool | isElectron () const |
get a component More... | |
virtual bool | isGlobalMuon () const |
virtual bool | isJet () const |
virtual bool | isMuon () const |
virtual bool | isPhoton () const |
bool | isPromptFinalState () const |
virtual bool | isStandAloneMuon () const |
virtual bool | isTrackerMuon () const |
virtual bool | longLived () const |
is long lived? More... | |
virtual double | mass () const |
mass More... | |
virtual bool | massConstraint () const |
do mass constraint? More... | |
virtual double | massSqr () const |
mass squared More... | |
virtual const reco::CandidateBaseRef & | masterClone () const |
virtual const reco::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 reco::Candidate * | mother (size_type) const |
return mother at a given position (throws an exception) More... | |
const reco::GenParticleRef & | motherRef () const |
direct access to the mother reference (may be null) More... | |
virtual double | mt () const |
transverse mass More... | |
virtual double | mtSqr () const |
transverse mass squared More... | |
virtual size_t | numberOfDaughters () const |
number of daughters More... | |
virtual size_t | numberOfMothers () const |
number of mothers More... | |
virtual size_t | numberOfSourceCandidatePtrs () const |
PackedGenParticle & | operator= (PackedGenParticle &&iOther) |
PackedGenParticle & | operator= (PackedGenParticle const &iOther) |
virtual double | p () const |
magnitude of momentum vector More... | |
virtual const LorentzVector & | p4 () const |
four-momentum Lorentz vecto r More... | |
PackedGenParticle () | |
default constructor More... | |
PackedGenParticle (const reco::GenParticle &c) | |
PackedGenParticle (const reco::GenParticle &c, const edm::Ref< reco::GenParticleCollection > &mother) | |
PackedGenParticle (const PackedGenParticle &iOther) | |
PackedGenParticle (PackedGenParticle &&iOther) | |
virtual int | pdgId () const |
PDG identifier. More... | |
virtual double | phi () const |
momentum azimuthal angle More... | |
virtual const PolarLorentzVector & | polarP4 () const |
four-momentum Lorentz vector More... | |
virtual double | 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 | setCharge (int charge) |
set electric charge More... | |
virtual void | setLongLived () |
set long lived flag More... | |
virtual void | setMass (double m) |
set particle mass 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 (int threecharge) |
set electric charge More... | |
virtual void | setVertex (const Point &vertex) |
set vertex More... | |
virtual reco::CandidatePtr | sourceCandidatePtr (size_type i) const |
virtual int | status () const |
status word More... | |
const reco::GenStatusFlags & | statusFlags () const |
reco::GenStatusFlags & | statusFlags () |
virtual double | theta () const |
momentum polar angle More... | |
virtual int | threeCharge () const |
electric charge More... | |
virtual const Point & | vertex () const |
vertex position 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 |
return SMatrix More... | |
virtual double | vertexNdof () const |
virtual double | vertexNormalizedChi2 () const |
chi-squared divided by n.d.o.f. 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 | ~PackedGenParticle () |
destructor More... | |
Public Member Functions inherited from reco::Candidate | |
const_iterator | begin () const |
first daughter const_iterator More... | |
iterator | begin () |
first daughter iterator More... | |
virtual const Track * | bestTrack () const |
Candidate () | |
default constructor More... | |
virtual float | dxyError () const |
uncertainty on dxy More... | |
virtual float | dzError () const |
uncertainty on dz More... | |
const_iterator | end () const |
last daughter const_iterator More... | |
iterator | end () |
last daughter iterator More... | |
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 | setP4 (const PolarLorentzVector &p4)=0 |
set 4-momentum More... | |
virtual void | setSourceCandidatePtr (const CandidatePtr &ptr) |
Set the ptr to the source Candidate. More... | |
virtual void | setVertex (const Point &vertex)=0 |
set vertex More... | |
virtual | ~Candidate () |
destructor More... | |
Static Public Attributes | |
static const unsigned int | longLivedTag = 0 |
long lived flag More... | |
static const unsigned int | massConstraintTag = 0 |
do mass constraint flag More... | |
Protected Member Functions | |
virtual bool | overlap (const reco::Candidate &) const |
check overlap with another Candidate More... | |
void | pack (bool unpackAfterwards=true) |
void | unpack () const |
Protected Attributes | |
int8_t | charge_ |
Charge. More... | |
float | dphi_ |
float | dxy_ |
float | dz_ |
reco::GenParticleRef | mother_ |
Ref to first mother. More... | |
std::atomic< PolarLorentzVector * > | p4_ |
the four vector More... | |
std::atomic< LorentzVector * > | p4c_ |
uint16_t | packedM_ |
uint16_t | packedPhi_ |
uint16_t | packedPt_ |
uint16_t | packedY_ |
int | pdgId_ |
PDG identifier. More... | |
reco::GenStatusFlags | statusFlags_ |
Point | vertex_ |
vertex position More... | |
Friends | |
class | ::OverlapChecker |
class | ::testPackedGenParticle |
template<typename , typename , typename > | |
struct | component |
class | ShallowCloneCandidate |
class | ShallowClonePtrCandidate |
Definition at line 19 of file PackedGenParticle.h.
collection of daughter candidates
Definition at line 24 of file PackedGenParticle.h.
typedef unsigned int pat::PackedGenParticle::index |
Definition at line 34 of file PackedGenParticle.h.
Lorentz vector.
Definition at line 26 of file PackedGenParticle.h.
point in the space
Definition at line 30 of file PackedGenParticle.h.
Lorentz vector.
Definition at line 28 of file PackedGenParticle.h.
point in the space
Definition at line 32 of file PackedGenParticle.h.
|
inline |
default constructor
Definition at line 37 of file PackedGenParticle.h.
Referenced by clone().
|
inlineexplicit |
Definition at line 40 of file PackedGenParticle.h.
References pack().
|
inlineexplicit |
Definition at line 43 of file PackedGenParticle.h.
References pack().
|
inline |
Definition at line 47 of file PackedGenParticle.h.
|
inline |
Definition at line 59 of file PackedGenParticle.h.
|
virtual |
destructor
Definition at line 44 of file PackedGenParticle.cc.
Referenced by operator=().
|
inlinevirtual |
boost vector to boost a Lorentz vector to the particle center of mass system
Implements reco::Candidate.
Definition at line 148 of file PackedGenParticle.h.
References p4c_, and unpack().
|
inlinevirtual |
electric charge
Implements reco::Candidate.
Definition at line 131 of file PackedGenParticle.h.
References charge_.
Referenced by overlap(), setCharge(), and threeCharge().
|
inlinevirtual |
returns a clone of the Candidate object
Implements reco::Candidate.
Definition at line 254 of file PackedGenParticle.h.
References mps_fire::i, PackedGenParticle(), vertexChi2(), vertexCovariance(), vertexNdof(), and vertexNormalizedChi2().
|
virtual |
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Definition at line 97 of file PackedGenParticle.cc.
Referenced by motherRef(), and operator=().
|
virtual |
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Definition at line 119 of file PackedGenParticle.cc.
|
virtual |
return daughter with a specified role name
Implements reco::Candidate.
Definition at line 111 of file PackedGenParticle.cc.
References Exception, and edm::errors::UnimplementedFeature.
|
virtual |
return daughter with a specified role name
Implements reco::Candidate.
Definition at line 105 of file PackedGenParticle.cc.
References Exception, and edm::errors::UnimplementedFeature.
|
inlinevirtual |
dxy with respect to the PV ref
Definition at line 223 of file PackedGenParticle.h.
References dxy_, and unpack().
Referenced by Electron.Electron::cutBasedId(), ntupleDataFormat.Track::dxyPull(), and dz().
|
virtual |
dxy with respect to another point
Definition at line 50 of file PackedGenParticle.cc.
References funct::cos(), p4_, funct::sin(), unpack(), and vertex_.
Referenced by Electron.Electron::cutBasedId(), and ntupleDataFormat.Track::dxyPull().
|
inlinevirtual |
dz with respect to the PV ref
Definition at line 225 of file PackedGenParticle.h.
References dxy(), dz_, p(), and unpack().
Referenced by Electron.Electron::cutBasedId(), and ntupleDataFormat.Track::dzPull().
|
virtual |
dz with respect to another point
Definition at line 54 of file PackedGenParticle.cc.
References funct::cos(), p4_, funct::sin(), unpack(), and vertex_.
Referenced by Electron.Electron::cutBasedId(), and ntupleDataFormat.Track::dzPull().
|
inlinevirtual |
energy
Implements reco::Candidate.
Definition at line 152 of file PackedGenParticle.h.
References p4c_, and unpack().
Referenced by Jet.Jet::rawEnergy().
|
inlinevirtual |
transverse energy
Implements reco::Candidate.
Definition at line 154 of file PackedGenParticle.h.
|
inlinevirtual |
transverse energy squared (use this for cuts)!
Implements reco::Candidate.
Definition at line 156 of file PackedGenParticle.h.
|
inlinevirtual |
momentum pseudorapidity
Implements reco::Candidate.
Definition at line 179 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), Jet.Jet::puJetId(), and unpack().
|
virtual |
fill SMatrix
Implements reco::Candidate.
Definition at line 140 of file PackedGenParticle.cc.
References Exception, and edm::errors::UnimplementedFeature.
Referenced by vertexCovariance().
|
inline |
Definition at line 332 of file PackedGenParticle.h.
References reco::GenStatusFlags::fromHardProcess(), status(), and statusFlags_.
|
virtual |
returns true if this candidate has a reference to a master clone. This only happens if the concrete Candidate type is ShallowCloneCandidate
Implements reco::Candidate.
Definition at line 68 of file PackedGenParticle.cc.
Referenced by vertexCovariance().
|
virtual |
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 72 of file PackedGenParticle.cc.
Referenced by vertexCovariance().
|
virtual |
Implements reco::Candidate.
Definition at line 155 of file PackedGenParticle.cc.
Referenced by masterRef().
|
virtual |
Implements reco::Candidate.
Definition at line 159 of file PackedGenParticle.cc.
Referenced by masterRef().
|
inline |
Definition at line 336 of file PackedGenParticle.h.
References reco::GenStatusFlags::isDirectHardProcessTauDecayProduct(), status(), and statusFlags_.
|
inline |
Definition at line 321 of file PackedGenParticle.h.
References reco::GenStatusFlags::isDirectPromptTauDecayProduct(), status(), and statusFlags_.
|
virtual |
get a component
Implements reco::Candidate.
Definition at line 145 of file PackedGenParticle.cc.
Referenced by masterRef().
|
virtual |
Implements reco::Candidate.
Definition at line 149 of file PackedGenParticle.cc.
Referenced by masterRef(), and Muon.Muon::muonID().
|
virtual |
Implements reco::Candidate.
Definition at line 161 of file PackedGenParticle.cc.
Referenced by masterRef().
|
virtual |
Implements reco::Candidate.
Definition at line 147 of file PackedGenParticle.cc.
Referenced by masterRef().
|
virtual |
Implements reco::Candidate.
Definition at line 157 of file PackedGenParticle.cc.
Referenced by masterRef().
|
inline |
Definition at line 317 of file PackedGenParticle.h.
References reco::GenStatusFlags::isPrompt(), status(), and statusFlags_.
|
virtual |
Implements reco::Candidate.
Definition at line 151 of file PackedGenParticle.cc.
Referenced by masterRef().
|
virtual |
Implements reco::Candidate.
Definition at line 153 of file PackedGenParticle.cc.
Referenced by masterRef().
|
virtual |
is long lived?
Implements reco::Candidate.
Definition at line 163 of file PackedGenParticle.cc.
Referenced by setLongLived().
|
inlinevirtual |
mass
Implements reco::Candidate.
Definition at line 158 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
Referenced by Particle.Particle::__str__(), and DiObject.DiMuon::__str__().
|
virtual |
do mass constraint?
Implements reco::Candidate.
Definition at line 165 of file PackedGenParticle.cc.
Referenced by setMassConstraint().
|
inlinevirtual |
mass squared
Implements reco::Candidate.
Definition at line 160 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
|
virtual |
returns ptr to master clone, if existing. Throws an exception unless the concrete Candidate type is ShallowCloneCandidate
Implements reco::Candidate.
Definition at line 62 of file PackedGenParticle.cc.
References Exception.
Referenced by masterRef(), and vertexCovariance().
|
virtual |
returns ptr to master clone, if existing. Throws an exception unless the concrete Candidate type is ShallowClonePtrCandidate
Implements reco::Candidate.
Definition at line 77 of file PackedGenParticle.cc.
References Exception.
Referenced by vertexCovariance().
|
inline |
cast master clone reference to a concrete type
Definition at line 291 of file PackedGenParticle.h.
References isCaloMuon(), isConvertedPhoton(), isElectron(), isGlobalMuon(), isJet(), isMuon(), isPhoton(), isStandAloneMuon(), isTrackerMuon(), and masterClone().
|
inlinevirtual |
spatial momentum vector
Implements reco::Candidate.
Definition at line 145 of file PackedGenParticle.h.
References p4c_, and unpack().
|
virtual |
return mother at a given position (throws an exception)
Implements reco::Candidate.
Definition at line 101 of file PackedGenParticle.cc.
References edm::Ref< C, T, F >::get(), and mother_.
Referenced by operator=().
|
inline |
direct access to the mother reference (may be null)
Definition at line 113 of file PackedGenParticle.h.
References daughter(), mother_, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinevirtual |
transverse mass
Implements reco::Candidate.
Definition at line 163 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
|
inlinevirtual |
transverse mass squared
Implements reco::Candidate.
Definition at line 165 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
|
virtual |
number of daughters
Implements reco::Candidate.
Definition at line 83 of file PackedGenParticle.cc.
Referenced by operator=().
|
virtual |
number of mothers
Implements reco::Candidate.
Definition at line 87 of file PackedGenParticle.cc.
References edm::Ref< C, T, F >::isNonnull(), and mother_.
Referenced by operator=().
|
inlinevirtual |
return the number of source Candidates ( the candidates used to construct this Candidate)
Implements reco::Candidate.
Definition at line 123 of file PackedGenParticle.h.
|
inline |
Definition at line 71 of file PackedGenParticle.h.
References charge_, dphi_, dxy_, dz_, mother_, eostools::move(), p4_, p4c_, packedM_, packedPhi_, packedPt_, packedY_, pdgId_, statusFlags_, and vertex_.
|
inline |
Definition at line 96 of file PackedGenParticle.h.
References EnergyCorrector::c, daughter(), mother(), eostools::move(), numberOfDaughters(), numberOfMothers(), and ~PackedGenParticle().
|
protectedvirtual |
check overlap with another Candidate
Implements reco::Candidate.
Definition at line 92 of file PackedGenParticle.cc.
References reco::Candidate::charge(), charge(), reco::Candidate::p4(), p4(), reco::Candidate::vertex(), and vertex().
|
inlinevirtual |
magnitude of momentum vector
Implements reco::Candidate.
Definition at line 150 of file PackedGenParticle.h.
References p4c_, and unpack().
Referenced by dz(), and Electron.Electron::ptErr().
|
inlinevirtual |
four-momentum Lorentz vecto r
Implements reco::Candidate.
Definition at line 141 of file PackedGenParticle.h.
References p4c_, and unpack().
Referenced by Tau.Tau::dxy_approx(), Tau.Tau::dz(), overlap(), Lepton.Lepton::p4WithFSR(), setP4(), and unpack().
|
protected |
Definition at line 7 of file PackedGenParticle.cc.
References MiniFloatConverter::float32to16(), hpstanc_transforms::max, p4_, p4c_, packedM_, packedPhi_, packedPt_, packedY_, and unpack().
Referenced by pyrootRender.interactiveRender::draw(), PackedGenParticle(), setMass(), setP4(), and setPz().
|
inlinevirtual |
PDG identifier.
Implements reco::Candidate.
Definition at line 233 of file PackedGenParticle.h.
References pdgId_.
Referenced by Particle.Particle::__str__(), and setPdgId().
|
inlinevirtual |
momentum azimuthal angle
Implements reco::Candidate.
Definition at line 175 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
Referenced by Particle.Particle::__str__(), ntupleDataFormat.Track::phiPull(), and unpack().
|
inlinevirtual |
four-momentum Lorentz vector
Implements reco::Candidate.
Definition at line 143 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
|
inlinevirtual |
transverse momentum
Implements reco::Candidate.
Definition at line 173 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Photon.Photon::calScaledIsoValueQuadr(), et(), et2(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), Electron.Electron::ptErr(), ntupleDataFormat.Track::ptPull(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), Jet.Jet::setCorrP4(), and unpack().
|
inlinevirtual |
x coordinate of momentum vector
Implements reco::Candidate.
Definition at line 167 of file PackedGenParticle.h.
References p4c_, and unpack().
|
inlinevirtual |
y coordinate of momentum vector
Implements reco::Candidate.
Definition at line 169 of file PackedGenParticle.h.
References p4c_, and unpack().
|
inlinevirtual |
z coordinate of momentum vector
Implements reco::Candidate.
Definition at line 171 of file PackedGenParticle.h.
References p4c_, and unpack().
Referenced by setPz(), and unpack().
|
inlinevirtual |
rapidity
Implements reco::Candidate.
Definition at line 181 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
|
inlinevirtual |
set electric charge
Implements reco::Candidate.
Definition at line 135 of file PackedGenParticle.h.
References charge(), and charge_.
|
inlinevirtual |
set long lived flag
Implements reco::Candidate.
Definition at line 243 of file PackedGenParticle.h.
References longLived().
|
inlinevirtual |
set particle mass
Implements reco::Candidate.
Definition at line 197 of file PackedGenParticle.h.
References funct::m, p4_, p4c_, pack(), and unpack().
|
inlinevirtual |
set mass constraint flag
Implements reco::Candidate.
Definition at line 249 of file PackedGenParticle.h.
References massConstraint().
|
inlinevirtual |
set 4-momentum
Implements reco::Candidate.
Definition at line 185 of file PackedGenParticle.h.
References p4_, pack(), and unpack().
Referenced by Jet.Jet::setCorrP4().
|
inlinevirtual |
set 4-momentum
Definition at line 191 of file PackedGenParticle.h.
References p4(), p4_, pack(), and unpack().
Referenced by Jet.Jet::setCorrP4().
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 235 of file PackedGenParticle.h.
References pdgId(), and pdgId_.
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 202 of file PackedGenParticle.h.
References p4_, p4c_, pack(), pz(), and unpack().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
set vertex
Definition at line 217 of file PackedGenParticle.h.
References vertex(), and vertex_.
|
inlinevirtual |
return a Ptr to one of the source Candidates ( the candidates used to construct this Candidate)
Reimplemented from reco::Candidate.
Definition at line 126 of file PackedGenParticle.h.
|
inlinevirtual |
status word
Implements reco::Candidate.
Definition at line 237 of file PackedGenParticle.h.
Referenced by fromHardProcessFinalState(), isDirectHardProcessTauDecayProductFinalState(), isDirectPromptTauDecayProductFinalState(), and isPromptFinalState().
|
inline |
Definition at line 304 of file PackedGenParticle.h.
References statusFlags_.
|
inline |
Definition at line 305 of file PackedGenParticle.h.
References statusFlags_.
|
inlinevirtual |
momentum polar angle
Implements reco::Candidate.
Definition at line 177 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
Referenced by Tau.Tau::zImpact().
|
inlinevirtual |
electric charge
Implements reco::Candidate.
Definition at line 137 of file PackedGenParticle.h.
References charge().
|
protected |
Definition at line 20 of file PackedGenParticle.cc.
References eta(), MiniFloatConverter::float16to32(), createfilelist::int, funct::m, hpstanc_transforms::max, p4(), p4_, p4c_, packedM_, packedPhi_, packedPt_, packedY_, phi(), pt(), pz(), edm::shift, Validation_hcalonly_cfi::sign, mathSSE::sqrt(), and y().
Referenced by boostToCM(), dxy(), dz(), energy(), eta(), mass(), massSqr(), momentum(), mt(), mtSqr(), p(), p4(), pack(), phi(), polarP4(), pt(), px(), py(), pz(), rapidity(), setMass(), setP4(), setPz(), theta(), and y().
|
inlinevirtual |
vertex position
Implements reco::Candidate.
Definition at line 209 of file PackedGenParticle.h.
References vertex_.
Referenced by Tau.Tau::dxy(), overlap(), and setVertex().
|
virtual |
chi-squares
Implements reco::Candidate.
Definition at line 123 of file PackedGenParticle.cc.
Referenced by clone().
|
virtual |
(i, j)-th element of error matrix, i, j = 0, ... 2
Implements reco::Candidate.
Definition at line 135 of file PackedGenParticle.cc.
References Exception, and edm::errors::UnimplementedFeature.
|
inlinevirtual |
return SMatrix
Reimplemented from reco::Candidate.
Definition at line 272 of file PackedGenParticle.h.
References fillVertexCovariance(), hasMasterClone(), hasMasterClonePtr(), funct::m, masterClone(), masterClonePtr(), and findQualityFiles::v.
Referenced by clone().
|
virtual |
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 127 of file PackedGenParticle.cc.
Referenced by clone().
|
virtual |
chi-squared divided by n.d.o.f.
Implements reco::Candidate.
Definition at line 131 of file PackedGenParticle.cc.
Referenced by clone().
|
inlinevirtual |
x coordinate of vertex position
Implements reco::Candidate.
Definition at line 211 of file PackedGenParticle.h.
References vertex_.
|
inlinevirtual |
y coordinate of vertex position
Implements reco::Candidate.
Definition at line 213 of file PackedGenParticle.h.
References vertex_.
|
inlinevirtual |
z coordinate of vertex position
Implements reco::Candidate.
Definition at line 215 of file PackedGenParticle.h.
References vertex_.
|
inlinevirtual |
rapidity
Implements reco::Candidate.
Definition at line 183 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
Referenced by svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), geometryXMLparser.Alignable::pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), ntupleDataFormat._HitObject::r(), ntupleDataFormat._HitObject::r3D(), and unpack().
|
friend |
Definition at line 362 of file PackedGenParticle.h.
|
friend |
Definition at line 21 of file PackedGenParticle.h.
|
friend |
Definition at line 361 of file PackedGenParticle.h.
|
friend |
Definition at line 363 of file PackedGenParticle.h.
|
friend |
Definition at line 364 of file PackedGenParticle.h.
|
protected |
Charge.
Definition at line 353 of file PackedGenParticle.h.
Referenced by charge(), operator=(), and setCharge().
|
protected |
Definition at line 349 of file PackedGenParticle.h.
Referenced by operator=().
|
protected |
Definition at line 349 of file PackedGenParticle.h.
Referenced by dxy(), and operator=().
|
protected |
Definition at line 349 of file PackedGenParticle.h.
Referenced by dz(), and operator=().
|
static |
long lived flag
Definition at line 241 of file PackedGenParticle.h.
|
static |
do mass constraint flag
Definition at line 247 of file PackedGenParticle.h.
|
protected |
Ref to first mother.
Definition at line 355 of file PackedGenParticle.h.
Referenced by mother(), motherRef(), numberOfMothers(), and operator=().
|
mutableprotected |
the four vector
Definition at line 345 of file PackedGenParticle.h.
Referenced by dxy(), dz(), eta(), mass(), massSqr(), mt(), mtSqr(), operator=(), pack(), PackedGenParticle(), phi(), polarP4(), pt(), rapidity(), setMass(), setP4(), setPz(), theta(), unpack(), y(), and ~PackedGenParticle().
|
mutableprotected |
Definition at line 346 of file PackedGenParticle.h.
Referenced by boostToCM(), energy(), et(), et2(), eta(), mass(), massSqr(), momentum(), mt(), mtSqr(), operator=(), p(), p4(), pack(), PackedGenParticle(), phi(), polarP4(), pt(), px(), py(), pz(), rapidity(), setMass(), setPz(), theta(), unpack(), y(), and ~PackedGenParticle().
|
protected |
Definition at line 340 of file PackedGenParticle.h.
Referenced by operator=(), pack(), and unpack().
|
protected |
Definition at line 340 of file PackedGenParticle.h.
Referenced by operator=(), pack(), and unpack().
|
protected |
Definition at line 340 of file PackedGenParticle.h.
Referenced by operator=(), pack(), and unpack().
|
protected |
Definition at line 340 of file PackedGenParticle.h.
Referenced by operator=(), pack(), and unpack().
|
protected |
PDG identifier.
Definition at line 351 of file PackedGenParticle.h.
Referenced by operator=(), pdgId(), and setPdgId().
|
protected |
Definition at line 357 of file PackedGenParticle.h.
Referenced by fromHardProcessFinalState(), isDirectHardProcessTauDecayProductFinalState(), isDirectPromptTauDecayProductFinalState(), isPromptFinalState(), operator=(), and statusFlags().
|
protected |
vertex position
Definition at line 348 of file PackedGenParticle.h.
Referenced by dxy(), dz(), operator=(), setVertex(), vertex(), vx(), vy(), and vz().