Go to the documentation of this file.
14 :
Jet(fP4, fVertex), m_specific(fSpecific) {}
20 :
Jet(fP4, fVertex, fConstituents), m_specific(fSpecific) {}
23 :
Jet(fP4,
Point(0, 0, 0), fConstituents), m_specific(fSpecific) {}
34 throw cms::Exception(
"Invalid Constituent") <<
"GenJet constituent is not of the type GenParticle";
42 for (; --
index >= 0 && daugh !=
end(); daugh++) {
52 std::vector<const GenParticle*>
result;
63 std::ostringstream
out;
65 <<
" GenJet specific:" << std::endl
68 out <<
" MC particles:" << std::endl;
70 for (
unsigned i = 0;
i < mcparts.size();
i++) {
73 out <<
" #" <<
i <<
" PDG code:" << mcpart->
pdgId() <<
", p/pt/eta/phi: " << mcpart->
p() <<
'/'
74 << mcpart->
pt() <<
'/' << mcpart->
eta() <<
'/' << mcpart->
phi() << std::endl;
76 out <<
" #" <<
i <<
" No information about constituent" << std::endl;
virtual std::vector< const GenParticle * > getGenConstituents() const
get all constituents
float auxiliaryEnergy() const
Jets made from MC generator particles.
std::vector< Constituent > Constituents
static float detectorEta(float fZVertex, float fPhysicsEta)
static function to convert physics eta to detector eta
double pt() const final
transverse momentum
std::string print() const override
Print object.
float invisibleEnergy() const
virtual std::string print() const
Print object.
virtual bool hasMasterClone() const =0
value_type const * get() const
Structure Point Contains parameters of Gaussian fits to DMRs.
double eta() const final
momentum pseudorapidity
const_iterator end() const
last daughter const_iterator
GenJet * clone() const override
Polymorphic clone.
int pdgId() const final
PDG identifier.
size_t numberOfDaughters() const override
number of daughters
double phi() const final
momentum azimuthal angle
bool overlap(const Candidate &) const override
Polymorphic overlap.
virtual const GenParticle * getGenConstituent(unsigned fIndex) const
get specific constituent
static const GenParticle * genParticle(const reco::Candidate *fConstituent)
convert generic constituent to specific type
double p() const final
magnitude of momentum vector
unsigned int index
index type
virtual const CandidateBaseRef & masterClone() const =0
math::XYZTLorentzVector LorentzVector
Lorentz vector.
const_iterator begin() const
first daughter const_iterator
float detectorEta(float fZVertex) const
Detector Eta (use reference Z and jet kinematics only)