Definition at line 33 of file BeamSplash.h.
Implements edm::EDFilter.
Definition at line 51 of file BeamSplash.cc.
References bsc_activity_cfg::applyfilter, edm::SortedCollection< T, SORT >::begin(), edm::EventBase::bunchCrossing(), gather_cfg::cout, egHLT::errCodes::EBRecHits, egHLT::errCodes::EERecHits, edm::SortedCollection< T, SORT >::end(), edm::EventID::event(), edm::Event::getByLabel(), egHLT::errCodes::HBHERecHits, edm::EventBase::id(), edm::HandleBase::isValid(), edm::EventBase::luminosityBlock(), edm::Handle< T >::product(), and edm::EventID::run().
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;
55 bool acceptedtot =
false;
56 bool acceptedEcal =
false;
57 bool acceptedHcal =
false;
60 int irun = iEvent.
id().
run();
82 EBRecHits = pEBRecHits.
product();
96 EERecHits = pEERecHits.
product();
110 HBHERecHits = pHBHERecHits.
product();
123 totene+=it->energy();
124 ecalene+=it->energy();
131 totene+=it->energy();
132 ecalene+=it->energy();
139 totene+=it->energy();
140 hcalene+=it->energy();
148 accepted = acceptedtot|acceptedEcal|acceptedHcal;
153 edm::LogVerbatim(
"BeamSplash") <<
"!!!!!!!BeamSplash!!!!!!!: run:" << irun <<
" event:" << ievt <<
" ls:"<< ils <<
" bx= " << ibx <<
" totene=" << totene <<
" ecalene=" << ecalene <<
" hcalene=" << hcalene ;
154 std::cout <<
"!!!!!!!BeamSplash!!!!!!!: run:" << irun <<
" event:" << ievt <<
" ls:"<< ils <<
" bx= " << ibx <<
" totene=" <<totene <<
" ecalene=" << ecalene <<
" hcalene=" << hcalene << std::endl;
EventNumber_t event() const
edm::InputTag HBHERecHitCollection_
std::vector< EcalRecHit >::const_iterator const_iterator
int bunchCrossing() const
edm::LuminosityBlockNumber_t luminosityBlock() const
edm::InputTag EERecHitCollection_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
const_iterator end() const
T const * product() const
const_iterator begin() const
edm::InputTag EBRecHitCollection_