1 #ifndef FWCore_Framework_Path_h 2 #define FWCore_Framework_Path_h 35 class ModuleDescription;
36 class PathStatusInserter;
38 class LuminosityBlockPrincipal;
57 std::shared_ptr<ActivityRegistry> reg,
59 std::atomic<bool>* stopProcessEvent,
66 typename T::MyPrincipal
const&,
70 typename T::Context
const*);
162 unsigned int iModuleIndex,
177 template <
typename T>
178 class PathSignalSentry {
188 ~PathSignalSentry() {
202 template <
typename T>
204 typename T::MyPrincipal
const&
p,
208 typename T::Context
const* context) {
210 worker.runWorkerAsync<
T>(
task,
p, es, token, streamID, context);
std::string const & pathName() const
void recordStatus(int nwrwue, bool isEvent)
void handleEarlyFinish(EventPrincipal const &)
roAction_t actions[nactions]
int timesFailed(size_type i) const
std::vector< EarlyDeleteHelper * > earlyDeleteHelpers_
std::vector< WorkerInPath > WorkersInPath
WorkersInPath::size_type size_type
HLTState
status of a trigger path
int timesPassed(size_type i) const
WaitingTaskList waitingTasks_
void processOneOccurrenceAsync(WaitingTask *, EventPrincipal const &, EventSetupImpl const &, ServiceToken const &, StreamID const &, StreamContext const *)
void setPathStatusInserter(PathStatusInserter *pathStatusInserter, Worker *pathStatusInserterWorker)
std::shared_ptr< ActivityRegistry > actReg_
std::shared_ptr< HLTGlobalStatus > TrigResPtr
void handleEarlyFinish(LuminosityBlockPrincipal const &)
void handleEarlyFinish(RunPrincipal const &)
static void exceptionContext(cms::Exception &ex, bool isEvent, bool begin, BranchType branchType, ModuleDescription const &, std::string const &id, PathContext const &)
void updateCounters(bool succeed, bool isEvent)
Path(int bitpos, std::string const &path_name, WorkersInPath const &workers, TrigResPtr trptr, ExceptionToActionTable const &actions, std::shared_ptr< ActivityRegistry > reg, StreamContext const *streamContext, std::atomic< bool > *stopProcessEvent, PathContext::PathType pathType)
int timesVisited(size_type i) const
bool handleWorkerFailure(cms::Exception &e, int nwrwue, bool isEvent, bool begin, BranchType branchType, ModuleDescription const &, std::string const &id)
void setEarlyDeleteHelpers(std::map< const Worker *, EarlyDeleteHelper * > const &)
ExceptionToActionTable const * act_table_
Path const & operator=(Path const &)=delete
std::string const & name() const
Worker const * getWorker(size_type i) const
void finished(int iModuleIndex, bool iSucceeded, std::exception_ptr, StreamContext const *, EventPrincipal const &iEP, EventSetupImpl const &iES, StreamID const &streamID)
int timesExcept(size_type i) const
void runNextWorkerAsync(unsigned int iNextModuleIndex, EventPrincipal const &, EventSetupImpl const &, ServiceToken const &, StreamID const &, StreamContext const *)
void runAllModulesAsync(WaitingTask *, typename T::MyPrincipal const &, EventSetupImpl const &, ServiceToken const &, StreamID const &, typename T::Context const *)
std::atomic< bool > * stopProcessingEvent_
def branchType(schema, name)
Worker * pathStatusInserterWorker_
void workerFinished(std::exception_ptr const *iException, unsigned int iModuleIndex, EventPrincipal const &iEP, EventSetupImpl const &iES, ServiceToken const &iToken, StreamID const &iID, StreamContext const *iContext)
PathStatusInserter * pathStatusInserter_