65 if (!pEventHeader.isValid()) {
66 edm::LogError(
"IsTBH4Type") <<
"Event Header collection not found" ;
68 evtHeader = pEventHeader.product () ;
74 if (evtHeader->eventType () !=
typeToFlag_)
return false ;
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
std::string typeToFlag_
type of run to flag
std::string eventHeaderCollection_
collection of the event header
bool notFound_
what to return in case no header is found
virtual bool filter(edm::Event &, const edm::EventSetup &)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::string eventHeaderProducer_
producer of the event header
IsTBH4Type(const edm::ParameterSet &)