1 #ifndef art_Framework_Core_EndPathExecutor_h 2 #define art_Framework_Core_EndPathExecutor_h 28 #include "hep_concurrency/WaitingTask.h" 36 class GlobalTaskGroup;
38 class SharedResources;
64 void respondToCloseOutputFiles(
FileBlock const&
fb);
65 bool someOutputsOpen()
const;
66 void closeAllOutputFiles();
69 void setRunAuxiliaryRangeSetID(
RangeSet const& rs);
73 void setSubRunAuxiliaryRangeSetID(
RangeSet const& rs);
84 void process_event(hep::concurrency::WaitingTaskPtr finalizeEventTask,
93 bool outputsToClose()
const;
102 void closeSomeOutputFiles();
104 bool outputsToOpen()
const;
117 void incrementInputFileNumber();
128 std::vector<OutputWorker*> outputWorkers_{};
130 std::unique_ptr<RangeSetHandler> runRangeSetHandler_{
nullptr};
132 std::unique_ptr<RangeSetHandler> subRunRangeSetHandler_{
nullptr};
136 std::set<OutputWorker*> outputWorkersToOpen_{};
144 std::set<OutputWorker*> outputWorkersToClose_{};
ScheduleContext const sc_
ActionTable const & actionTable_
GlobalTaskGroup & taskGroup_