◆ GenJetFlavourTableProducer()
GenJetFlavourTableProducer::GenJetFlavourTableProducer |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
inlineexplicit |
Definition at line 26 of file GenJetFlavourTableProducer.cc.
33 produces<nanoaod::FlatTable>();
T getParameter(std::string const &) const
edm::EDGetTokenT< reco::JetFlavourInfoMatchingCollection > jetFlavourInfosToken_
edm::EDGetTokenT< std::vector< reco::GenJet > > src_
const StringCutObjectSelector< reco::GenJet > cut_
◆ ~GenJetFlavourTableProducer()
GenJetFlavourTableProducer::~GenJetFlavourTableProducer |
( |
| ) |
|
|
inlineoverride |
◆ fillDescriptions()
◆ produce()
Definition at line 59 of file GenJetFlavourTableProducer.cc.
References cut_, PbPb_ZMuSkimMuonDPG_cff::deltaR, deltaR_, jetMC_cff::hadronFlavour, iEvent, metsig::jet, GenHFHadronMatcher_cfi::jetFlavourInfos, jetFlavourInfosToken_, singleTopDQM_cfi::jets, muonTagProbeFilters_cff::matched, eostools::move(), name_, jetMC_cff::partonFlavour, and src_.
66 unsigned int ncand = 0;
77 partonFlavour.push_back(jetFlavourInfoMatching.second.getPartonFlavour());
78 hadronFlavour.push_back(jetFlavourInfoMatching.second.getHadronFlavour());
89 auto tab = std::make_unique<nanoaod::FlatTable>(ncand,
name_,
false,
true);
90 tab->addColumn<
int>(
"partonFlavour",
partonFlavour,
"flavour from parton matching");
91 tab->addColumn<uint8_t>(
"hadronFlavour",
hadronFlavour,
"flavour from hadron ghost clustering");
edm::EDGetTokenT< reco::JetFlavourInfoMatchingCollection > jetFlavourInfosToken_
edm::EDGetTokenT< std::vector< reco::GenJet > > src_
Jets made from MC generator particles.
JetFlavourInfoMatchingCollection::value_type JetFlavourInfoMatching
const StringCutObjectSelector< reco::GenJet > cut_
◆ cut_
◆ deltaR_
const double GenJetFlavourTableProducer::deltaR_ |
|
private |
◆ jetFlavourInfosToken_
◆ name_
std::string GenJetFlavourTableProducer::name_ |
|
private |
◆ src_