|
| BeamSplash (const edm::ParameterSet &) |
|
| ~BeamSplash () |
|
| 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 BeamSplash.h.
Implements edm::EDFilter.
Definition at line 52 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().
54 bool accepted =
false;
56 bool acceptedtot =
false;
57 bool acceptedEcal =
false;
58 bool acceptedHcal =
false;
61 int irun = iEvent.
id().
run();
83 EBRecHits = pEBRecHits.
product();
97 EERecHits = pEERecHits.
product();
111 HBHERecHits = pHBHERecHits.
product();
124 totene+=it->energy();
125 ecalene+=it->energy();
132 totene+=it->energy();
133 ecalene+=it->energy();
140 totene+=it->energy();
141 hcalene+=it->energy();
149 accepted = acceptedtot|acceptedEcal|acceptedHcal;
154 edm::LogVerbatim(
"BeamSplash") <<
"!!!!!!!BeamSplash!!!!!!!: run:" << irun <<
" event:" << ievt <<
" ls:"<< ils <<
" bx= " << ibx <<
" totene=" << totene <<
" ecalene=" << ecalene <<
" hcalene=" << hcalene ;
155 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_