![]() |
![]() |
Private Member Functions | |
virtual void | beginJob () override |
virtual void | endJob () override |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
edm::EDGetTokenT < reco::GenParticleCollection > | genToken_ |
std::vector< double > | isrBinEdges_ |
std::vector< double > | ptWeights_ |
Additional Inherited Members | |
![]() | |
typedef EDProducer | ModuleType |
![]() | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
![]() | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
![]() | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 20 of file ISRWeightProducer.cc.
|
explicit |
Definition at line 37 of file ISRWeightProducer.cc.
References genToken_, edm::ParameterSet::getUntrackedParameter(), i, isrBinEdges_, and ptWeights_.
ISRWeightProducer::~ISRWeightProducer | ( | ) |
Definition at line 59 of file ISRWeightProducer.cc.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 68 of file ISRWeightProducer.cc.
References funct::abs(), genParticleCandidates2GenParticles_cfi::genParticles, genToken_, edm::Event::getByToken(), i, isrBinEdges_, edm::EventBase::isRealData(), j, pileupCalc::nbins, reco::LeafCandidate::pdgId(), RecoTauCleanerPlugins::pt, reco::LeafCandidate::pt(), ptWeights_, edm::Event::put(), reco::LeafCandidate::status(), ntuplemaker::status, and histoStyle::weight.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 30 of file ISRWeightProducer.cc.
Referenced by ISRWeightProducer(), and produce().
|
private |
Definition at line 31 of file ISRWeightProducer.cc.
Referenced by ISRWeightProducer(), and produce().
|
private |
Definition at line 32 of file ISRWeightProducer.cc.
Referenced by ISRWeightProducer(), and produce().