◆ 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, jetFlavourInfosToken_, muonTagProbeFilters_cff::matched, eostools::move(), name_, jetMC_cff::partonFlavour, and src_.
63 unsigned int ncand = 0;
74 partonFlavour.push_back(jetFlavourInfoMatching.second.getPartonFlavour());
75 hadronFlavour.push_back(jetFlavourInfoMatching.second.getHadronFlavour());
86 auto tab = std::make_unique<nanoaod::FlatTable>(ncand,
name_,
false,
true);
87 tab->addColumn<int16_t>(
"partonFlavour",
partonFlavour,
"flavour from parton matching");
88 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_