|
| ECALActivity (const edm::ParameterSet &) |
|
| ~ECALActivity () |
|
| EDFilter () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDFilter () |
|
| ProducerBase () |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription
const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
virtual | ~ProducerBase () |
|
| EDConsumerBase () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
Definition at line 33 of file ECALActivity.h.
Implements edm::EDFilter.
Definition at line 51 of file ECALActivity.cc.
References bsc_activity_cfg::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 Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filter(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setDataAccessor(), and 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< EcalRecHit >::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