|
| BeamSplash (const edm::ParameterSet &) |
|
| ~BeamSplash () |
|
| EDFilter () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDFilter () |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
|
virtual | ~ProducerBase () noexcept(false) |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
Definition at line 33 of file BeamSplash.h.
Definition at line 52 of file BeamSplash.cc.
References scrapingFilter_cfi::applyfilter, edm::SortedCollection< T, SORT >::begin(), edm::EventBase::bunchCrossing(), gather_cfg::cout, DEFINE_FWK_MODULE, 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_