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
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
Definition: OccurrenceTraits.h:173
edm::Transition::EndProcessBlock
edm::EventTransitionInfo
Definition: TransitionInfoTypes.h:26
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::postPathSignal
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
Definition: OccurrenceTraits.h:299
edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionGlobalEnd >::preScheduleSignal
static void preScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:488
edm::RunPrincipal::endTime
Timestamp const & endTime() const
Definition: RunPrincipal.h:69
edm::LuminosityBlockPrincipal::runPrincipal
RunPrincipal const & runPrincipal() const
Definition: LuminosityBlockPrincipal.h:45
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::transitionName
static const char * transitionName()
Definition: OccurrenceTraits.h:148
ModuleCallingContext.h
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::preScheduleSignal
static void preScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:252
edm::OccurrenceTraits< EventPrincipal, BranchActionStreamBegin >::transitionName
static const char * transitionName()
Definition: OccurrenceTraits.h:67
edm::ProcessBlockTransitionInfo
Definition: TransitionInfoTypes.h:80
edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionProcessBlockInput >::transitionName
static const char * transitionName()
Definition: OccurrenceTraits.h:467
edm::PathContext::streamContext
StreamContext const * streamContext() const
Definition: PathContext.h:31
edm::OccurrenceTraits< EventPrincipal, BranchActionStreamBegin >::setStreamContext
static void setStreamContext(StreamContext &streamContext, MyPrincipal const &principal)
Definition: OccurrenceTraits.h:48
edm::StreamContext::setTransition
void setTransition(Transition v)
Definition: StreamContext.h:65
edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionProcessBlockInput >::makeGlobalContext
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
Definition: OccurrenceTraits.h:442
edm::LumiTransitionInfo
Definition: TransitionInfoTypes.h:42
mps_update.status
status
Definition: mps_update.py:69
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionGlobalEnd >::makeGlobalContext
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
Definition: OccurrenceTraits.h:479
edm::Transition::Event
edm::ProcessContext
Definition: ProcessContext.h:27
edm::OccurrenceTraits< EventPrincipal, BranchActionStreamBegin >::prePathSignal
static void prePathSignal(ActivityRegistry *a, PathContext const *pathContext)
Definition: OccurrenceTraits.h:60
edm::StreamContext::Transition::kBeginRun
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalEnd >::postPathSignal
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
Definition: OccurrenceTraits.h:218
edm::StreamContext::setTimestamp
void setTimestamp(Timestamp const &v)
Definition: StreamContext.h:69
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::setStreamContext
static void setStreamContext(StreamContext &streamContext, MyPrincipal const &principal)
Definition: OccurrenceTraits.h:326
edm::LuminosityBlockPrincipal
Definition: LuminosityBlockPrincipal.h:31
edm::StreamContext::setLuminosityBlockIndex
void setLuminosityBlockIndex(LuminosityBlockIndex const &v)
Definition: StreamContext.h:68
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::postPathSignal
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
Definition: OccurrenceTraits.h:382
ProcessBlockPrincipal.h
edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionGlobalBegin >::transitionName
static const char * transitionName()
Definition: OccurrenceTraits.h:430
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalEnd >::transitionName
static const char * transitionName()
Definition: OccurrenceTraits.h:229
edm::StreamContext::Transition::kEndRun
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::postModuleSignal
static void postModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:388
edm::GlobalContext::Transition::kAccessInputProcessBlock
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalEnd >::preModuleSignal
static void preModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:219
edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionGlobalEnd >::transitionName
static const char * transitionName()
Definition: OccurrenceTraits.h:504
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
Definition: OccurrenceTraits.h:133
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::prePathSignal
static void prePathSignal(ActivityRegistry *, PathContext const *)
Definition: OccurrenceTraits.h:258
edm::LuminosityBlockPrincipal::run
RunNumber_t run() const
Definition: LuminosityBlockPrincipal.h:66
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::postModuleSignal
static void postModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:265
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::preModuleSignal
static void preModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:138
edm::RunTransitionInfo
Definition: TransitionInfoTypes.h:64
edm::EventPrincipal::id
EventID const & id() const
Definition: EventPrincipal.h:92
edm::BranchActionGlobalBegin
Definition: BranchActionType.h:12
edm::InRun
Definition: BranchType.h:11
edm::ProcessBlockPrincipal
Definition: ProcessBlockPrincipal.h:22
LuminosityBlockID.h
edm::GlobalContext::Transition::kEndRun
edm::BranchType
BranchType
Definition: BranchType.h:11
edm::OccurrenceTraits< EventPrincipal, BranchActionStreamBegin >::preScheduleSignal
static void preScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
Definition: OccurrenceTraits.h:54
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalBegin >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:93
ModuleDescription.h
ActivityRegistry.h
edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionGlobalBegin >::makeGlobalContext
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
Definition: OccurrenceTraits.h:405
BranchActionType.h
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::prePathSignal
static void prePathSignal(ActivityRegistry *, PathContext const *)
Definition: OccurrenceTraits.h:340
edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionGlobalBegin >::preScheduleSignal
static void preScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:414
edm::OccurrenceTraits< EventPrincipal, BranchActionStreamBegin >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
Definition: OccurrenceTraits.h:57
edm::RunPrincipal::beginTime
Timestamp const & beginTime() const
Definition: RunPrincipal.h:67
alignCSCRings.s
s
Definition: alignCSCRings.py:92
edm::EventPrincipal::time
Timestamp const & time() const
Definition: EventPrincipal.h:94
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:378
edm::EventPrincipal
Definition: EventPrincipal.h:46
edm::StreamContext
Definition: StreamContext.h:31
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::preScheduleSignal
static void preScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
Definition: OccurrenceTraits.h:170
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::preModuleSignal
static void preModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:342
edm::BranchActionProcessBlockInput
Definition: BranchActionType.h:16
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:255
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::makeGlobalContext
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
Definition: OccurrenceTraits.h:243
EventPrincipal.h
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
Definition: OccurrenceTraits.h:337
edm::ActivityRegistry
Definition: ActivityRegistry.h:134
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::preScheduleSignal
static void preScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
Definition: OccurrenceTraits.h:334
edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionGlobalBegin >::postModuleSignal
static void postModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:425
edm::StreamContext::Transition::kBeginLuminosityBlock
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalEnd >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:214
edm::GlobalContext::Transition::kEndLuminosityBlock
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::preModuleSignal
static void preModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:178
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::setStreamContext
static void setStreamContext(StreamContext &streamContext, MyPrincipal const &principal)
Definition: OccurrenceTraits.h:284
edm::StreamContext::Transition::kEndLuminosityBlock
edm::InEvent
Definition: BranchType.h:11
Transition.h
edm::OccurrenceTraits
Definition: OccurrenceTraits.h:35
edm::Transition::BeginLuminosityBlock
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::transitionName
static const char * transitionName()
Definition: OccurrenceTraits.h:270
edm::LuminosityBlockID
Definition: LuminosityBlockID.h:31
edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionGlobalEnd >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:491
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::transitionName
static const char * transitionName()
Definition: OccurrenceTraits.h:188
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::preModuleSignal
static void preModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:260
RunIndex.h
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::context
static StreamContext const * context(StreamContext const *s, GlobalContext const *)
Definition: OccurrenceTraits.h:324
edm::RunPrincipal::index
RunIndex index() const
Definition: RunPrincipal.h:57
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::prePathSignal
static void prePathSignal(ActivityRegistry *, PathContext const *)
Definition: OccurrenceTraits.h:176
edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionGlobalBegin >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:417
edm::GlobalContext
Definition: GlobalContext.h:29
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::setStreamContext
static void setStreamContext(StreamContext &streamContext, MyPrincipal const &principal)
Definition: OccurrenceTraits.h:162
edm::Transition
Transition
Definition: Transition.h:12
a
double a
Definition: hdecay.h:119
GlobalContext.h
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::transitionName
static const char * transitionName()
Definition: OccurrenceTraits.h:352
edm::LuminosityBlockIndex::invalidLuminosityBlockIndex
static LuminosityBlockIndex invalidLuminosityBlockIndex()
Definition: LuminosityBlockIndex.cc:9
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalBegin >::makeGlobalContext
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
Definition: OccurrenceTraits.h:81
edm::GlobalContext::Transition::kEndProcessBlock
edm::InLumi
Definition: BranchType.h:11
edm::PathContext
Definition: PathContext.h:24
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::preScheduleSignal
static void preScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
Definition: OccurrenceTraits.h:130
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalEnd >::preScheduleSignal
static void preScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:211
edm::BranchActionStreamBegin
Definition: BranchActionType.h:13
RunPrincipal.h
edm::HLTPathStatus
Definition: HLTPathStatus.h:33
edm::RunPrincipal::run
RunNumber_t run() const
Definition: RunPrincipal.h:61
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalBegin >::transitionName
static const char * transitionName()
Definition: OccurrenceTraits.h:108
edm::GlobalContext::Transition::kBeginLuminosityBlock
edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionProcessBlockInput >::preScheduleSignal
static void preScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:451
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::postModuleSignal
static void postModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:183
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalBegin >::preScheduleSignal
static void preScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:90
edm::StreamContext::setEventID
void setEventID(EventID const &v)
Definition: StreamContext.h:66
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalEnd >::postModuleSignal
static void postModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:224
edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionProcessBlockInput >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:454
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalBegin >::prePathSignal
static void prePathSignal(ActivityRegistry *, PathContext const *)
Definition: OccurrenceTraits.h:96
edm::StreamContext::Transition::kEvent
edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionProcessBlockInput >::preModuleSignal
static void preModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:457
edm::Transition::BeginProcessBlock
PathContext.h
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::transitionName
static const char * transitionName()
Definition: OccurrenceTraits.h:310
edm::RunIndex::invalidRunIndex
static RunIndex invalidRunIndex()
Definition: RunIndex.cc:9
LuminosityBlockPrincipal.h
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::postModuleSignal
static void postModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:305
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::postModuleSignal
static void postModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:143
edm::Transition::AccessInputProcessBlock
edm::LuminosityBlockPrincipal::luminosityBlock
LuminosityBlockNumber_t luminosityBlock() const
Definition: LuminosityBlockPrincipal.h:61
edm::Timestamp::invalidTimestamp
static Timestamp invalidTimestamp()
Definition: Timestamp.h:82
ParentContext.h
edm::Transition::EndLuminosityBlock
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::transitionName
static const char * transitionName()
Definition: OccurrenceTraits.h:393
edm::BranchActionGlobalEnd
Definition: BranchActionType.h:15
edm::StreamContext::setRunIndex
void setRunIndex(RunIndex const &v)
Definition: StreamContext.h:67
edm::LuminosityBlockPrincipal::id
LuminosityBlockID id() const
Definition: LuminosityBlockPrincipal.h:53
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::postPathSignal
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
Definition: OccurrenceTraits.h:259
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::postPathSignal
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
Definition: OccurrenceTraits.h:137
edm::Transition::BeginRun
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::preModuleSignal
static void preModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:383
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::preScheduleSignal
static void preScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:375
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalBegin >::preModuleSignal
static void preModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:98
edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionGlobalBegin >::preModuleSignal
static void preModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:420
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::prePathSignal
static void prePathSignal(ActivityRegistry *, PathContext const *)
Definition: OccurrenceTraits.h:136
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalEnd >::prePathSignal
static void prePathSignal(ActivityRegistry *, PathContext const *)
Definition: OccurrenceTraits.h:217
LuminosityBlockIndex.h
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalEnd >::makeGlobalContext
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
Definition: OccurrenceTraits.h:202
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::postPathSignal
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
Definition: OccurrenceTraits.h:341
TransitionInfoTypes.h
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::postModuleSignal
static void postModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:347
edm::LuminosityBlockPrincipal::endTime
Timestamp const & endTime() const
Definition: LuminosityBlockPrincipal.h:57
edm::GlobalContext::Transition::kBeginProcessBlock
edm::LuminosityBlockPrincipal::index
LuminosityBlockIndex index() const
Definition: LuminosityBlockPrincipal.h:51
edm::LuminosityBlockPrincipal::beginTime
Timestamp const & beginTime() const
Definition: LuminosityBlockPrincipal.h:55
StreamContext.h
edm::RunPrincipal
Definition: RunPrincipal.h:34
edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionGlobalEnd >::postModuleSignal
static void postModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:499
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::preModuleSignal
static void preModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:300
edm::EventID
Definition: EventID.h:31
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalBegin >::postPathSignal
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
Definition: OccurrenceTraits.h:97
edm::Transition::EndRun
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::postPathSignal
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
Definition: OccurrenceTraits.h:177
edm::BranchActionStreamEnd
Definition: BranchActionType.h:14
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::prePathSignal
static void prePathSignal(ActivityRegistry *, PathContext const *)
Definition: OccurrenceTraits.h:381
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::makeGlobalContext
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
Definition: OccurrenceTraits.h:366
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
Definition: OccurrenceTraits.h:295
edm::OccurrenceTraits< EventPrincipal, BranchActionStreamBegin >::postPathSignal
static void postPathSignal(ActivityRegistry *a, HLTPathStatus const &status, PathContext const *pathContext)
Definition: OccurrenceTraits.h:63
edm::GlobalContext::Transition::kBeginRun
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::preScheduleSignal
static void preScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
Definition: OccurrenceTraits.h:292
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalBegin >::postModuleSignal
static void postModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:103
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::prePathSignal
static void prePathSignal(ActivityRegistry *, PathContext const *)
Definition: OccurrenceTraits.h:298
edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionProcessBlockInput >::postModuleSignal
static void postModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:462
edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionGlobalEnd >::preModuleSignal
static void preModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:494
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::setStreamContext
static void setStreamContext(StreamContext &streamContext, MyPrincipal const &principal)
Definition: OccurrenceTraits.h:122
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29