59 virtual void endJob()
override ;
82 m_multiplicities(iConfig.getParameter<edm::
ParameterSet>(
"multiplicityConfig"),consumesCollector()),
83 m_selector(iConfig.getParameter<std::
string>(
"cut")),
84 m_taggedMode(iConfig.getUntrackedParameter<bool>(
"taggedMode",
false)),
85 m_forcedValue(iConfig.getUntrackedParameter<bool>(
"forcedValue",
true))
115 m_multiplicities.getEvent(iEvent,iSetup);
117 bool value = m_selector(m_multiplicities);
118 iEvent.
put( std::auto_ptr<bool>(
new bool(
value)) );
120 if(m_taggedMode)
return m_forcedValue;
ByMultiplicityEventFilter< SiPixelClusterSiStripClusterMultiplicityPair > BySiPixelClusterVsSiStripClusterMultiplicityEventFilter
ByMultiplicityEventFilter< ClusterSummarySingleMultiplicity > ByClusterSummarySingleMultiplicityEventFilter
ByMultiplicityEventFilter< ClusterSummaryMultiplicityPair > ByClusterSummaryMultiplicityPairEventFilter
#define DEFINE_FWK_MODULE(type)
virtual bool filter(edm::Event &, const edm::EventSetup &) override
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
virtual void endJob() override
ByMultiplicityEventFilter< SingleSiStripClusterMultiplicity > BySiStripClusterMultiplicityEventFilter
~ByMultiplicityEventFilter()
ByMultiplicityEventFilter(const edm::ParameterSet &)
StringCutObjectSelector< T > m_selector
ByMultiplicityEventFilter< SingleSiPixelClusterMultiplicity > BySiPixelClusterMultiplicityEventFilter
ByMultiplicityEventFilter< SingleSiStripDigiMultiplicity > BySiStripDigiMultiplicityEventFilter
volatile std::atomic< bool > shutdown_flag false
virtual void beginJob() override