#include <WeightManager.h>
Public Member Functions | |
double | weight (const edm::Event &) |
WeightManager (const edm::ParameterSet &, edm::ConsumesCollector iC) | |
~WeightManager () | |
Private Attributes | |
std::vector< edm::InputTag > | _genEventInfos |
edm::InputTag | _hepmcCollection |
bool | _useHepMC |
std::vector< edm::EDGetTokenT < std::vector< edm::InputTag > > > | genEventInfosTokens_ |
edm::EDGetTokenT < edm::HepMCProduct > | hepmcCollectionToken_ |
Definition at line 20 of file WeightManager.h.
WeightManager::WeightManager | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector | iC | ||
) |
Definition at line 12 of file WeightManager.cc.
References _genEventInfos, _hepmcCollection, _useHepMC, edm::ConsumesCollector::consumes(), genEventInfosTokens_, edm::ParameterSet::getParameter(), hepmcCollectionToken_, and i.
|
inline |
Definition at line 25 of file WeightManager.h.
double WeightManager::weight | ( | const edm::Event & | iEvent | ) |
Definition at line 25 of file WeightManager.cc.
References _useHepMC, genEventInfosTokens_, edm::Event::getByToken(), hepmcCollectionToken_, i, and info().
Referenced by cuy.ValElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), BasicHepMCValidation::analyze(), BasicHepMCHeavyIonValidation::analyze(), DrellYanValidation::analyze(), WValidation::analyze(), HiggsValidation::analyze(), BasicGenParticleValidation::analyze(), MBUEandQCDValidation::analyze(), DuplicationChecker::analyze(), and TauValidation::analyze().
|
private |
Definition at line 31 of file WeightManager.h.
Referenced by WeightManager().
|
private |
Definition at line 32 of file WeightManager.h.
Referenced by WeightManager().
|
private |
Definition at line 30 of file WeightManager.h.
Referenced by weight(), and WeightManager().
|
private |
Definition at line 35 of file WeightManager.h.
Referenced by weight(), and WeightManager().
|
private |
Definition at line 34 of file WeightManager.h.
Referenced by weight(), and WeightManager().