#include <SmearedJetProducerT.h>
Definition at line 40 of file SmearedJetProducerT.h.
Definition at line 42 of file SmearedJetProducerT.h.
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
std::vector< GenJet > GenJetCollection
collection of GenJet objects
edm::EDGetTokenT< reco::GenJetCollection > m_genJetsToken
void pat::GenJetMatcher::getTokens |
( |
const edm::Event & |
event | ) |
|
|
inline |
template<class T >
const reco::GenJet* pat::GenJetMatcher::match |
( |
const T & |
jet, |
|
|
double |
resolution |
|
) |
| |
|
inline |
Definition at line 60 of file SmearedJetProducerT.h.
References funct::abs(), deltaR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, patPFMETCorrections_cff::genJets, infinity, m_dPt_max_factor, m_dR_max, and m_genJets.
70 for (
const auto& genJet: genJets) {
82 matched_genJet = &genJet;
86 return matched_genJet;
edm::Handle< reco::GenJetCollection > m_genJets
std::vector< GenJet > GenJetCollection
collection of GenJet objects
Abs< T >::type abs(const T &t)
Jets made from MC generator particles.
double deltaR(double eta1, double eta2, double phi1, double phi2)
double pat::GenJetMatcher::m_dPt_max_factor |
|
private |
double pat::GenJetMatcher::m_dR_max |
|
private |