#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 mps_fire::i.
|
inline |
Definition at line 23 of file WeightManager.h.
double WeightManager::weight | ( | const edm::Event & | iEvent | ) |
Definition at line 24 of file WeightManager.cc.
References _useHepMC, genEventInfosTokens_, edm::HepMCProduct::GetEvent(), hepmcCollectionToken_, mps_fire::i, iEvent, and info().
Referenced by WValidation::analyze(), BasicHepMCHeavyIonValidation::analyze(), DrellYanValidation::analyze(), BasicGenParticleValidation::analyze(), BasicHepMCValidation::analyze(), MBUEandQCDValidation::analyze(), HiggsValidation::analyze(), and DuplicationChecker::analyze().
|
private |
Definition at line 29 of file WeightManager.h.
Referenced by WeightManager().
|
private |
Definition at line 30 of file WeightManager.h.
Referenced by WeightManager().
|
private |
Definition at line 28 of file WeightManager.h.
Referenced by weight(), and WeightManager().
|
private |
Definition at line 33 of file WeightManager.h.
Referenced by weight(), and WeightManager().
|
private |
Definition at line 32 of file WeightManager.h.
Referenced by weight(), and WeightManager().