Go to the documentation of this file. 1 #ifndef FWCore_Framework_stream_EDAnalyzerAdaptor_h
2 #define FWCore_Framework_stream_EDAnalyzerAdaptor_h
40 template <
typename ABase,
typename ModType>
45 template <
typename ModType>
58 typename T::GlobalCache
const*
dummy =
nullptr;
116 Run const& cnstR =
r;
151 RunIndex ri = lbp.runPrincipal().index();
170 RunIndex ri = lbp.runPrincipal().index();
202 template <
typename ModType>
205 auto module = std::make_unique<Adaptor>(
pset);
206 return std::unique_ptr<Base>(
module.release());
static void endJob(typename T::GlobalCache *iCache)
void streamEndRunSummary(EDAnalyzerBase *iProd, edm::Run const &iRun, edm::EventSetup const &iES) final
CallGlobalLuminosityBlockSummary< T > MyGlobalLuminosityBlockSummary
impl::choose_mutex< typename T::LuminosityBlockSummaryCache >::type m_lumiSummaryLock
static void streamEndRunSummary(B *iProd, edm::Run const &iRun, edm::EventSetup const &iES, typename T::RunSummaryCache *iCache)
static void beginLuminosityBlock(edm::LuminosityBlock const &Lumi, edm::EventSetup const &iES, typename T::RunContext const *iRC, std::shared_ptr< typename T::LuminosityBlockCache const > &oCache)
static std::unique_ptr< Base > makeModule(ParameterSet const &pset)
EDAnalyzerAdaptor< ModType > Type
std::vector< std::shared_ptr< T > > type
static void set(B *iProd, typename T::GlobalCache const *iCache)
static void set(B *iProd, typename T::RunCache const *iCache)
static void endLuminosityBlock(edm::LuminosityBlock const &Lumi, edm::EventSetup const &iES, typename T::LuminosityBlockContext const *iContext)
impl::choose_unique_ptr< typename T::GlobalCache >::type m_global
CallGlobalRunSummary< T > MyGlobalRunSummary
static void endRun(edm::Run const &iRun, edm::EventSetup const &iES, typename T::RunContext const *iContext)
bool wantsGlobalLuminosityBlocks() const final
CallGlobalLuminosityBlock< T > MyGlobalLuminosityBlock
static void beginJob(typename T::GlobalCache *iCache)
static void globalEndLuminosityBlock(edm::LuminosityBlock const &Lumi, edm::EventSetup const &iES, typename T::LuminosityBlockContext const *iContext, typename T::LuminosityBlockSummaryCache *iCache)
CallGlobalRun< T > MyGlobalRun
void createStreamModules(T iFunc)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
impl::choose_shared_vec< typename T::LuminosityBlockCache const >::type m_lumis
void doBeginRun(RunPrincipal const &rp, EventSetupImpl const &ci, ModuleCallingContext const *mcc) final
static void beginRun(edm::Run const &iRun, edm::EventSetup const &iES, typename T::RunContext const *iRC, std::shared_ptr< typename T::RunSummaryCache > &oCache)
EDAnalyzerAdaptor(edm::ParameterSet const &iPSet)
ParameterSet const * m_pset
void setConsumer(EDConsumerBase const *iConsumer)
impl::choose_shared_vec< typename T::RunSummaryCache >::type m_runSummaries
T const & get(Event const &event, InputTag const &tag) noexcept(false)
impl::choose_mutex< typename T::RunSummaryCache >::type m_runSummaryLock
~EDAnalyzerAdaptor() override
static void globalEndRun(edm::Run const &iRun, edm::EventSetup const &iES, typename T::RunContext const *iContext, typename T::RunSummaryCache *iCache)
void doEndRun(RunPrincipal const &rp, EventSetupImpl const &ci, ModuleCallingContext const *mcc) final
std::unique_ptr< T > type
impl::choose_shared_vec< typename T::RunCache const >::type m_runs
static void prevalidate(ConfigurationDescriptions &descriptions)
void setupLuminosityBlock(EDAnalyzerBase *iProd, LuminosityBlockIndex iIndex) final
static void set(B *iProd, typename T::LuminosityBlockCache const *iCache)
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
static void beginRun(edm::Run const &iRun, edm::EventSetup const &iES, typename T::GlobalCache const *iGC, std::shared_ptr< typename T::RunCache const > &oCache)
const EDAnalyzerAdaptor & operator=(const EDAnalyzerAdaptor &)=delete
void doBeginLuminosityBlock(LuminosityBlockPrincipal const &lbp, EventSetupImpl const &ci, ModuleCallingContext const *mcc) final
void streamEndLuminosityBlockSummary(EDAnalyzerBase *iProd, edm::LuminosityBlock const &iLumi, edm::EventSetup const &iES) final
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
void preallocLumis(unsigned int iNLumis) final
impl::choose_shared_vec< typename T::LuminosityBlockSummaryCache >::type m_lumiSummaries
void doEndLuminosityBlock(LuminosityBlockPrincipal const &lbp, EventSetupImpl const &ci, ModuleCallingContext const *mcc) final
static void streamEndLuminosityBlockSummary(B *iProd, edm::LuminosityBlock const &iLumi, edm::EventSetup const &iES, typename T::LuminosityBlockSummaryCache *iCache)
static void beginLuminosityBlock(edm::LuminosityBlock const &Lumi, edm::EventSetup const &iES, typename T::LuminosityBlockContext const *iRC, std::shared_ptr< typename T::LuminosityBlockSummaryCache > &oCache)
static void fillDescriptions(ConfigurationDescriptions &descriptions)
void setupStreamModules() final
const EDConsumerBase * consumer() const
edm::stream::EDAnalyzerAdaptorBase Base
void setupRun(EDAnalyzerBase *iProd, RunIndex iIndex) final
const ModuleDescription & moduleDescription() const
bool wantsGlobalRuns() const final