5 filterPath(iConfig.getParameter<std::
string>(
"filterPath")),
7 thisProcess(),pathIndex(100000),
10 numEventsTotalPos_(0),
11 numEventsTotalNeg_(0),
24 for (
unsigned int i = 0;
i < theNames.size();
i++ ) {
29 edm::LogError(
"ServiceNotAvailable") <<
"TriggerNamesServive not available, no filter information stored";
34 produces<GenFilterInfo, edm::InLumi>();
59 if (!genEventScale.
isValid())
return;
60 double weight = genEventScale->weight();
62 unsigned int nSize = (*trigR).size();
132 iLumi.
put(thisProduct);
std::string const & getProcessName() const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< GenEventInfoProduct > genEventInfoToken_
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, const edm::EventSetup &) override
~GenFilterEfficiencyProducer()
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
GenFilterEfficiencyProducer(const edm::ParameterSet &)
virtual void produce(edm::Event &, const edm::EventSetup &) override
unsigned int numEventsTotalNeg_
virtual void endLuminosityBlock(edm::LuminosityBlock const &, const edm::EventSetup &) override
Strings const & getTrigPaths() const
unsigned int numEventsPassPos_
virtual void endLuminosityBlockProduce(edm::LuminosityBlock &, const edm::EventSetup &) override
unsigned int numEventsPassNeg_
edm::service::TriggerNamesService * tns_
unsigned int numEventsTotalPos_
void put(std::auto_ptr< PROD > product)
Put a new product.