1 #ifndef FWCore_Framework_stream_EDAnalyzerAdaptor_h
2 #define FWCore_Framework_stream_EDAnalyzerAdaptor_h
39 template<
typename T,
typename G>
41 return T::initializeGlobalCache(iPSet);
48 template<
typename T,
typename G>
51 return new T(iPSet,iGlobal);
80 typename T::GlobalCache
const* dummy=
nullptr;
87 T::fillDescriptions(descriptions);
90 T::prevalidate(descriptions);
137 Run const& cnstR =
r;
169 RunIndex ri = lbp.runPrincipal().index();
186 RunIndex ri = lbp.runPrincipal().index();
212 template<
typename ModType>
215 std::unique_ptr<Adaptor>
module = std::unique_ptr<Adaptor>(
new Adaptor(pset));
216 return std::unique_ptr<Base>(module.release());
static void endLuminosityBlock(edm::LuminosityBlock const &Lumi, edm::EventSetup const &iES, typename T::LuminosityBlockContext const *iContext)
T * makeStreamModule(edm::ParameterSet const &iPSet, G const *iGlobal)
CallGlobalRun< T > MyGlobalRun
void doBeginLuminosityBlock(LuminosityBlockPrincipal &lbp, EventSetup const &c, ModuleCallingContext const *mcc) overridefinal
static void beginRun(edm::Run const &iRun, edm::EventSetup const &iES, typename T::RunContext const *iRC, std::shared_ptr< typename T::RunSummaryCache > &oCache)
impl::choose_shared_vec< typename T::RunCache const >::type m_runs
static void fillDescriptions(ConfigurationDescriptions &descriptions)
void setConsumer(EDConsumerBase const *iConsumer)
static void endRun(edm::Run const &iRun, edm::EventSetup const &iES, typename T::RunContext const *iContext)
void setupRun(EDAnalyzerBase *iProd, RunIndex iIndex) overridefinal
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::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
static std::unique_ptr< Base > makeModule(ParameterSet const &pset)
const EDConsumerBase * consumer() const
void streamEndLuminosityBlockSummary(EDAnalyzerBase *iProd, edm::LuminosityBlock const &iLumi, edm::EventSetup const &iES) overridefinal
static void streamEndRunSummary(B *iProd, edm::Run const &iRun, edm::EventSetup const &iES, typename T::RunSummaryCache *iCache)
static void beginRun(edm::Run const &iRun, edm::EventSetup const &iES, typename T::GlobalCache const *iGC, std::shared_ptr< typename T::RunCache const > &oCache)
static void set(B *iProd, typename T::RunCache const *iCache)
void doEndJob() overridefinal
impl::choose_unique_ptr< typename T::GlobalCache >::type m_global
EDAnalyzerAdaptor< ModType > Type
static void beginLuminosityBlock(edm::LuminosityBlock const &Lumi, edm::EventSetup const &iES, typename T::LuminosityBlockContext const *iRC, std::shared_ptr< typename T::LuminosityBlockSummaryCache > &oCache)
void createStreamModules(T iFunc)
impl::choose_shared_vec< typename T::RunSummaryCache >::type m_runSummaries
void doEndLuminosityBlock(LuminosityBlockPrincipal &lbp, EventSetup const &c, ModuleCallingContext const *mcc) overridefinal
CallGlobalLuminosityBlock< T > MyGlobalLuminosityBlock
impl::choose_shared_vec< typename T::LuminosityBlockSummaryCache >::type m_lumiSummaries
std::unique_ptr< T > type
EDAnalyzerAdaptor(edm::ParameterSet const &iPSet)
void setupLuminosityBlock(EDAnalyzerBase *iProd, LuminosityBlockIndex iIndex) overridefinal
static void set(B *iProd, typename T::LuminosityBlockCache const *iCache)
std::unique_ptr< G > makeGlobal(edm::ParameterSet const &iPSet, G const *)
const ModuleDescription & moduleDescription()
impl::choose_shared_vec< typename T::LuminosityBlockCache const >::type m_lumis
static void endJob(typename T::GlobalCache *iCache)
static void streamEndLuminosityBlockSummary(B *iProd, edm::LuminosityBlock const &iLumi, edm::EventSetup const &iES, typename T::LuminosityBlockSummaryCache *iCache)
CallGlobalLuminosityBlockSummary< T > MyGlobalLuminosityBlockSummary
static void globalEndRun(edm::Run const &iRun, edm::EventSetup const &iES, typename T::RunContext const *iContext, typename T::RunSummaryCache *iCache)
edm::stream::EDAnalyzerAdaptorBase Base
void streamEndRunSummary(EDAnalyzerBase *iProd, edm::Run const &iRun, edm::EventSetup const &iES) overridefinal
void doBeginRun(RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc) overridefinal
std::vector< std::shared_ptr< T > > type
void setupStreamModules() overridefinal
void doEndRun(RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc) overridefinal
const EDAnalyzerAdaptor & operator=(const EDAnalyzerAdaptor &)
static void globalEndLuminosityBlock(edm::LuminosityBlock const &Lumi, edm::EventSetup const &iES, typename T::LuminosityBlockContext const *iContext, typename T::LuminosityBlockSummaryCache *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)
ParameterSet const * m_pset
void setConsumer(EDConsumerBase const *iConsumer)
CallGlobalRunSummary< T > MyGlobalRunSummary
static void set(B *iProd, typename T::GlobalCache const *iCache)
static void prevalidate(ConfigurationDescriptions &descriptions)