12 namespace SmearedJetProducer_namespace
23 dRmaxGenJetMatch_formula.ReplaceAll(
"genJetPt",
"x");
24 dRmaxGenJetMatch_ =
new TFormula(
"dRmaxGenJetMatch", dRmaxGenJetMatch_formula.Data());
44 if ( dR < dRmaxGenJetMatch_->Eval(genJet->
pt()) ) retVal = genJet;
61 : jetResolutions_(cfg)
70 if ( pfJetResolution.get_energy() > 0. ) {
71 return jet.
energy()*(pfJetResolution.get_sigma_e()/pfJetResolution.get_energy());
77 <<
" Jets of type other than PF not supported yet !!\n";
virtual double energy() const GCC11_FINAL
energy
T getParameter(std::string const &) const
virtual const LorentzVector & p4() const GCC11_FINAL
four-momentum Lorentz vector
const reco::GenJet * genJet() const
return the matched generated jet
const PFSpecific & pfSpecific() const
retrieve the pf specific part of the jet
virtual const Point & vertex() const
vertex position (overwritten by PF...)
#define DEFINE_FWK_MODULE(type)
Jets made from PFObjects.
TFormula * dRmaxGenJetMatch_
Jets made from MC generator particles.
bool isPFJet() const
check to see if the jet is a reco::PFJet
double deltaR(double eta1, double eta2, double phi1, double phi2)
const reco::GenJet * operator()(const pat::Jet &jet, edm::Event *evt=0) const
TFormula * dRmaxGenJetMatch_
Analysis-level calorimeter jet class.
GenJetMatcherT(const edm::ParameterSet &cfg)
char data[epos_bytes_allocation]
SmearedJetProducerT< pat::Jet, PATJetCorrExtractor > SmearedPATJetProducer
virtual float pt() const GCC11_FINAL
transverse momentum
virtual Constituents getJetConstituents() const
list of constituents