#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 | |
Vector | boostToCM () const override |
int | charge () const override |
electric charge More... | |
PackedGenParticle * | clone () const override |
returns a clone of the Candidate object More... | |
const reco::Candidate * | daughter (size_type) const override |
return daughter at a given position (throws an exception) More... | |
reco::Candidate * | daughter (size_type) override |
return daughter at a given position (throws an exception) More... | |
reco::Candidate * | daughter (const std::string &s) override |
return daughter with a specified role name More... | |
const reco::Candidate * | daughter (const std::string &s) const override |
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... | |
double | energy () const override |
energy More... | |
double | et () const override |
transverse energy More... | |
double | et2 () const override |
transverse energy squared (use this for cuts)! More... | |
double | eta () const override |
momentum pseudorapidity More... | |
void | fillVertexCovariance (CovarianceMatrix &v) const override |
fill SMatrix More... | |
bool | fromHardProcessFinalState () const |
bool | hasMasterClone () const override |
bool | hasMasterClonePtr () const override |
bool | isCaloMuon () const override |
bool | isConvertedPhoton () const override |
bool | isDirectHardProcessTauDecayProductFinalState () const |
bool | isDirectPromptTauDecayProductFinalState () const |
bool | isElectron () const override |
get a component More... | |
bool | isGlobalMuon () const override |
bool | isJet () const override |
bool | isMuon () const override |
bool | isPhoton () const override |
bool | isPromptFinalState () const |
bool | isStandAloneMuon () const override |
bool | isTrackerMuon () const override |
const reco::GenParticleRef & | lastPrunedRef () const |
last surviving in pruned More... | |
bool | longLived () const override |
is long lived? More... | |
double | mass () const override |
mass More... | |
bool | massConstraint () const override |
do mass constraint? More... | |
double | massSqr () const override |
mass squared More... | |
const reco::CandidateBaseRef & | masterClone () const override |
const reco::CandidatePtr & | masterClonePtr () const override |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
Vector | momentum () const override |
spatial momentum vector More... | |
const reco::Candidate * | mother (size_type) const override |
return mother at a given position (throws an exception) More... | |
reco::GenParticleRef | motherRef () const |
direct access to the mother reference (may be null) More... | |
double | mt () const override |
transverse mass More... | |
double | mtSqr () const override |
transverse mass squared More... | |
size_t | numberOfDaughters () const override |
number of daughters More... | |
size_t | numberOfMothers () const override |
number of mothers More... | |
size_t | numberOfSourceCandidatePtrs () const override |
PackedGenParticle & | operator= (PackedGenParticle &&iOther) |
PackedGenParticle & | operator= (PackedGenParticle const &iOther) |
double | p () const override |
magnitude of momentum vector More... | |
const LorentzVector & | p4 () const override |
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) | |
int | pdgId () const override |
PDG identifier. More... | |
double | phi () const override |
momentum azimuthal angle More... | |
const PolarLorentzVector & | polarP4 () const override |
four-momentum Lorentz vector More... | |
double | pt () const override |
transverse momentum More... | |
double | px () const override |
x coordinate of momentum vector More... | |
double | py () const override |
y coordinate of momentum vector More... | |
double | pz () const override |
z coordinate of momentum vector More... | |
double | rapidity () const override |
rapidity More... | |
void | setCharge (int charge) override |
set electric charge More... | |
void | setLongLived () override |
set long lived flag More... | |
void | setMass (double m) override |
set particle mass More... | |
void | setMassConstraint () override |
set mass constraint flag More... | |
void | setP4 (const LorentzVector &p4) override |
set 4-momentum More... | |
void | setP4 (const PolarLorentzVector &p4) override |
set 4-momentum More... | |
void | setPdgId (int pdgId) override |
void | setPz (double pz) override |
void | setStatus (int status) override |
set status word More... | |
void | setThreeCharge (int threecharge) override |
set electric charge More... | |
void | setVertex (const Point &vertex) override |
set vertex More... | |
reco::CandidatePtr | sourceCandidatePtr (size_type i) const override |
int | status () const override |
status word More... | |
const reco::GenStatusFlags & | statusFlags () const |
reco::GenStatusFlags & | statusFlags () |
double | theta () const override |
momentum polar angle More... | |
int | threeCharge () const override |
electric charge More... | |
const Point & | vertex () const override |
vertex position More... | |
double | vertexChi2 () const override |
chi-squares More... | |
double | vertexCovariance (int i, int j) const override |
(i, j)-th element of error matrix, i, j = 0, ... 2 More... | |
CovarianceMatrix | vertexCovariance () const override |
return SMatrix More... | |
double | vertexNdof () const override |
double | vertexNormalizedChi2 () const override |
chi-squared divided by n.d.o.f. More... | |
double | vx () const override |
x coordinate of vertex position More... | |
double | vy () const override |
y coordinate of vertex position More... | |
double | vz () const override |
z coordinate of vertex position More... | |
double | y () const override |
rapidity More... | |
~PackedGenParticle () override | |
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 | |
bool | overlap (const reco::Candidate &) const override |
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.
|
override |
destructor
Definition at line 44 of file PackedGenParticle.cc.
Referenced by operator=().
|
inlineoverridevirtual |
boost vector to boost a Lorentz vector to the particle center of mass system
Implements reco::Candidate.
Definition at line 159 of file PackedGenParticle.h.
References p4c_, and unpack().
|
inlineoverridevirtual |
electric charge
Implements reco::Candidate.
Definition at line 142 of file PackedGenParticle.h.
References charge_.
Referenced by overlap(), setCharge(), and threeCharge().
|
inlineoverridevirtual |
returns a clone of the Candidate object
Implements reco::Candidate.
Definition at line 265 of file PackedGenParticle.h.
References mps_fire::i, PackedGenParticle(), vertexChi2(), vertexCovariance(), vertexNdof(), and vertexNormalizedChi2().
|
overridevirtual |
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Definition at line 97 of file PackedGenParticle.cc.
Referenced by lastPrunedRef(), and operator=().
|
overridevirtual |
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Definition at line 119 of file PackedGenParticle.cc.
|
overridevirtual |
return daughter with a specified role name
Implements reco::Candidate.
Definition at line 111 of file PackedGenParticle.cc.
References Exception, and edm::errors::UnimplementedFeature.
|
overridevirtual |
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 234 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 236 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().
|
inlineoverridevirtual |
energy
Implements reco::Candidate.
Definition at line 163 of file PackedGenParticle.h.
References p4c_, and unpack().
Referenced by Jet.Jet::rawEnergy().
|
inlineoverridevirtual |
transverse energy
Implements reco::Candidate.
Definition at line 165 of file PackedGenParticle.h.
|
inlineoverridevirtual |
transverse energy squared (use this for cuts)!
Implements reco::Candidate.
Definition at line 167 of file PackedGenParticle.h.
|
inlineoverridevirtual |
momentum pseudorapidity
Implements reco::Candidate.
Definition at line 190 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), Jet.Jet::puJetId(), and unpack().
|
overridevirtual |
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 343 of file PackedGenParticle.h.
References reco::GenStatusFlags::fromHardProcess(), status(), and statusFlags_.
|
overridevirtual |
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().
|
overridevirtual |
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().
|
overridevirtual |
Implements reco::Candidate.
Definition at line 155 of file PackedGenParticle.cc.
Referenced by masterRef().
|
overridevirtual |
Implements reco::Candidate.
Definition at line 159 of file PackedGenParticle.cc.
Referenced by masterRef().
|
inline |
Definition at line 347 of file PackedGenParticle.h.
References reco::GenStatusFlags::isDirectHardProcessTauDecayProduct(), status(), and statusFlags_.
|
inline |
Definition at line 332 of file PackedGenParticle.h.
References reco::GenStatusFlags::isDirectPromptTauDecayProduct(), status(), and statusFlags_.
|
overridevirtual |
get a component
Implements reco::Candidate.
Definition at line 145 of file PackedGenParticle.cc.
Referenced by masterRef().
|
overridevirtual |
Implements reco::Candidate.
Definition at line 149 of file PackedGenParticle.cc.
Referenced by masterRef(), and Muon.Muon::muonID().
|
overridevirtual |
Implements reco::Candidate.
Definition at line 161 of file PackedGenParticle.cc.
Referenced by masterRef().
|
overridevirtual |
Implements reco::Candidate.
Definition at line 147 of file PackedGenParticle.cc.
Referenced by masterRef().
|
overridevirtual |
Implements reco::Candidate.
Definition at line 157 of file PackedGenParticle.cc.
Referenced by masterRef().
|
inline |
Definition at line 328 of file PackedGenParticle.h.
References reco::GenStatusFlags::isPrompt(), status(), and statusFlags_.
|
overridevirtual |
Implements reco::Candidate.
Definition at line 151 of file PackedGenParticle.cc.
Referenced by masterRef().
|
overridevirtual |
Implements reco::Candidate.
Definition at line 153 of file PackedGenParticle.cc.
Referenced by masterRef().
|
inline |
last surviving in pruned
Definition at line 124 of file PackedGenParticle.h.
References daughter(), mother_, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
is long lived?
Implements reco::Candidate.
Definition at line 163 of file PackedGenParticle.cc.
Referenced by setLongLived().
|
inlineoverridevirtual |
mass
Implements reco::Candidate.
Definition at line 169 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
Referenced by Particle.Particle::__str__(), and DiObject.DiMuon::__str__().
|
overridevirtual |
do mass constraint?
Implements reco::Candidate.
Definition at line 165 of file PackedGenParticle.cc.
Referenced by setMassConstraint().
|
inlineoverridevirtual |
mass squared
Implements reco::Candidate.
Definition at line 171 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
|
overridevirtual |
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().
|
overridevirtual |
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 302 of file PackedGenParticle.h.
References isCaloMuon(), isConvertedPhoton(), isElectron(), isGlobalMuon(), isJet(), isMuon(), isPhoton(), isStandAloneMuon(), isTrackerMuon(), and masterClone().
|
inlineoverridevirtual |
spatial momentum vector
Implements reco::Candidate.
Definition at line 156 of file PackedGenParticle.h.
References p4c_, and unpack().
|
overridevirtual |
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 motherRef().
Referenced by operator=().
|
inline |
direct access to the mother reference (may be null)
Definition at line 113 of file PackedGenParticle.h.
References edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNonnull(), and mother_.
Referenced by mother(), and numberOfMothers().
|
inlineoverridevirtual |
transverse mass
Implements reco::Candidate.
Definition at line 174 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
|
inlineoverridevirtual |
transverse mass squared
Implements reco::Candidate.
Definition at line 176 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
|
overridevirtual |
number of daughters
Implements reco::Candidate.
Definition at line 83 of file PackedGenParticle.cc.
Referenced by operator=().
|
overridevirtual |
number of mothers
Implements reco::Candidate.
Definition at line 87 of file PackedGenParticle.cc.
References motherRef().
Referenced by operator=().
|
inlineoverridevirtual |
return the number of source Candidates ( the candidates used to construct this Candidate)
Implements reco::Candidate.
Definition at line 134 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().
|
overrideprotectedvirtual |
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().
|
inlineoverridevirtual |
magnitude of momentum vector
Implements reco::Candidate.
Definition at line 161 of file PackedGenParticle.h.
References p4c_, and unpack().
Referenced by dz(), and Electron.Electron::ptErr().
|
inlineoverridevirtual |
four-momentum Lorentz vecto r
Implements reco::Candidate.
Definition at line 152 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(), SiStripPI::max, p4_, p4c_, packedM_, packedPhi_, packedPt_, packedY_, and unpack().
Referenced by pyrootRender.interactiveRender::draw(), PackedGenParticle(), setMass(), setP4(), and setPz().
|
inlineoverridevirtual |
PDG identifier.
Implements reco::Candidate.
Definition at line 244 of file PackedGenParticle.h.
References pdgId_.
Referenced by Particle.Particle::__str__(), and setPdgId().
|
inlineoverridevirtual |
momentum azimuthal angle
Implements reco::Candidate.
Definition at line 186 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
Referenced by Particle.Particle::__str__(), ntupleDataFormat.Track::phiPull(), and unpack().
|
inlineoverridevirtual |
four-momentum Lorentz vector
Implements reco::Candidate.
Definition at line 154 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
|
inlineoverridevirtual |
transverse momentum
Implements reco::Candidate.
Definition at line 184 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().
|
inlineoverridevirtual |
x coordinate of momentum vector
Implements reco::Candidate.
Definition at line 178 of file PackedGenParticle.h.
References p4c_, and unpack().
|
inlineoverridevirtual |
y coordinate of momentum vector
Implements reco::Candidate.
Definition at line 180 of file PackedGenParticle.h.
References p4c_, and unpack().
|
inlineoverridevirtual |
z coordinate of momentum vector
Implements reco::Candidate.
Definition at line 182 of file PackedGenParticle.h.
References p4c_, and unpack().
Referenced by setPz(), and unpack().
|
inlineoverridevirtual |
rapidity
Implements reco::Candidate.
Definition at line 192 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
|
inlineoverridevirtual |
set electric charge
Implements reco::Candidate.
Definition at line 146 of file PackedGenParticle.h.
References charge(), and charge_.
|
inlineoverridevirtual |
set long lived flag
Implements reco::Candidate.
Definition at line 254 of file PackedGenParticle.h.
References longLived().
|
inlineoverridevirtual |
set particle mass
Implements reco::Candidate.
Definition at line 208 of file PackedGenParticle.h.
References funct::m, p4_, p4c_, pack(), and unpack().
|
inlineoverridevirtual |
set mass constraint flag
Implements reco::Candidate.
Definition at line 260 of file PackedGenParticle.h.
References massConstraint().
|
inlineoverridevirtual |
set 4-momentum
Implements reco::Candidate.
Definition at line 196 of file PackedGenParticle.h.
References p4_, pack(), and unpack().
Referenced by Jet.Jet::setCorrP4().
|
inlineoverride |
set 4-momentum
Definition at line 202 of file PackedGenParticle.h.
References p4(), p4_, pack(), and unpack().
Referenced by Jet.Jet::setCorrP4().
|
inlineoverridevirtual |
Implements reco::Candidate.
Definition at line 246 of file PackedGenParticle.h.
References pdgId(), and pdgId_.
|
inlineoverridevirtual |
Implements reco::Candidate.
Definition at line 213 of file PackedGenParticle.h.
References p4_, p4c_, pack(), pz(), and unpack().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverride |
set vertex
Definition at line 228 of file PackedGenParticle.h.
References vertex(), and vertex_.
|
inlineoverridevirtual |
return a Ptr to one of the source Candidates ( the candidates used to construct this Candidate)
Reimplemented from reco::Candidate.
Definition at line 137 of file PackedGenParticle.h.
|
inlineoverridevirtual |
status word
Implements reco::Candidate.
Definition at line 248 of file PackedGenParticle.h.
Referenced by fromHardProcessFinalState(), isDirectHardProcessTauDecayProductFinalState(), isDirectPromptTauDecayProductFinalState(), and isPromptFinalState().
|
inline |
Definition at line 315 of file PackedGenParticle.h.
References statusFlags_.
|
inline |
Definition at line 316 of file PackedGenParticle.h.
References statusFlags_.
|
inlineoverridevirtual |
momentum polar angle
Implements reco::Candidate.
Definition at line 188 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
Referenced by Tau.Tau::zImpact().
|
inlineoverridevirtual |
electric charge
Implements reco::Candidate.
Definition at line 148 of file PackedGenParticle.h.
References charge().
|
protected |
Definition at line 20 of file PackedGenParticle.cc.
References eta(), MiniFloatConverter::float16to32(), createfilelist::int, funct::m, SiStripPI::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().
|
inlineoverridevirtual |
vertex position
Implements reco::Candidate.
Definition at line 220 of file PackedGenParticle.h.
References vertex_.
Referenced by Tau.Tau::dxy(), overlap(), and setVertex().
|
overridevirtual |
chi-squares
Implements reco::Candidate.
Definition at line 123 of file PackedGenParticle.cc.
Referenced by clone().
|
overridevirtual |
(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.
|
inlineoverridevirtual |
return SMatrix
Reimplemented from reco::Candidate.
Definition at line 283 of file PackedGenParticle.h.
References fillVertexCovariance(), hasMasterClone(), hasMasterClonePtr(), funct::m, masterClone(), masterClonePtr(), and findQualityFiles::v.
Referenced by clone().
|
overridevirtual |
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().
|
overridevirtual |
chi-squared divided by n.d.o.f.
Implements reco::Candidate.
Definition at line 131 of file PackedGenParticle.cc.
Referenced by clone().
|
inlineoverridevirtual |
x coordinate of vertex position
Implements reco::Candidate.
Definition at line 222 of file PackedGenParticle.h.
References vertex_.
|
inlineoverridevirtual |
y coordinate of vertex position
Implements reco::Candidate.
Definition at line 224 of file PackedGenParticle.h.
References vertex_.
|
inlineoverridevirtual |
z coordinate of vertex position
Implements reco::Candidate.
Definition at line 226 of file PackedGenParticle.h.
References vertex_.
|
inlineoverridevirtual |
rapidity
Implements reco::Candidate.
Definition at line 194 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 373 of file PackedGenParticle.h.
|
friend |
Definition at line 21 of file PackedGenParticle.h.
|
friend |
Definition at line 372 of file PackedGenParticle.h.
|
friend |
Definition at line 374 of file PackedGenParticle.h.
|
friend |
Definition at line 375 of file PackedGenParticle.h.
|
protected |
Charge.
Definition at line 364 of file PackedGenParticle.h.
Referenced by charge(), operator=(), and setCharge().
|
protected |
Definition at line 360 of file PackedGenParticle.h.
Referenced by operator=().
|
protected |
Definition at line 360 of file PackedGenParticle.h.
Referenced by dxy(), and operator=().
|
protected |
Definition at line 360 of file PackedGenParticle.h.
Referenced by dz(), and operator=().
|
static |
long lived flag
Definition at line 252 of file PackedGenParticle.h.
|
static |
do mass constraint flag
Definition at line 258 of file PackedGenParticle.h.
|
protected |
Ref to first mother.
Definition at line 366 of file PackedGenParticle.h.
Referenced by lastPrunedRef(), motherRef(), and operator=().
|
mutableprotected |
the four vector
Definition at line 356 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 357 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 351 of file PackedGenParticle.h.
Referenced by operator=(), pack(), and unpack().
|
protected |
Definition at line 351 of file PackedGenParticle.h.
Referenced by operator=(), pack(), and unpack().
|
protected |
Definition at line 351 of file PackedGenParticle.h.
Referenced by operator=(), pack(), and unpack().
|
protected |
Definition at line 351 of file PackedGenParticle.h.
Referenced by operator=(), pack(), and unpack().
|
protected |
PDG identifier.
Definition at line 362 of file PackedGenParticle.h.
Referenced by operator=(), pdgId(), and setPdgId().
|
protected |
Definition at line 368 of file PackedGenParticle.h.
Referenced by fromHardProcessFinalState(), isDirectHardProcessTauDecayProductFinalState(), isDirectPromptTauDecayProductFinalState(), isPromptFinalState(), operator=(), and statusFlags().
|
protected |
vertex position
Definition at line 359 of file PackedGenParticle.h.
Referenced by dxy(), dz(), operator=(), setVertex(), vertex(), vx(), vy(), and vz().