CMS 3D CMS Logo

OccurrenceTraits.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_OccurrenceTraits_h
2 #define FWCore_Framework_OccurrenceTraits_h
3 
4 /*----------------------------------------------------------------------
5 
6 OccurrenceTraits:
7 
8 ----------------------------------------------------------------------*/
9 
27 
28 #include <string>
29 
30 namespace edm {
31 
32  class ProcessContext;
33 
34  template <typename T, BranchActionType B>
36 
37  template <>
39  public:
43  static BranchType constexpr branchType_ = InEvent;
44  static bool constexpr begin_ = true;
45  static bool constexpr isEvent_ = true;
46  static Transition constexpr transition_ = Transition::Event;
47 
48  static void setStreamContext(StreamContext& streamContext, MyPrincipal const& principal) {
50  streamContext.setEventID(principal.id());
51  streamContext.setTimestamp(principal.time());
52  }
53 
54  static void preScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
55  a->preEventSignal_(*streamContext);
56  }
57  static void postScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
58  a->postEventSignal_(*streamContext);
59  }
60  static void prePathSignal(ActivityRegistry* a, PathContext const* pathContext) {
61  a->prePathEventSignal_(*pathContext->streamContext(), *pathContext);
62  }
63  static void postPathSignal(ActivityRegistry* a, HLTPathStatus const& status, PathContext const* pathContext) {
64  a->postPathEventSignal_(*pathContext->streamContext(), *pathContext, status);
65  }
66 
67  static const char* transitionName() { return "Event"; }
68  };
69 
70  template <>
72  public:
76  static BranchType constexpr branchType_ = InRun;
77  static bool constexpr begin_ = true;
78  static bool constexpr isEvent_ = false;
79  static Transition constexpr transition_ = Transition::BeginRun;
80 
81  static GlobalContext makeGlobalContext(MyPrincipal const& principal, ProcessContext const* processContext) {
83  LuminosityBlockID(principal.run(), 0),
84  principal.index(),
86  principal.beginTime(),
87  processContext);
88  }
89 
90  static void preScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
91  a->preGlobalBeginRunSignal_(*globalContext);
92  }
93  static void postScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
94  a->postGlobalBeginRunSignal_(*globalContext);
95  }
96  static void prePathSignal(ActivityRegistry*, PathContext const*) {}
97  static void postPathSignal(ActivityRegistry*, HLTPathStatus const&, PathContext const*) {}
99  GlobalContext const* globalContext,
100  ModuleCallingContext const* moduleCallingContext) {
101  a->preModuleGlobalBeginRunSignal_(*globalContext, *moduleCallingContext);
102  }
104  GlobalContext const* globalContext,
105  ModuleCallingContext const* moduleCallingContext) {
106  a->postModuleGlobalBeginRunSignal_(*globalContext, *moduleCallingContext);
107  }
108  static const char* transitionName() { return "global begin Run"; }
109  };
110 
111  template <>
113  public:
117  static BranchType constexpr branchType_ = InRun;
118  static bool constexpr begin_ = true;
119  static bool constexpr isEvent_ = false;
120  static Transition constexpr transition_ = Transition::BeginRun;
121 
122  static void setStreamContext(StreamContext& streamContext, MyPrincipal const& principal) {
124  streamContext.setEventID(EventID(principal.run(), 0, 0));
125  streamContext.setRunIndex(principal.index());
127  streamContext.setTimestamp(principal.beginTime());
128  }
129 
130  static void preScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
131  a->preStreamBeginRunSignal_(*streamContext);
132  }
133  static void postScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
134  a->postStreamBeginRunSignal_(*streamContext);
135  }
136  static void prePathSignal(ActivityRegistry*, PathContext const*) {}
137  static void postPathSignal(ActivityRegistry*, HLTPathStatus const&, PathContext const*) {}
139  StreamContext const* streamContext,
140  ModuleCallingContext const* moduleCallingContext) {
141  a->preModuleStreamBeginRunSignal_(*streamContext, *moduleCallingContext);
142  }
144  StreamContext const* streamContext,
145  ModuleCallingContext const* moduleCallingContext) {
146  a->postModuleStreamBeginRunSignal_(*streamContext, *moduleCallingContext);
147  }
148  static const char* transitionName() { return "stream begin Run"; }
149  };
150 
151  template <>
153  public:
157  static BranchType constexpr branchType_ = InRun;
158  static bool constexpr begin_ = false;
159  static bool constexpr isEvent_ = false;
160  static Transition constexpr transition_ = Transition::EndRun;
161 
162  static void setStreamContext(StreamContext& streamContext, MyPrincipal const& principal) {
164  streamContext.setEventID(EventID(principal.run(), 0, 0));
165  streamContext.setRunIndex(principal.index());
167  streamContext.setTimestamp(principal.endTime());
168  }
169 
170  static void preScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
171  a->preStreamEndRunSignal_(*streamContext);
172  }
173  static void postScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
174  a->postStreamEndRunSignal_(*streamContext);
175  }
176  static void prePathSignal(ActivityRegistry*, PathContext const*) {}
177  static void postPathSignal(ActivityRegistry*, HLTPathStatus const&, PathContext const*) {}
179  StreamContext const* streamContext,
180  ModuleCallingContext const* moduleCallingContext) {
181  a->preModuleStreamEndRunSignal_(*streamContext, *moduleCallingContext);
182  }
184  StreamContext const* streamContext,
185  ModuleCallingContext const* moduleCallingContext) {
186  a->postModuleStreamEndRunSignal_(*streamContext, *moduleCallingContext);
187  }
188  static const char* transitionName() { return "stream end Run"; }
189  };
190 
191  template <>
193  public:
197  static BranchType constexpr branchType_ = InRun;
198  static bool constexpr begin_ = false;
199  static bool constexpr isEvent_ = false;
200  static Transition constexpr transition_ = Transition::EndRun;
201 
202  static GlobalContext makeGlobalContext(MyPrincipal const& principal, ProcessContext const* processContext) {
204  LuminosityBlockID(principal.run(), 0),
205  principal.index(),
207  principal.endTime(),
208  processContext);
209  }
210 
211  static void preScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
212  a->preGlobalEndRunSignal_(*globalContext);
213  }
214  static void postScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
215  a->postGlobalEndRunSignal_(*globalContext);
216  }
217  static void prePathSignal(ActivityRegistry*, PathContext const*) {}
218  static void postPathSignal(ActivityRegistry*, HLTPathStatus const&, PathContext const*) {}
220  GlobalContext const* globalContext,
221  ModuleCallingContext const* moduleCallingContext) {
222  a->preModuleGlobalEndRunSignal_(*globalContext, *moduleCallingContext);
223  }
225  GlobalContext const* globalContext,
226  ModuleCallingContext const* moduleCallingContext) {
227  a->postModuleGlobalEndRunSignal_(*globalContext, *moduleCallingContext);
228  }
229  static const char* transitionName() { return "global end Run"; }
230  };
231 
232  template <>
234  public:
238  static BranchType constexpr branchType_ = InLumi;
239  static bool constexpr begin_ = true;
240  static bool constexpr isEvent_ = false;
241  static Transition constexpr transition_ = Transition::BeginLuminosityBlock;
242 
243  static GlobalContext makeGlobalContext(MyPrincipal const& principal, ProcessContext const* processContext) {
245  principal.id(),
246  principal.runPrincipal().index(),
247  principal.index(),
248  principal.beginTime(),
249  processContext);
250  }
251 
252  static void preScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
253  a->preGlobalBeginLumiSignal_(*globalContext);
254  }
255  static void postScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
256  a->postGlobalBeginLumiSignal_(*globalContext);
257  }
258  static void prePathSignal(ActivityRegistry*, PathContext const*) {}
259  static void postPathSignal(ActivityRegistry*, HLTPathStatus const&, PathContext const*) {}
261  GlobalContext const* globalContext,
262  ModuleCallingContext const* moduleCallingContext) {
263  a->preModuleGlobalBeginLumiSignal_(*globalContext, *moduleCallingContext);
264  }
266  GlobalContext const* globalContext,
267  ModuleCallingContext const* moduleCallingContext) {
268  a->postModuleGlobalBeginLumiSignal_(*globalContext, *moduleCallingContext);
269  }
270  static const char* transitionName() { return "global begin LuminosityBlock"; }
271  };
272 
273  template <>
275  public:
279  static BranchType constexpr branchType_ = InLumi;
280  static bool constexpr begin_ = true;
281  static bool constexpr isEvent_ = false;
282  static Transition constexpr transition_ = Transition::BeginLuminosityBlock;
283 
284  static void setStreamContext(StreamContext& streamContext, MyPrincipal const& principal) {
286  streamContext.setEventID(EventID(principal.run(), principal.luminosityBlock(), 0));
287  streamContext.setRunIndex(principal.runPrincipal().index());
288  streamContext.setLuminosityBlockIndex(principal.index());
289  streamContext.setTimestamp(principal.beginTime());
290  }
291 
292  static void preScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
293  a->preStreamBeginLumiSignal_(*streamContext);
294  }
295  static void postScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
296  a->postStreamBeginLumiSignal_(*streamContext);
297  }
298  static void prePathSignal(ActivityRegistry*, PathContext const*) {}
299  static void postPathSignal(ActivityRegistry*, HLTPathStatus const&, PathContext const*) {}
301  StreamContext const* streamContext,
302  ModuleCallingContext const* moduleCallingContext) {
303  a->preModuleStreamBeginLumiSignal_(*streamContext, *moduleCallingContext);
304  }
306  StreamContext const* streamContext,
307  ModuleCallingContext const* moduleCallingContext) {
308  a->postModuleStreamBeginLumiSignal_(*streamContext, *moduleCallingContext);
309  }
310  static const char* transitionName() { return "stream begin LuminosityBlock"; }
311  };
312 
313  template <>
315  public:
319  static BranchType constexpr branchType_ = InLumi;
320  static bool constexpr begin_ = false;
321  static bool constexpr isEvent_ = false;
322  static Transition constexpr transition_ = Transition::EndLuminosityBlock;
323 
324  static StreamContext const* context(StreamContext const* s, GlobalContext const*) { return s; }
325 
326  static void setStreamContext(StreamContext& streamContext, MyPrincipal const& principal) {
328  streamContext.setEventID(EventID(principal.run(), principal.luminosityBlock(), 0));
329  streamContext.setRunIndex(principal.runPrincipal().index());
330  streamContext.setLuminosityBlockIndex(principal.index());
331  streamContext.setTimestamp(principal.endTime());
332  }
333 
334  static void preScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
335  a->preStreamEndLumiSignal_(*streamContext);
336  }
337  static void postScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
338  a->postStreamEndLumiSignal_(*streamContext);
339  }
340  static void prePathSignal(ActivityRegistry*, PathContext const*) {}
341  static void postPathSignal(ActivityRegistry*, HLTPathStatus const&, PathContext const*) {}
343  StreamContext const* streamContext,
344  ModuleCallingContext const* moduleCallingContext) {
345  a->preModuleStreamEndLumiSignal_(*streamContext, *moduleCallingContext);
346  }
348  StreamContext const* streamContext,
349  ModuleCallingContext const* moduleCallingContext) {
350  a->postModuleStreamEndLumiSignal_(*streamContext, *moduleCallingContext);
351  }
352  static const char* transitionName() { return "end stream LuminosityBlock"; }
353  };
354 
355  template <>
357  public:
361  static BranchType constexpr branchType_ = InLumi;
362  static bool constexpr begin_ = false;
363  static bool constexpr isEvent_ = false;
364  static Transition constexpr transition_ = Transition::EndLuminosityBlock;
365 
366  static GlobalContext makeGlobalContext(MyPrincipal const& principal, ProcessContext const* processContext) {
368  principal.id(),
369  principal.runPrincipal().index(),
370  principal.index(),
371  principal.beginTime(),
372  processContext);
373  }
374 
375  static void preScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
376  a->preGlobalEndLumiSignal_(*globalContext);
377  }
378  static void postScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
379  a->postGlobalEndLumiSignal_(*globalContext);
380  }
381  static void prePathSignal(ActivityRegistry*, PathContext const*) {}
382  static void postPathSignal(ActivityRegistry*, HLTPathStatus const&, PathContext const*) {}
384  GlobalContext const* globalContext,
385  ModuleCallingContext const* moduleCallingContext) {
386  a->preModuleGlobalEndLumiSignal_(*globalContext, *moduleCallingContext);
387  }
389  GlobalContext const* globalContext,
390  ModuleCallingContext const* moduleCallingContext) {
391  a->postModuleGlobalEndLumiSignal_(*globalContext, *moduleCallingContext);
392  }
393  static const char* transitionName() { return "end global LuminosityBlock"; }
394  };
395 
396  template <>
398  public:
402  static BranchType constexpr branchType_ = InProcess;
403  static bool constexpr isEvent_ = false;
404  static Transition constexpr transition_ = Transition::BeginProcessBlock;
405 
406  static GlobalContext makeGlobalContext(MyPrincipal const& principal, ProcessContext const* processContext) {
412  processContext);
413  }
414 
415  static void preScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
416  a->preBeginProcessBlockSignal_(*globalContext);
417  }
418  static void postScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
419  a->postBeginProcessBlockSignal_(*globalContext);
420  }
422  GlobalContext const* globalContext,
423  ModuleCallingContext const* moduleCallingContext) {
424  a->preModuleBeginProcessBlockSignal_(*globalContext, *moduleCallingContext);
425  }
427  GlobalContext const* globalContext,
428  ModuleCallingContext const* moduleCallingContext) {
429  a->postModuleBeginProcessBlockSignal_(*globalContext, *moduleCallingContext);
430  }
431  static const char* transitionName() { return "begin ProcessBlock"; }
432  };
433 
434  template <>
436  public:
440  static BranchType constexpr branchType_ = InProcess;
441  static bool constexpr isEvent_ = false;
442  static Transition constexpr transition_ = Transition::AccessInputProcessBlock;
443 
444  static GlobalContext makeGlobalContext(MyPrincipal const& principal, ProcessContext const* processContext) {
450  processContext);
451  }
452 
453  static void preScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
454  a->preAccessInputProcessBlockSignal_(*globalContext);
455  }
456  static void postScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
457  a->postAccessInputProcessBlockSignal_(*globalContext);
458  }
460  GlobalContext const* globalContext,
461  ModuleCallingContext const* moduleCallingContext) {
462  a->preModuleAccessInputProcessBlockSignal_(*globalContext, *moduleCallingContext);
463  }
465  GlobalContext const* globalContext,
466  ModuleCallingContext const* moduleCallingContext) {
467  a->postModuleAccessInputProcessBlockSignal_(*globalContext, *moduleCallingContext);
468  }
469  static const char* transitionName() { return "access input ProcessBlock"; }
470  };
471 
472  template <>
474  public:
478  static BranchType constexpr branchType_ = InProcess;
479  static bool constexpr isEvent_ = false;
480  static Transition constexpr transition_ = Transition::EndProcessBlock;
481 
482  static GlobalContext makeGlobalContext(MyPrincipal const& principal, ProcessContext const* processContext) {
488  processContext);
489  }
490 
491  static void preScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
492  a->preEndProcessBlockSignal_(*globalContext);
493  }
494  static void postScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
495  a->postEndProcessBlockSignal_(*globalContext);
496  }
498  GlobalContext const* globalContext,
499  ModuleCallingContext const* moduleCallingContext) {
500  a->preModuleEndProcessBlockSignal_(*globalContext, *moduleCallingContext);
501  }
503  GlobalContext const* globalContext,
504  ModuleCallingContext const* moduleCallingContext) {
505  a->postModuleEndProcessBlockSignal_(*globalContext, *moduleCallingContext);
506  }
507  static const char* transitionName() { return "end ProcessBlock"; }
508  };
509 
510 } // namespace edm
511 #endif
LuminosityBlockNumber_t luminosityBlock() const
static void postScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
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)
Definition: StreamContext.h:70
Timestamp const & endTime() const
Definition: RunPrincipal.h:69
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()
Definition: Timestamp.h:75
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 void postModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
RunPrincipal const & runPrincipal() const
RunNumber_t run() const
Definition: RunPrincipal.h:61
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
Definition: PathContext.h:31
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)
BranchType
Definition: BranchType.h:11
void setTransition(Transition v)
Definition: StreamContext.h:66
static RunIndex invalidRunIndex()
Definition: RunIndex.cc:9
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
Definition: RunPrincipal.h:67
static void postScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
void setLuminosityBlockIndex(LuminosityBlockIndex const &v)
Definition: StreamContext.h:69
static void postScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
static void preScheduleSignal(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 postScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
static void preScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
static void preModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Transition
Definition: Transition.h:12
RunIndex index() const
Definition: RunPrincipal.h:56
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 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 GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
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 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)
Definition: StreamContext.h:67
HLT enums.
static void preScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
static void setStreamContext(StreamContext &streamContext, MyPrincipal const &principal)
double a
Definition: hdecay.h:119
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 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)
Definition: StreamContext.h:68
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
static void prePathSignal(ActivityRegistry *a, PathContext const *pathContext)
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)