#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 | ~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 47 of file PackedGenParticle.h.
References pack().
|
inlineexplicit |
Definition at line 57 of file PackedGenParticle.h.
References pack().
|
inline |
Definition at line 68 of file PackedGenParticle.h.
|
inline |
Definition at line 89 of file PackedGenParticle.h.
|
override |
destructor
Definition at line 42 of file PackedGenParticle.cc.
|
inlineoverridevirtual |
boost vector to boost a Lorentz vector to the particle center of mass system
Implements reco::Candidate.
Definition at line 207 of file PackedGenParticle.h.
References p4c_, and unpack().
|
inlineoverridevirtual |
electric charge
Implements reco::Candidate.
Definition at line 180 of file PackedGenParticle.h.
References charge_.
Referenced by setCharge(), and threeCharge().
|
inlineoverridevirtual |
returns a clone of the Candidate object
Implements reco::Candidate.
Definition at line 384 of file PackedGenParticle.h.
References PackedGenParticle().
|
overridevirtual |
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Definition at line 88 of file PackedGenParticle.cc.
|
overridevirtual |
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Definition at line 104 of file PackedGenParticle.cc.
|
overridevirtual |
return daughter with a specified role name
Implements reco::Candidate.
Definition at line 98 of file PackedGenParticle.cc.
References Exception, and edm::errors::UnimplementedFeature.
|
overridevirtual |
return daughter with a specified role name
Implements reco::Candidate.
Definition at line 92 of file PackedGenParticle.cc.
References Exception, and edm::errors::UnimplementedFeature.
|
inlinevirtual |
dxy with respect to the PV ref
Definition at line 348 of file PackedGenParticle.h.
References dxy_, and unpack().
Referenced by Electron.Electron::cutBasedId(), and ntupleDataFormat.Track::dxyPull().
|
virtual |
dxy with respect to another point
Definition at line 47 of file PackedGenParticle.cc.
References funct::cos(), AlCaHLTBitMon_ParallelJobs::p, funct::sin(), and BeamSpotPI::unpack().
Referenced by Electron.Electron::cutBasedId(), and ntupleDataFormat.Track::dxyPull().
|
inlinevirtual |
dz with respect to the PV ref
Definition at line 353 of file PackedGenParticle.h.
Referenced by Electron.Electron::cutBasedId(), and ntupleDataFormat.Track::dzPull().
|
virtual |
dz with respect to another point
Definition at line 52 of file PackedGenParticle.cc.
References funct::cos(), AlCaHLTBitMon_ParallelJobs::p, funct::sin(), and BeamSpotPI::unpack().
Referenced by Electron.Electron::cutBasedId(), and ntupleDataFormat.Track::dzPull().
|
inlineoverridevirtual |
energy
Implements reco::Candidate.
Definition at line 219 of file PackedGenParticle.h.
References p4c_, and unpack().
Referenced by Jet.Jet::rawEnergy().
|
inlineoverridevirtual |
transverse energy
Implements reco::Candidate.
Definition at line 225 of file PackedGenParticle.h.
|
inlineoverridevirtual |
transverse energy squared (use this for cuts)!
Implements reco::Candidate.
Definition at line 227 of file PackedGenParticle.h.
|
inlineoverridevirtual |
momentum pseudorapidity
Implements reco::Candidate.
Definition at line 290 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
|
overridevirtual |
fill SMatrix
Implements reco::Candidate.
Definition at line 117 of file PackedGenParticle.cc.
References Exception, and edm::errors::UnimplementedFeature.
Referenced by vertexCovariance().
|
inline |
Definition at line 468 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 66 of file PackedGenParticle.cc.
|
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 68 of file PackedGenParticle.cc.
|
overridevirtual |
Implements reco::Candidate.
Definition at line 132 of file PackedGenParticle.cc.
|
overridevirtual |
Implements reco::Candidate.
Definition at line 136 of file PackedGenParticle.cc.
|
inline |
Definition at line 472 of file PackedGenParticle.h.
References reco::GenStatusFlags::isDirectHardProcessTauDecayProduct(), status(), and statusFlags_.
|
inline |
Definition at line 455 of file PackedGenParticle.h.
References reco::GenStatusFlags::isDirectPromptTauDecayProduct(), status(), and statusFlags_.
|
overridevirtual |
|
overridevirtual |
Implements reco::Candidate.
Definition at line 126 of file PackedGenParticle.cc.
Referenced by Muon.Muon::muonID().
|
overridevirtual |
Implements reco::Candidate.
Definition at line 138 of file PackedGenParticle.cc.
|
overridevirtual |
Implements reco::Candidate.
Definition at line 124 of file PackedGenParticle.cc.
|
overridevirtual |
Implements reco::Candidate.
Definition at line 134 of file PackedGenParticle.cc.
|
inline |
Definition at line 451 of file PackedGenParticle.h.
References reco::GenStatusFlags::isPrompt(), status(), and statusFlags_.
|
overridevirtual |
Implements reco::Candidate.
Definition at line 128 of file PackedGenParticle.cc.
|
overridevirtual |
Implements reco::Candidate.
Definition at line 130 of file PackedGenParticle.cc.
|
inline |
last surviving in pruned
Definition at line 164 of file PackedGenParticle.h.
References mother_.
|
overridevirtual |
|
inlineoverridevirtual |
mass
Implements reco::Candidate.
Definition at line 229 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 142 of file PackedGenParticle.cc.
|
inlineoverridevirtual |
mass squared
Implements reco::Candidate.
Definition at line 235 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 61 of file PackedGenParticle.cc.
References Exception.
Referenced by masterRef().
|
overridevirtual |
returns ptr to master clone, if existing. Throws an exception unless the concrete Candidate type is ShallowClonePtrCandidate
Implements reco::Candidate.
Definition at line 70 of file PackedGenParticle.cc.
References Exception.
|
inline |
cast master clone reference to a concrete type
Definition at line 423 of file PackedGenParticle.h.
References masterClone().
|
inlineoverridevirtual |
spatial momentum vector
Implements reco::Candidate.
Definition at line 200 of file PackedGenParticle.h.
References p4c_, and unpack().
|
overridevirtual |
return mother at a given position (throws an exception)
Implements reco::Candidate.
Definition at line 90 of file PackedGenParticle.cc.
References reco::Candidate::get().
|
inline |
direct access to the mother reference (may be null)
Definition at line 152 of file PackedGenParticle.h.
References edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNonnull(), and mother_.
|
inlineoverridevirtual |
transverse mass
Implements reco::Candidate.
Definition at line 242 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
|
inlineoverridevirtual |
transverse mass squared
Implements reco::Candidate.
Definition at line 248 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
|
overridevirtual |
|
overridevirtual |
number of mothers
Implements reco::Candidate.
Definition at line 77 of file PackedGenParticle.cc.
|
inlineoverridevirtual |
return the number of source Candidates ( the candidates used to construct this Candidate)
Implements reco::Candidate.
Definition at line 174 of file PackedGenParticle.h.
|
inline |
Definition at line 110 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 135 of file PackedGenParticle.h.
References HltBtagPostValidation_cff::c, and eostools::move().
|
overrideprotectedvirtual |
check overlap with another Candidate
Implements reco::Candidate.
Definition at line 83 of file PackedGenParticle.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, EcalTangentSkim_cfg::o, and bphysicsOniaDQM_cfi::vertex.
|
inlineoverridevirtual |
magnitude of momentum vector
Implements reco::Candidate.
Definition at line 213 of file PackedGenParticle.h.
References p4c_, and unpack().
Referenced by Electron.Electron::ptErr().
|
inlineoverridevirtual |
four-momentum Lorentz vecto r
Implements reco::Candidate.
Definition at line 188 of file PackedGenParticle.h.
References p4c_, and unpack().
Referenced by Tau.Tau::dxy_approx(), Tau.Tau::dz(), Lepton.Lepton::p4WithFSR(), and setP4().
|
protected |
Definition at line 5 of file PackedGenParticle.cc.
References MiniFloatConverter::float32to16(), SiStripPI::max, p4_, p4c_, packedM_, packedPhi_, packedPt_, packedY_, and unpack().
Referenced by PackedGenParticle(), setMass(), setP4(), and setPz().
|
inlineoverridevirtual |
PDG identifier.
Implements reco::Candidate.
Definition at line 363 of file PackedGenParticle.h.
References pdgId_.
Referenced by Particle.Particle::__str__(), and setPdgId().
|
inlineoverridevirtual |
momentum azimuthal angle
Implements reco::Candidate.
Definition at line 278 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
Referenced by Particle.Particle::__str__(), and ntupleDataFormat.Track::phiPull().
|
inlineoverridevirtual |
four-momentum Lorentz vector
Implements reco::Candidate.
Definition at line 194 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
|
inlineoverridevirtual |
transverse momentum
Implements reco::Candidate.
Definition at line 272 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(), and Jet.Jet::setCorrP4().
|
inlineoverridevirtual |
x coordinate of momentum vector
Implements reco::Candidate.
Definition at line 254 of file PackedGenParticle.h.
References p4c_, and unpack().
|
inlineoverridevirtual |
y coordinate of momentum vector
Implements reco::Candidate.
Definition at line 260 of file PackedGenParticle.h.
References p4c_, and unpack().
|
inlineoverridevirtual |
z coordinate of momentum vector
Implements reco::Candidate.
Definition at line 266 of file PackedGenParticle.h.
References p4c_, and unpack().
Referenced by setPz().
|
inlineoverridevirtual |
rapidity
Implements reco::Candidate.
Definition at line 296 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
|
inlineoverridevirtual |
set electric charge
Implements reco::Candidate.
Definition at line 182 of file PackedGenParticle.h.
References charge(), and charge_.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
set particle mass
Implements reco::Candidate.
Definition at line 320 of file PackedGenParticle.h.
References visualization-live-secondInstance_cfg::m, p4_, p4c_, pack(), and unpack().
|
inlineoverridevirtual |
set mass constraint flag
Implements reco::Candidate.
Definition at line 379 of file PackedGenParticle.h.
|
inlineoverridevirtual |
set 4-momentum
Implements reco::Candidate.
Definition at line 308 of file PackedGenParticle.h.
References p4(), p4_, pack(), and unpack().
Referenced by Jet.Jet::setCorrP4().
|
inlineoverride |
set 4-momentum
Definition at line 314 of file PackedGenParticle.h.
References p4(), p4_, pack(), and unpack().
Referenced by Jet.Jet::setCorrP4().
|
inlineoverridevirtual |
Implements reco::Candidate.
Definition at line 365 of file PackedGenParticle.h.
References pdgId(), and pdgId_.
|
inlineoverridevirtual |
Implements reco::Candidate.
Definition at line 326 of file PackedGenParticle.h.
References p4_, p4c_, pack(), pz(), and unpack().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
set vertex
Implements reco::Candidate.
Definition at line 343 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 177 of file PackedGenParticle.h.
|
inlineoverridevirtual |
status word
Implements reco::Candidate.
Definition at line 367 of file PackedGenParticle.h.
Referenced by fromHardProcessFinalState(), isDirectHardProcessTauDecayProductFinalState(), isDirectPromptTauDecayProductFinalState(), and isPromptFinalState().
|
inline |
Definition at line 438 of file PackedGenParticle.h.
References statusFlags_.
|
inline |
Definition at line 439 of file PackedGenParticle.h.
References statusFlags_.
|
inlineoverridevirtual |
momentum polar angle
Implements reco::Candidate.
Definition at line 284 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
Referenced by Tau.Tau::zImpact().
|
inlineoverridevirtual |
electric charge
Implements reco::Candidate.
Definition at line 184 of file PackedGenParticle.h.
References charge().
|
protected |
Definition at line 17 of file PackedGenParticle.cc.
References PVValHelper::eta, MiniFloatConverter::float16to32(), createfilelist::int, visualization-live-secondInstance_cfg::m, SiStripPI::max, phi, DiDispStaMuonMonitor_cfi::pt, edm::shift, Validation_hcalonly_cfi::sign, mathSSE::sqrt(), nnet::tanh(), 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 333 of file PackedGenParticle.h.
References vertex_.
Referenced by Tau.Tau::dxy(), and setVertex().
|
overridevirtual |
|
overridevirtual |
(i, j)-th element of error matrix, i, j = 0, ... 2
Implements reco::Candidate.
Definition at line 112 of file PackedGenParticle.cc.
References Exception, and edm::errors::UnimplementedFeature.
|
inlineoverridevirtual |
return SMatrix
Reimplemented from reco::Candidate.
Definition at line 400 of file PackedGenParticle.h.
References fillVertexCovariance(), and visualization-live-secondInstance_cfg::m.
|
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 108 of file PackedGenParticle.cc.
|
overridevirtual |
chi-squared divided by n.d.o.f.
Implements reco::Candidate.
Definition at line 110 of file PackedGenParticle.cc.
|
inlineoverridevirtual |
x coordinate of vertex position
Implements reco::Candidate.
Definition at line 337 of file PackedGenParticle.h.
References vertex_.
|
inlineoverridevirtual |
y coordinate of vertex position
Implements reco::Candidate.
Definition at line 339 of file PackedGenParticle.h.
References vertex_.
|
inlineoverridevirtual |
z coordinate of vertex position
Implements reco::Candidate.
Definition at line 341 of file PackedGenParticle.h.
References vertex_.
|
inlineoverridevirtual |
rapidity
Implements reco::Candidate.
Definition at line 302 of file PackedGenParticle.h.
References p4_, p4c_, and unpack().
Referenced by svgfig.Ellipse::__repr__(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
friend |
Definition at line 500 of file PackedGenParticle.h.
|
friend |
Definition at line 21 of file PackedGenParticle.h.
|
friend |
Definition at line 499 of file PackedGenParticle.h.
|
friend |
Definition at line 501 of file PackedGenParticle.h.
|
friend |
Definition at line 502 of file PackedGenParticle.h.
|
protected |
Charge.
Definition at line 490 of file PackedGenParticle.h.
Referenced by charge(), operator=(), and setCharge().
|
protected |
Definition at line 486 of file PackedGenParticle.h.
Referenced by operator=().
|
protected |
Definition at line 486 of file PackedGenParticle.h.
Referenced by dxy(), and operator=().
|
protected |
Definition at line 486 of file PackedGenParticle.h.
Referenced by dz(), and operator=().
|
static |
long lived flag
Definition at line 371 of file PackedGenParticle.h.
|
static |
do mass constraint flag
Definition at line 377 of file PackedGenParticle.h.
|
protected |
Ref to first mother.
Definition at line 492 of file PackedGenParticle.h.
Referenced by lastPrunedRef(), motherRef(), and operator=().
|
mutableprotected |
the four vector
Definition at line 482 of file PackedGenParticle.h.
Referenced by eta(), mass(), massSqr(), mt(), mtSqr(), operator=(), pack(), PackedGenParticle(), phi(), polarP4(), pt(), rapidity(), setMass(), setP4(), setPz(), theta(), and y().
|
mutableprotected |
Definition at line 483 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(), and y().
|
protected |
Definition at line 477 of file PackedGenParticle.h.
Referenced by operator=(), and pack().
|
protected |
Definition at line 477 of file PackedGenParticle.h.
Referenced by operator=(), and pack().
|
protected |
Definition at line 477 of file PackedGenParticle.h.
Referenced by operator=(), and pack().
|
protected |
Definition at line 477 of file PackedGenParticle.h.
Referenced by operator=(), and pack().
|
protected |
PDG identifier.
Definition at line 488 of file PackedGenParticle.h.
Referenced by operator=(), pdgId(), and setPdgId().
|
protected |
Definition at line 494 of file PackedGenParticle.h.
Referenced by fromHardProcessFinalState(), isDirectHardProcessTauDecayProductFinalState(), isDirectPromptTauDecayProductFinalState(), isPromptFinalState(), operator=(), and statusFlags().
|
protected |
vertex position
Definition at line 485 of file PackedGenParticle.h.
Referenced by operator=(), setVertex(), vertex(), vx(), vy(), and vz().