Definition at line 33 of file ECALActivity.h.
Implements edm::EDFilter.
Definition at line 51 of file ECALActivity.cc.
References align_tpl::applyfilter, edm::SortedCollection< T, SORT >::begin(), bsc_activity_cfg::EBnum, egHLT::errCodes::EBRecHits, bsc_activity_cfg::EBthresh, bsc_activity_cfg::EEnum, egHLT::errCodes::EERecHits, bsc_activity_cfg::EEthresh, edm::SortedCollection< T, SORT >::end(), bsc_activity_cfg::ETOTnum, bsc_activity_cfg::ETOTthresh, edm::Event::getByLabel(), edm::HandleBase::isValid(), and edm::Handle< T >::product().
Referenced by python.Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filter(), python.Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), python.Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setDataAccessor(), and python.Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView().
53 bool accepted =
false;
64 int etotabovethresh=0;
78 EBRecHits = pEBRecHits.
product();
92 EERecHits = pEERecHits.
product();
106 if (it->energy()>
EBthresh) ebabovethresh++;
107 if (it->energy()>
ETOTthresh) etotabovethresh++;
114 if (it->energy()>
EEthresh) eeabovethresh++;
115 if (it->energy()>
ETOTthresh) etotabovethresh++;
119 if(ebabovethresh>=
EBnum) eb=
true;
120 if(eeabovethresh>=
EEnum) ee=
true;
121 if(etotabovethresh>=
ETOTnum) etot=
true;
123 accepted = eb|ee|etot;
std::vector< T >::const_iterator const_iterator
edm::InputTag EBRecHitCollection_
edm::InputTag EERecHitCollection_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
const_iterator end() const
T const * product() const
const_iterator begin() const