7 numRequired_(iConfig.getParameter<int>(
"NumRequired")),
8 acceptLogic_(iConfig.getParameter<std::
string>(
"AcceptLogic")),
9 particleID_(iConfig.getParameter< std::vector<int> >(
"ParticleID")),
10 totalEvents_(0), passedEvents_(0)
19 else edm::LogError (
"cat_A") <<
"wrong input for AcceptLogic string";
42 for (
int i = 0;
i < EvtHandle->hepeup().NUP; ++
i) {
43 if (EvtHandle->hepeup().ISTUP[
i] != 1) {
72 edm::LogInfo(
"LHEGenericFilter") <<
"=== Results of LHEGenericFilter: passed "
T getParameter(std::string const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
virtual bool filter(edm::Event &, const edm::EventSetup &)
edm::EDGetTokenT< LHEEventProduct > src_
Abs< T >::type abs(const T &t)
LHEGenericFilter(const edm::ParameterSet &)
std::vector< int > particleID_