4 totalGenFilterInfo_(0,0,0,0,0.,0.,0.,0.)
25 std::cout <<
"Lumi section " << iLumi.
id() << std::endl;
26 std::cout <<
"N total = " << genFilter->sumWeights() <<
" N passed = " << genFilter->sumPassWeights() <<
" N failed = " << genFilter->sumFailWeights() << std::endl;
27 std::cout <<
"Generator filter efficiency = " << genFilter->filterEfficiency(-1) <<
" +- " << genFilter->filterEfficiencyError(-1) << std::endl;
LuminosityBlockID id() const
double filterEfficiency(int idwtup=+3) const
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
GenFilterEfficiencyAnalyzer(const edm::ParameterSet &)
bool mergeProduct(GenFilterInfo const &other)
GenFilterInfo totalGenFilterInfo_
double sumPassWeights() const
~GenFilterEfficiencyAnalyzer()
double filterEfficiencyError(int idwtup=+3) const
double sumWeights() const
bool getByType(Handle< PROD > &result) const
virtual void analyze(const edm::Event &, const edm::EventSetup &)