Public Member Functions | |
ISRWeightProducer (const edm::ParameterSet &) | |
~ISRWeightProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Member Functions | |
virtual void | beginJob () |
virtual void | endJob () |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
Private Attributes | |
edm::InputTag | genTag_ |
std::vector< double > | isrBinEdges_ |
std::vector< double > | ptWeights_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Definition at line 20 of file ISRWeightProducer.cc.
|
explicit |
Definition at line 38 of file ISRWeightProducer.cc.
References genTag_, edm::ParameterSet::getUntrackedParameter(), i, isrBinEdges_, and ptWeights_.
ISRWeightProducer::~ISRWeightProducer | ( | ) |
Definition at line 60 of file ISRWeightProducer.cc.
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 69 of file ISRWeightProducer.cc.
References abs, genParticleCandidates2GenParticles_cfi::genParticles, genTag_, edm::Event::getByLabel(), i, isrBinEdges_, edm::EventBase::isRealData(), j, pileupCalc::nbins, reco::LeafCandidate::pdgId(), reco::LeafCandidate::pt(), ptWeights_, edm::Event::put(), reco::LeafCandidate::status(), ntuplemaker::status, and CommonMethods::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().