1 #ifndef art_Framework_EventProcessor_EventProcessor_h 2 #define art_Framework_EventProcessor_EventProcessor_h 30 #include "cetlib/cpu_timer.h" 31 #include "cetlib/trim.h" 32 #include "cetlib_except/exception.h" 36 #include "tbb/task_scheduler_init.h" 85 std::enable_if_t<is_above_most_deeply_nested_level(L)>
begin();
160 template <
typename T>
161 void process_(
typename T::MyPrincipal& p);
181 tbb::task_scheduler_init
tbbManager_{tbb::task_scheduler_init::deferred};
185 std::unique_ptr<InputSource>
input_{
nullptr};
188 std::unique_ptr<FileBlock>
fb_{
nullptr};
201 template <
typename T>
204 T::preScheduleSignal(
actReg_, p);
207 T::postScheduleSignal(
actReg_, p);
216 <<
"exception being ignored for current event:\n" 217 << cet::trim_right_copy(ex.what(),
" \n");
223 "EventProcessor: an exception occurred during current event processing",
230 <<
"an exception occurred during current event processing\n";
StatusCode runToCompletion()
void respondToOpenOutputFiles()
std::unique_ptr< EndPathExecutor > endPathExecutor_
void respondToCloseInputFile()
actions::ActionCodes find(std::string const &category) const
void openSomeOutputFiles()
bool const handleEmptyRuns_
std::unique_ptr< Schedule > schedule_
ProducingServiceSignals psSignals_
void invokePostBeginJobWorkers_()
std::unique_ptr< InputSource > input_
bool const handleEmptySubRuns_
std::vector< BranchDescription > ProductDescriptions
MaybeLogger_< ELseverityLevel::ELsev_error, false > LogError
MasterProductRegistry preg_
EventProcessor & operator=(EventProcessor const &)=delete
void setOutputFileStatus(OutputFileStatus)
std::enable_if_t< is_above_most_deeply_nested_level(L)> begin()
void recordOutputModuleClosureRequests()
void servicesActivate_(ServiceToken st)
ServiceToken serviceToken_
std::unique_ptr< SubRunPrincipal > subRunPrincipal_
std::unique_ptr< ServiceRegistry::Operate > servicesSentry_
void finalizeContainingLevels()
ServiceDirector serviceDirector_
void process_(typename T::MyPrincipal &p)
MFStatusUpdater mfStatusUpdater_
tbb::task_scheduler_init tbbManager_
void closeSomeOutputFiles()
void initSchedules_(fhicl::ParameterSet const &pset)
static ProductTables invalid()
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
std::unique_ptr< RunPrincipal > runPrincipal_
void markLevelAsProcessed()
void setRunAuxiliaryRangeSetID()
ProductDescriptions productsToProduce_
void beginRunIfNotDoneAlready()
std::unique_ptr< FileBlock > fb_
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
ProductTables producedProducts_
bool shouldWeStop() const
bool finalizeSubRunEnabled_
constexpr auto highest_level() noexcept
void closeAllOutputFiles()
void servicesDeactivate_()
std::unique_ptr< EventPrincipal > eventPrincipal_
std::vector< Level > activeLevels_
void beginSubRunIfNotDoneAlready()
detail::ExceptionCollector ec_
ServiceDirector initServices_(fhicl::ParameterSet const &top_pset, ActivityRegistry &areg, ServiceToken &token)
static auto createInvalid()
void respondToOpenInputFile()
EventProcessor(EventProcessor const &)=delete
void setSubRunAuxiliaryRangeSetID()
void openAllOutputFiles()
cet::coded_exception< error, detail::translate > exception
void terminateAbnormally_()
void respondToCloseOutputFiles()