6 filterPath(iConfig.getParameter<std::string>(
"filterPath")),
8 thisProcess(),pathIndex(100000),
11 numEventsTotalPos_(0),
12 numEventsTotalNeg_(0),
25 for (
unsigned int i = 0;
i < theNames.size();
i++ ) {
30 edm::LogError(
"ServiceNotAvailable") <<
"TriggerNamesServive not available, no filter information stored";
33 produces<GenFilterInfo, edm::InLumi>();
57 if (!iEvent.
getByLabel(
"generator", genEventScale))
return;
58 double weight = genEventScale->weight();
60 unsigned int nSize = (*trigR).size();
127 iLumi.
put(thisProduct);
std::string const & getProcessName() const
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual void beginLuminosityBlock(edm::LuminosityBlock &, const edm::EventSetup &)
~GenFilterEfficiencyProducer()
GenFilterEfficiencyProducer(const edm::ParameterSet &)
unsigned int numEventsTotalNeg_
virtual void produce(edm::Event &, const edm::EventSetup &)
Strings const & getTrigPaths() const
unsigned int numEventsPassPos_
unsigned int numEventsPassNeg_
edm::service::TriggerNamesService * tns_
unsigned int numEventsTotalPos_
virtual void endLuminosityBlock(edm::LuminosityBlock &, const edm::EventSetup &)
void put(std::auto_ptr< PROD > product)
Put a new product.