1 #ifndef FWCore_Framework_OccurrenceTraits_h 2 #define FWCore_Framework_OccurrenceTraits_h 34 template <
typename T, BranchActionType B>
44 static bool constexpr begin_ =
true;
45 static bool constexpr isEvent_ =
true;
55 a->preEventSignal_(*streamContext);
58 a->postEventSignal_(*streamContext);
61 a->prePathEventSignal_(*pathContext->
streamContext(), *pathContext);
77 static bool constexpr begin_ =
true;
78 static bool constexpr isEvent_ =
false;
91 a->preGlobalBeginRunSignal_(*globalContext);
94 a->postGlobalBeginRunSignal_(*globalContext);
101 a->preModuleGlobalBeginRunSignal_(*globalContext, *moduleCallingContext);
106 a->postModuleGlobalBeginRunSignal_(*globalContext, *moduleCallingContext);
118 static bool constexpr begin_ =
true;
119 static bool constexpr isEvent_ =
false;
131 a->preStreamBeginRunSignal_(*streamContext);
134 a->postStreamBeginRunSignal_(*streamContext);
141 a->preModuleStreamBeginRunSignal_(*streamContext, *moduleCallingContext);
146 a->postModuleStreamBeginRunSignal_(*streamContext, *moduleCallingContext);
158 static bool constexpr begin_ =
false;
159 static bool constexpr isEvent_ =
false;
171 a->preStreamEndRunSignal_(*streamContext);
174 a->postStreamEndRunSignal_(*streamContext);
181 a->preModuleStreamEndRunSignal_(*streamContext, *moduleCallingContext);
186 a->postModuleStreamEndRunSignal_(*streamContext, *moduleCallingContext);
198 static bool constexpr begin_ =
false;
199 static bool constexpr isEvent_ =
false;
212 a->preGlobalEndRunSignal_(*globalContext);
215 a->postGlobalEndRunSignal_(*globalContext);
222 a->preModuleGlobalEndRunSignal_(*globalContext, *moduleCallingContext);
227 a->postModuleGlobalEndRunSignal_(*globalContext, *moduleCallingContext);
239 static bool constexpr begin_ =
true;
240 static bool constexpr isEvent_ =
false;
253 a->preGlobalBeginLumiSignal_(*globalContext);
256 a->postGlobalBeginLumiSignal_(*globalContext);
263 a->preModuleGlobalBeginLumiSignal_(*globalContext, *moduleCallingContext);
268 a->postModuleGlobalBeginLumiSignal_(*globalContext, *moduleCallingContext);
280 static bool constexpr begin_ =
true;
281 static bool constexpr isEvent_ =
false;
293 a->preStreamBeginLumiSignal_(*streamContext);
296 a->postStreamBeginLumiSignal_(*streamContext);
303 a->preModuleStreamBeginLumiSignal_(*streamContext, *moduleCallingContext);
308 a->postModuleStreamBeginLumiSignal_(*streamContext, *moduleCallingContext);
320 static bool constexpr begin_ =
false;
321 static bool constexpr isEvent_ =
false;
335 a->preStreamEndLumiSignal_(*streamContext);
338 a->postStreamEndLumiSignal_(*streamContext);
345 a->preModuleStreamEndLumiSignal_(*streamContext, *moduleCallingContext);
350 a->postModuleStreamEndLumiSignal_(*streamContext, *moduleCallingContext);
362 static bool constexpr begin_ =
false;
363 static bool constexpr isEvent_ =
false;
376 a->preGlobalEndLumiSignal_(*globalContext);
379 a->postGlobalEndLumiSignal_(*globalContext);
386 a->preModuleGlobalEndLumiSignal_(*globalContext, *moduleCallingContext);
391 a->postModuleGlobalEndLumiSignal_(*globalContext, *moduleCallingContext);
403 static bool constexpr isEvent_ =
false;
416 a->preBeginProcessBlockSignal_(*globalContext);
419 a->postBeginProcessBlockSignal_(*globalContext);
424 a->preModuleBeginProcessBlockSignal_(*globalContext, *moduleCallingContext);
429 a->postModuleBeginProcessBlockSignal_(*globalContext, *moduleCallingContext);
441 static bool constexpr isEvent_ =
false;
454 a->preAccessInputProcessBlockSignal_(*globalContext);
457 a->postAccessInputProcessBlockSignal_(*globalContext);
462 a->preModuleAccessInputProcessBlockSignal_(*globalContext, *moduleCallingContext);
467 a->postModuleAccessInputProcessBlockSignal_(*globalContext, *moduleCallingContext);
479 static bool constexpr isEvent_ =
false;
492 a->preEndProcessBlockSignal_(*globalContext);
495 a->postEndProcessBlockSignal_(*globalContext);
500 a->preModuleEndProcessBlockSignal_(*globalContext, *moduleCallingContext);
505 a->postModuleEndProcessBlockSignal_(*globalContext, *moduleCallingContext);
LuminosityBlockNumber_t luminosityBlock() const
static void postScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
LuminosityBlockID id() const
static StreamContext const * context(StreamContext const *s, GlobalContext const *)
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
static void prePathSignal(ActivityRegistry *, PathContext const *)
static void postModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
void setTimestamp(Timestamp const &v)
Timestamp const & endTime() const
static void preScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
static void preModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
static void preScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
static Timestamp invalidTimestamp()
static void preScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
static void postModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
static void postModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
static const char * transitionName()
RunPrincipal const & runPrincipal() const
static const char * transitionName()
static void preModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
static void setStreamContext(StreamContext &streamContext, MyPrincipal const &principal)
static void postModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
static void preModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
static void prePathSignal(ActivityRegistry *, PathContext const *)
Timestamp const & time() const
StreamContext const * streamContext() const
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
static void prePathSignal(ActivityRegistry *, PathContext const *)
static void postScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
static void setStreamContext(StreamContext &streamContext, MyPrincipal const &principal)
static void postModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
static void postModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
void setTransition(Transition v)
static RunIndex invalidRunIndex()
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
static void preModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
static void preScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Timestamp const & beginTime() const
static void postScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
void setLuminosityBlockIndex(LuminosityBlockIndex const &v)
static void postScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
static void postModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
static void postScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
static void preScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
static void postScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
static void preScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
static void postScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
static void prePathSignal(ActivityRegistry *, PathContext const *)
Timestamp const & beginTime() const
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
static LuminosityBlockIndex invalidLuminosityBlockIndex()
static void preModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Timestamp const & endTime() const
static const char * transitionName()
static void preModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
static void setStreamContext(StreamContext &streamContext, MyPrincipal const &principal)
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
static void postScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
static const char * transitionName()
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
static const char * transitionName()
static void postModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
static void preModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
static void postModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
static const char * transitionName()
static const char * transitionName()
static const char * transitionName()
static void preScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
static void prePathSignal(ActivityRegistry *, PathContext const *)
static void prePathSignal(ActivityRegistry *, PathContext const *)
static void preModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
void setEventID(EventID const &v)
static void preScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
static void setStreamContext(StreamContext &streamContext, MyPrincipal const &principal)
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
LuminosityBlockIndex index() const
static void preScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
static void postScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
static const char * transitionName()
static void postPathSignal(ActivityRegistry *a, HLTPathStatus const &status, PathContext const *pathContext)
static void preModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
static void postScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
static void prePathSignal(ActivityRegistry *, PathContext const *)
static void preScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
static void setStreamContext(StreamContext &streamContext, MyPrincipal const &principal)
static void preScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
EventID const & id() const
static void preModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
void setRunIndex(RunIndex const &v)
static void prePathSignal(ActivityRegistry *a, PathContext const *pathContext)
static const char * transitionName()
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
static void postScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
static void prePathSignal(ActivityRegistry *, PathContext const *)
static void postModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
static const char * transitionName()