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 bool constexpr isEvent_ = false;
403  static Transition constexpr transition_ = Transition::BeginProcessBlock;
404 
405  static GlobalContext makeGlobalContext(MyPrincipal const& principal, ProcessContext const* processContext) {
411  processContext);
412  }
413 
414  static void preScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
415  a->preBeginProcessBlockSignal_(*globalContext);
416  }
417  static void postScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
418  a->postBeginProcessBlockSignal_(*globalContext);
419  }
421  GlobalContext const* globalContext,
422  ModuleCallingContext const* moduleCallingContext) {
423  a->preModuleBeginProcessBlockSignal_(*globalContext, *moduleCallingContext);
424  }
426  GlobalContext const* globalContext,
427  ModuleCallingContext const* moduleCallingContext) {
428  a->postModuleBeginProcessBlockSignal_(*globalContext, *moduleCallingContext);
429  }
430  static const char* transitionName() { return "begin ProcessBlock"; }
431  };
432 
433  template <>
435  public:
439  static bool constexpr isEvent_ = false;
440  static Transition constexpr transition_ = Transition::AccessInputProcessBlock;
441 
442  static GlobalContext makeGlobalContext(MyPrincipal const& principal, ProcessContext const* processContext) {
448  processContext);
449  }
450 
451  static void preScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
452  a->preAccessInputProcessBlockSignal_(*globalContext);
453  }
454  static void postScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
455  a->postAccessInputProcessBlockSignal_(*globalContext);
456  }
458  GlobalContext const* globalContext,
459  ModuleCallingContext const* moduleCallingContext) {
460  a->preModuleAccessInputProcessBlockSignal_(*globalContext, *moduleCallingContext);
461  }
463  GlobalContext const* globalContext,
464  ModuleCallingContext const* moduleCallingContext) {
465  a->postModuleAccessInputProcessBlockSignal_(*globalContext, *moduleCallingContext);
466  }
467  static const char* transitionName() { return "access input ProcessBlock"; }
468  };
469 
470  template <>
472  public:
476  static bool constexpr isEvent_ = false;
477  static Transition constexpr transition_ = Transition::EndProcessBlock;
478 
479  static GlobalContext makeGlobalContext(MyPrincipal const& principal, ProcessContext const* processContext) {
485  processContext);
486  }
487 
488  static void preScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
489  a->preEndProcessBlockSignal_(*globalContext);
490  }
491  static void postScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
492  a->postEndProcessBlockSignal_(*globalContext);
493  }
495  GlobalContext const* globalContext,
496  ModuleCallingContext const* moduleCallingContext) {
497  a->preModuleEndProcessBlockSignal_(*globalContext, *moduleCallingContext);
498  }
500  GlobalContext const* globalContext,
501  ModuleCallingContext const* moduleCallingContext) {
502  a->postModuleEndProcessBlockSignal_(*globalContext, *moduleCallingContext);
503  }
504  static const char* transitionName() { return "end ProcessBlock"; }
505  };
506 
507 } // namespace edm
508 #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:69
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:82
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:65
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:68
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:57
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:66
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:67
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)