1 #ifndef art_Framework_Core_EDAnalyzer_h 2 #define art_Framework_Core_EDAnalyzer_h 44 template <
typename UserConfig,
typename UserKeysToIgnore =
void>
83 std::string
const& prefix)
const 85 fullConfig_.print_allowed_configuration(os, prefix);
90 cet::exempt_ptr<fhicl::detail::ParameterBase const>
99 template <
typename Config>
111 return "WorkerT<EDAnalyzer>";
182 template <
typename T>
184 operator<<(std::ostream& os, EDAnalyzer::Table<T>
const& t)
186 std::ostringstream config;
187 t.print_allowed_configuration(config, std::string(3,
' '));
188 return os << config.str();
static fhicl::Name plugin_type()
void doRespondToCloseInputFile(FileBlock const &fb)
bool doBeginRun(RunPrincipal const &rp, CPC_exempt_ptr cpc)
virtual void beginRun(Run const &)
virtual void analyze(Event const &)=0
void doRespondToCloseOutputFiles(FileBlock const &fb)
void doRespondToOpenOutputFiles(FileBlock const &fb)
virtual void respondToCloseInputFile(FileBlock const &)
std::conditional_t< std::is_void< UserKeysToIgnore >::value, detail::ModuleConfig::IgnoreKeys, fhicl::KeysToIgnore< detail::ModuleConfig::IgnoreKeys, UserKeysToIgnore >> KeysToIgnore_t
auto const & operator()() const
virtual void endRun(Run const &)
bool doEvent(EventPrincipal const &ep, CPC_exempt_ptr cpc, CountingStatistics &)
bool doEndSubRun(SubRunPrincipal const &srp, CPC_exempt_ptr cpc)
auto const & eoFragment() const
bool doEndRun(RunPrincipal const &rp, CPC_exempt_ptr cpc)
bool doBeginSubRun(SubRunPrincipal const &srp, CPC_exempt_ptr cpc)
fhicl::TableFragment< EventObserverBase::EOConfig > eoConfig
cet::exempt_ptr< fhicl::detail::ParameterBase const > get_parameter_base() const override
Table(fhicl::Name &&name)
void doRespondToOpenInputFile(FileBlock const &fb)
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
virtual void respondToOpenInputFile(FileBlock const &)
virtual void beginSubRun(SubRun const &)
cet::exempt_ptr< CurrentProcessingContext const > CPC_exempt_ptr
virtual void respondToOpenOutputFiles(FileBlock const &)
std::string workerType() const
void setModuleDescription(ModuleDescription const &md)
CurrentProcessingContext const * currentContext() const
EDAnalyzer(Table< Config > const &config)
CPC_exempt_ptr current_context_
fhicl::TableFragment< T > user
virtual ~EDAnalyzer()=default
std::string value(boost::any const &)
virtual void endSubRun(SubRun const &)
auto const & get_PSet() const
virtual void respondToCloseOutputFiles(FileBlock const &)
void print_allowed_configuration(std::ostream &os, std::string const &prefix) const
ModuleDescription moduleDescription_
void setModuleDescription(ModuleDescription const &md)
fhicl::Atom< std::string > module_type
Table(fhicl::ParameterSet const &pset)