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 
23 
24 #include <string>
25 
26 namespace edm {
27 
28  class ProcessContext;
29 
30  template <typename T, BranchActionType B>
32 
33  template <>
35  public:
38  static BranchType constexpr branchType_ = InEvent;
39  static bool constexpr begin_ = true;
40  static bool constexpr isEvent_ = true;
41 
42  static void setStreamContext(StreamContext& streamContext, MyPrincipal const& principal) {
44  streamContext.setEventID(principal.id());
45  streamContext.setTimestamp(principal.time());
46  }
47 
48  static void preScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
49  a->preEventSignal_(*streamContext);
50  }
51  static void postScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
52  a->postEventSignal_(*streamContext);
53  }
54  static void prePathSignal(ActivityRegistry* a, PathContext const* pathContext) {
55  a->prePathEventSignal_(*pathContext->streamContext(), *pathContext);
56  }
57  static void postPathSignal(ActivityRegistry* a, HLTPathStatus const& status, PathContext const* pathContext) {
58  a->postPathEventSignal_(*pathContext->streamContext(), *pathContext, status);
59  }
60 
61  static const char* transitionName() { return "Event"; }
62  };
63 
64  template <>
66  public:
69  static BranchType constexpr branchType_ = InRun;
70  static bool constexpr begin_ = true;
71  static bool constexpr isEvent_ = false;
72 
73  static GlobalContext makeGlobalContext(MyPrincipal const& principal, ProcessContext const* processContext) {
75  LuminosityBlockID(principal.run(), 0),
76  principal.index(),
78  principal.beginTime(),
79  processContext);
80  }
81 
82  static void preScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
83  a->preGlobalBeginRunSignal_(*globalContext);
84  }
85  static void postScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
86  a->postGlobalBeginRunSignal_(*globalContext);
87  }
88  static void prePathSignal(ActivityRegistry*, PathContext const*) {}
89  static void postPathSignal(ActivityRegistry*, HLTPathStatus const&, PathContext const*) {}
91  GlobalContext const* globalContext,
92  ModuleCallingContext const* moduleCallingContext) {
93  a->preModuleGlobalBeginRunSignal_(*globalContext, *moduleCallingContext);
94  }
96  GlobalContext const* globalContext,
97  ModuleCallingContext const* moduleCallingContext) {
98  a->postModuleGlobalBeginRunSignal_(*globalContext, *moduleCallingContext);
99  }
100  static const char* transitionName() { return "global begin Run"; }
101  };
102 
103  template <>
105  public:
108  static BranchType constexpr branchType_ = InRun;
109  static bool constexpr begin_ = true;
110  static bool constexpr isEvent_ = false;
111 
112  static void setStreamContext(StreamContext& streamContext, MyPrincipal const& principal) {
114  streamContext.setEventID(EventID(principal.run(), 0, 0));
115  streamContext.setRunIndex(principal.index());
117  streamContext.setTimestamp(principal.beginTime());
118  }
119 
120  static void preScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
121  a->preStreamBeginRunSignal_(*streamContext);
122  }
123  static void postScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
124  a->postStreamBeginRunSignal_(*streamContext);
125  }
126  static void prePathSignal(ActivityRegistry*, PathContext const*) {}
127  static void postPathSignal(ActivityRegistry*, HLTPathStatus const&, PathContext const*) {}
129  StreamContext const* streamContext,
130  ModuleCallingContext const* moduleCallingContext) {
131  a->preModuleStreamBeginRunSignal_(*streamContext, *moduleCallingContext);
132  }
134  StreamContext const* streamContext,
135  ModuleCallingContext const* moduleCallingContext) {
136  a->postModuleStreamBeginRunSignal_(*streamContext, *moduleCallingContext);
137  }
138  static const char* transitionName() { return "stream begin Run"; }
139  };
140 
141  template <>
143  public:
146  static BranchType constexpr branchType_ = InRun;
147  static bool constexpr begin_ = false;
148  static bool constexpr isEvent_ = false;
149 
150  static void setStreamContext(StreamContext& streamContext, MyPrincipal const& principal) {
152  streamContext.setEventID(EventID(principal.run(), 0, 0));
153  streamContext.setRunIndex(principal.index());
155  streamContext.setTimestamp(principal.endTime());
156  }
157 
158  static void preScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
159  a->preStreamEndRunSignal_(*streamContext);
160  }
161  static void postScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
162  a->postStreamEndRunSignal_(*streamContext);
163  }
164  static void prePathSignal(ActivityRegistry*, PathContext const*) {}
165  static void postPathSignal(ActivityRegistry*, HLTPathStatus const&, PathContext const*) {}
167  StreamContext const* streamContext,
168  ModuleCallingContext const* moduleCallingContext) {
169  a->preModuleStreamEndRunSignal_(*streamContext, *moduleCallingContext);
170  }
172  StreamContext const* streamContext,
173  ModuleCallingContext const* moduleCallingContext) {
174  a->postModuleStreamEndRunSignal_(*streamContext, *moduleCallingContext);
175  }
176  static const char* transitionName() { return "stream end Run"; }
177  };
178 
179  template <>
181  public:
184  static BranchType constexpr branchType_ = InRun;
185  static bool constexpr begin_ = false;
186  static bool constexpr isEvent_ = false;
187 
188  static GlobalContext makeGlobalContext(MyPrincipal const& principal, ProcessContext const* processContext) {
190  LuminosityBlockID(principal.run(), 0),
191  principal.index(),
193  principal.endTime(),
194  processContext);
195  }
196 
197  static void preScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
198  a->preGlobalEndRunSignal_(*globalContext);
199  }
200  static void postScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
201  a->postGlobalEndRunSignal_(*globalContext);
202  }
203  static void prePathSignal(ActivityRegistry*, PathContext const*) {}
204  static void postPathSignal(ActivityRegistry*, HLTPathStatus const&, PathContext const*) {}
206  GlobalContext const* globalContext,
207  ModuleCallingContext const* moduleCallingContext) {
208  a->preModuleGlobalEndRunSignal_(*globalContext, *moduleCallingContext);
209  }
211  GlobalContext const* globalContext,
212  ModuleCallingContext const* moduleCallingContext) {
213  a->postModuleGlobalEndRunSignal_(*globalContext, *moduleCallingContext);
214  }
215  static const char* transitionName() { return "global end Run"; }
216  };
217 
218  template <>
220  public:
223  static BranchType constexpr branchType_ = InLumi;
224  static bool constexpr begin_ = true;
225  static bool constexpr isEvent_ = false;
226 
227  static GlobalContext makeGlobalContext(MyPrincipal const& principal, ProcessContext const* processContext) {
229  principal.id(),
230  principal.runPrincipal().index(),
231  principal.index(),
232  principal.beginTime(),
233  processContext);
234  }
235 
236  static void preScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
237  a->preGlobalBeginLumiSignal_(*globalContext);
238  }
239  static void postScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
240  a->postGlobalBeginLumiSignal_(*globalContext);
241  }
242  static void prePathSignal(ActivityRegistry*, PathContext const*) {}
243  static void postPathSignal(ActivityRegistry*, HLTPathStatus const&, PathContext const*) {}
245  GlobalContext const* globalContext,
246  ModuleCallingContext const* moduleCallingContext) {
247  a->preModuleGlobalBeginLumiSignal_(*globalContext, *moduleCallingContext);
248  }
250  GlobalContext const* globalContext,
251  ModuleCallingContext const* moduleCallingContext) {
252  a->postModuleGlobalBeginLumiSignal_(*globalContext, *moduleCallingContext);
253  }
254  static const char* transitionName() { return "global begin LuminosityBlock"; }
255  };
256 
257  template <>
259  public:
262  static BranchType constexpr branchType_ = InLumi;
263  static bool constexpr begin_ = true;
264  static bool constexpr isEvent_ = false;
265 
266  static void setStreamContext(StreamContext& streamContext, MyPrincipal const& principal) {
268  streamContext.setEventID(EventID(principal.run(), principal.luminosityBlock(), 0));
269  streamContext.setRunIndex(principal.runPrincipal().index());
270  streamContext.setLuminosityBlockIndex(principal.index());
271  streamContext.setTimestamp(principal.beginTime());
272  }
273 
274  static void preScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
275  a->preStreamBeginLumiSignal_(*streamContext);
276  }
277  static void postScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
278  a->postStreamBeginLumiSignal_(*streamContext);
279  }
280  static void prePathSignal(ActivityRegistry*, PathContext const*) {}
281  static void postPathSignal(ActivityRegistry*, HLTPathStatus const&, PathContext const*) {}
283  StreamContext const* streamContext,
284  ModuleCallingContext const* moduleCallingContext) {
285  a->preModuleStreamBeginLumiSignal_(*streamContext, *moduleCallingContext);
286  }
288  StreamContext const* streamContext,
289  ModuleCallingContext const* moduleCallingContext) {
290  a->postModuleStreamBeginLumiSignal_(*streamContext, *moduleCallingContext);
291  }
292  static const char* transitionName() { return "stream begin LuminosityBlock"; }
293  };
294 
295  template <>
297  public:
300  static BranchType constexpr branchType_ = InLumi;
301  static bool constexpr begin_ = false;
302  static bool constexpr isEvent_ = false;
303 
304  static StreamContext const* context(StreamContext const* s, GlobalContext const*) { return s; }
305 
306  static void setStreamContext(StreamContext& streamContext, MyPrincipal const& principal) {
308  streamContext.setEventID(EventID(principal.run(), principal.luminosityBlock(), 0));
309  streamContext.setRunIndex(principal.runPrincipal().index());
310  streamContext.setLuminosityBlockIndex(principal.index());
311  streamContext.setTimestamp(principal.endTime());
312  }
313 
314  static void preScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
315  a->preStreamEndLumiSignal_(*streamContext);
316  }
317  static void postScheduleSignal(ActivityRegistry* a, StreamContext const* streamContext) {
318  a->postStreamEndLumiSignal_(*streamContext);
319  }
320  static void prePathSignal(ActivityRegistry*, PathContext const*) {}
321  static void postPathSignal(ActivityRegistry*, HLTPathStatus const&, PathContext const*) {}
323  StreamContext const* streamContext,
324  ModuleCallingContext const* moduleCallingContext) {
325  a->preModuleStreamEndLumiSignal_(*streamContext, *moduleCallingContext);
326  }
328  StreamContext const* streamContext,
329  ModuleCallingContext const* moduleCallingContext) {
330  a->postModuleStreamEndLumiSignal_(*streamContext, *moduleCallingContext);
331  }
332  static const char* transitionName() { return "end stream LuminosityBlock"; }
333  };
334 
335  template <>
337  public:
340  static BranchType constexpr branchType_ = InLumi;
341  static bool constexpr begin_ = false;
342  static bool constexpr isEvent_ = false;
343 
344  static GlobalContext makeGlobalContext(MyPrincipal const& principal, ProcessContext const* processContext) {
346  principal.id(),
347  principal.runPrincipal().index(),
348  principal.index(),
349  principal.beginTime(),
350  processContext);
351  }
352 
353  static void preScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
354  a->preGlobalEndLumiSignal_(*globalContext);
355  }
356  static void postScheduleSignal(ActivityRegistry* a, GlobalContext const* globalContext) {
357  a->postGlobalEndLumiSignal_(*globalContext);
358  }
359  static void prePathSignal(ActivityRegistry*, PathContext const*) {}
360  static void postPathSignal(ActivityRegistry*, HLTPathStatus const&, PathContext const*) {}
362  GlobalContext const* globalContext,
363  ModuleCallingContext const* moduleCallingContext) {
364  a->preModuleGlobalEndLumiSignal_(*globalContext, *moduleCallingContext);
365  }
367  GlobalContext const* globalContext,
368  ModuleCallingContext const* moduleCallingContext) {
369  a->postModuleGlobalEndLumiSignal_(*globalContext, *moduleCallingContext);
370  }
371  static const char* transitionName() { return "end global LuminosityBlock"; }
372  };
373 } // namespace edm
374 #endif
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
Definition: OccurrenceTraits.h:161
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::postPathSignal
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
Definition: OccurrenceTraits.h:281
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::Context
StreamContext Context
Definition: OccurrenceTraits.h:145
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::Context
StreamContext Context
Definition: OccurrenceTraits.h:261
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:138
ModuleCallingContext.h
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::preScheduleSignal
static void preScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:236
edm::OccurrenceTraits< EventPrincipal, BranchActionStreamBegin >::transitionName
static const char * transitionName()
Definition: OccurrenceTraits.h:61
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:42
edm::StreamContext::setTransition
void setTransition(Transition v)
Definition: StreamContext.h:65
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::MyPrincipal
LuminosityBlockPrincipal MyPrincipal
Definition: OccurrenceTraits.h:338
mps_update.status
status
Definition: mps_update.py:69
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::ProcessContext
Definition: ProcessContext.h:27
edm::OccurrenceTraits< EventPrincipal, BranchActionStreamBegin >::prePathSignal
static void prePathSignal(ActivityRegistry *a, PathContext const *pathContext)
Definition: OccurrenceTraits.h:54
edm::StreamContext::Transition::kBeginRun
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalEnd >::postPathSignal
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
Definition: OccurrenceTraits.h:204
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalEnd >::MyPrincipal
RunPrincipal MyPrincipal
Definition: OccurrenceTraits.h:182
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:306
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:360
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalEnd >::transitionName
static const char * transitionName()
Definition: OccurrenceTraits.h:215
edm::StreamContext::Transition::kEndRun
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::postModuleSignal
static void postModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:366
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalEnd >::preModuleSignal
static void preModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:205
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
Definition: OccurrenceTraits.h:123
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::prePathSignal
static void prePathSignal(ActivityRegistry *, PathContext const *)
Definition: OccurrenceTraits.h:242
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:249
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::preModuleSignal
static void preModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:128
edm::EventPrincipal::id
EventID const & id() const
Definition: EventPrincipal.h:92
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::MyPrincipal
LuminosityBlockPrincipal MyPrincipal
Definition: OccurrenceTraits.h:260
edm::BranchActionGlobalBegin
Definition: BranchActionType.h:12
edm::InRun
Definition: BranchType.h:11
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:48
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalBegin >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:85
ModuleDescription.h
ActivityRegistry.h
BranchActionType.h
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::prePathSignal
static void prePathSignal(ActivityRegistry *, PathContext const *)
Definition: OccurrenceTraits.h:320
edm::OccurrenceTraits< EventPrincipal, BranchActionStreamBegin >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
Definition: OccurrenceTraits.h:51
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:356
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:158
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::preModuleSignal
static void preModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:322
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalEnd >::Context
GlobalContext Context
Definition: OccurrenceTraits.h:183
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:239
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::Context
StreamContext Context
Definition: OccurrenceTraits.h:299
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::makeGlobalContext
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
Definition: OccurrenceTraits.h:227
EventPrincipal.h
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
Definition: OccurrenceTraits.h:317
edm::ActivityRegistry
Definition: ActivityRegistry.h:132
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::preScheduleSignal
static void preScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
Definition: OccurrenceTraits.h:314
edm::StreamContext::Transition::kBeginLuminosityBlock
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::MyPrincipal
LuminosityBlockPrincipal MyPrincipal
Definition: OccurrenceTraits.h:298
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalEnd >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:200
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::Context
StreamContext Context
Definition: OccurrenceTraits.h:107
edm::GlobalContext::Transition::kEndLuminosityBlock
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::preModuleSignal
static void preModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:166
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::setStreamContext
static void setStreamContext(StreamContext &streamContext, MyPrincipal const &principal)
Definition: OccurrenceTraits.h:266
edm::StreamContext::Transition::kEndLuminosityBlock
edm::InEvent
Definition: BranchType.h:11
edm::OccurrenceTraits
Definition: OccurrenceTraits.h:31
edm::OccurrenceTraits< EventPrincipal, BranchActionStreamBegin >::MyPrincipal
EventPrincipal MyPrincipal
Definition: OccurrenceTraits.h:36
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::transitionName
static const char * transitionName()
Definition: OccurrenceTraits.h:254
edm::LuminosityBlockID
Definition: LuminosityBlockID.h:31
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::Context
GlobalContext Context
Definition: OccurrenceTraits.h:339
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalBegin >::MyPrincipal
RunPrincipal MyPrincipal
Definition: OccurrenceTraits.h:67
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::transitionName
static const char * transitionName()
Definition: OccurrenceTraits.h:176
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::preModuleSignal
static void preModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:244
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::context
static StreamContext const * context(StreamContext const *s, GlobalContext const *)
Definition: OccurrenceTraits.h:304
edm::RunPrincipal::index
RunIndex index() const
Definition: RunPrincipal.h:57
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::prePathSignal
static void prePathSignal(ActivityRegistry *, PathContext const *)
Definition: OccurrenceTraits.h:164
edm::OccurrenceTraits< EventPrincipal, BranchActionStreamBegin >::Context
StreamContext Context
Definition: OccurrenceTraits.h:37
edm::GlobalContext
Definition: GlobalContext.h:29
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::setStreamContext
static void setStreamContext(StreamContext &streamContext, MyPrincipal const &principal)
Definition: OccurrenceTraits.h:150
a
double a
Definition: hdecay.h:119
GlobalContext.h
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::transitionName
static const char * transitionName()
Definition: OccurrenceTraits.h:332
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:73
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:120
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalEnd >::preScheduleSignal
static void preScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:197
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::MyPrincipal
LuminosityBlockPrincipal MyPrincipal
Definition: OccurrenceTraits.h:221
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:100
edm::GlobalContext::Transition::kBeginLuminosityBlock
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::postModuleSignal
static void postModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:171
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalBegin >::preScheduleSignal
static void preScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:82
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:210
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalBegin >::prePathSignal
static void prePathSignal(ActivityRegistry *, PathContext const *)
Definition: OccurrenceTraits.h:88
edm::StreamContext::Transition::kEvent
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalBegin >::Context
GlobalContext Context
Definition: OccurrenceTraits.h:68
PathContext.h
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::transitionName
static const char * transitionName()
Definition: OccurrenceTraits.h:292
LuminosityBlockPrincipal.h
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::postModuleSignal
static void postModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:287
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::postModuleSignal
static void postModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:133
edm::LuminosityBlockPrincipal::luminosityBlock
LuminosityBlockNumber_t luminosityBlock() const
Definition: LuminosityBlockPrincipal.h:61
ParentContext.h
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::transitionName
static const char * transitionName()
Definition: OccurrenceTraits.h:371
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:243
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::postPathSignal
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
Definition: OccurrenceTraits.h:127
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::preModuleSignal
static void preModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:361
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::preScheduleSignal
static void preScheduleSignal(ActivityRegistry *a, GlobalContext const *globalContext)
Definition: OccurrenceTraits.h:353
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalBegin >::preModuleSignal
static void preModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:90
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::prePathSignal
static void prePathSignal(ActivityRegistry *, PathContext const *)
Definition: OccurrenceTraits.h:126
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalEnd >::prePathSignal
static void prePathSignal(ActivityRegistry *, PathContext const *)
Definition: OccurrenceTraits.h:203
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::Context
GlobalContext Context
Definition: OccurrenceTraits.h:222
LuminosityBlockIndex.h
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalEnd >::makeGlobalContext
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
Definition: OccurrenceTraits.h:188
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::MyPrincipal
RunPrincipal MyPrincipal
Definition: OccurrenceTraits.h:144
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::postPathSignal
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
Definition: OccurrenceTraits.h:321
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::postModuleSignal
static void postModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:327
edm::LuminosityBlockPrincipal::endTime
Timestamp const & endTime() const
Definition: LuminosityBlockPrincipal.h:57
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< LuminosityBlockPrincipal, BranchActionStreamBegin >::preModuleSignal
static void preModuleSignal(ActivityRegistry *a, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:282
edm::EventID
Definition: EventID.h:31
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalBegin >::postPathSignal
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
Definition: OccurrenceTraits.h:89
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::postPathSignal
static void postPathSignal(ActivityRegistry *, HLTPathStatus const &, PathContext const *)
Definition: OccurrenceTraits.h:165
edm::BranchActionStreamEnd
Definition: BranchActionType.h:14
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::prePathSignal
static void prePathSignal(ActivityRegistry *, PathContext const *)
Definition: OccurrenceTraits.h:359
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::makeGlobalContext
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
Definition: OccurrenceTraits.h:344
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::postScheduleSignal
static void postScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
Definition: OccurrenceTraits.h:277
edm::OccurrenceTraits< EventPrincipal, BranchActionStreamBegin >::postPathSignal
static void postPathSignal(ActivityRegistry *a, HLTPathStatus const &status, PathContext const *pathContext)
Definition: OccurrenceTraits.h:57
edm::GlobalContext::Transition::kBeginRun
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::MyPrincipal
RunPrincipal MyPrincipal
Definition: OccurrenceTraits.h:106
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::preScheduleSignal
static void preScheduleSignal(ActivityRegistry *a, StreamContext const *streamContext)
Definition: OccurrenceTraits.h:274
edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalBegin >::postModuleSignal
static void postModuleSignal(ActivityRegistry *a, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
Definition: OccurrenceTraits.h:95
edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::prePathSignal
static void prePathSignal(ActivityRegistry *, PathContext const *)
Definition: OccurrenceTraits.h:280
edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::setStreamContext
static void setStreamContext(StreamContext &streamContext, MyPrincipal const &principal)
Definition: OccurrenceTraits.h:112
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29