CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
26 
27 #include<string>
28 
29 namespace edm {
30 
31  class ProcessContext;
32 
33  template <typename T, BranchActionType B> class OccurrenceTraits;
34 
35  template <>
37  public:
40  static BranchType const branchType_ = InEvent;
41  static bool const begin_ = true;
42  static bool const isEvent_ = true;
43 
44  static void setStreamContext(StreamContext& streamContext, MyPrincipal const& principal) {
46  streamContext.setEventID(principal.id());
47  streamContext.setTimestamp(principal.time());
48  }
49 
50  static void preScheduleSignal(ActivityRegistry *a, EventPrincipal const* ep, StreamContext const* streamContext) {
51  a->preProcessEventSignal_(ep->id(), ep->time());
52  a->preEventSignal_(*streamContext);
53  }
54  static void postScheduleSignal(ActivityRegistry *a, EventPrincipal* ep, EventSetup const* es, StreamContext const* streamContext) {
55  edm::ModuleDescription modDesc("postScheduledSignal", "");
56  ParentContext parentContext(streamContext);
57  ModuleCallingContext moduleCallingContext(&modDesc, ModuleCallingContext::State::kRunning, parentContext, nullptr);
58  Event ev(*ep, ModuleDescription(), &moduleCallingContext);
59  a->postProcessEventSignal_(ev, *es);
60  a->postEventSignal_(*streamContext);
61  }
62  static void prePathSignal(ActivityRegistry *a, std::string const& s, PathContext const* pathContext) {
64  a->prePathEventSignal_(*pathContext->streamContext(), *pathContext);
65  }
66  static void postPathSignal(ActivityRegistry *a, std::string const& s, HLTPathStatus const& status, PathContext const* pathContext) {
67  a->postProcessPathSignal_(s, status);
68  a->postPathEventSignal_(*pathContext->streamContext(), *pathContext, status);
69  }
70  static void preModuleSignal(ActivityRegistry *a, ModuleDescription const* md, StreamContext const* streamContext, ModuleCallingContext const* moduleCallingContext) {
71  a->preModuleSignal_(*md);
72  a->preModuleEventSignal_(*streamContext, *moduleCallingContext);
73  }
74  static void postModuleSignal(ActivityRegistry *a, ModuleDescription const* md, StreamContext const* streamContext, ModuleCallingContext const* moduleCallingContext) {
75  a->postModuleSignal_(*md);
76  a->postModuleEventSignal_(*streamContext, *moduleCallingContext);
77  }
78  };
79 
80  template <>
82  public:
85  static BranchType const branchType_ = InRun;
86  static bool const begin_ = true;
87  static bool const isEvent_ = false;
88 
89  static GlobalContext makeGlobalContext(MyPrincipal const& principal, ProcessContext const* processContext) {
91  LuminosityBlockID(principal.run(), 0),
92  principal.index(),
94  principal.beginTime(),
95  processContext);
96  }
97 
98  static void preScheduleSignal(ActivityRegistry *a, RunPrincipal const* ep, GlobalContext const* globalContext) {
99  a->preBeginRunSignal_(ep->id(), ep->beginTime());
100  a->preGlobalBeginRunSignal_(*globalContext);
101  }
102  static void postScheduleSignal(ActivityRegistry *a, RunPrincipal* ep, EventSetup const* es, GlobalContext const* globalContext) {
103  // Next 4 lines not needed when we go to threaded interface
104  edm::ModuleDescription modDesc("postScheduledSignal", "");
105  ParentContext parentContext(globalContext);
106  ModuleCallingContext moduleCallingContext(&modDesc, ModuleCallingContext::State::kRunning, parentContext, nullptr);
107  Run run(*ep, ModuleDescription(), &moduleCallingContext);
108  a->postBeginRunSignal_(run, *es);
109  a->postGlobalBeginRunSignal_(*globalContext);
110  }
111  static void prePathSignal(ActivityRegistry *a, std::string const& s, PathContext const* pathContext) {
112  a->prePathBeginRunSignal_(s);
113  }
114  static void postPathSignal(ActivityRegistry *a, std::string const& s, HLTPathStatus const& status, PathContext const* pathContext) {
115  a->postPathBeginRunSignal_(s, status);
116  }
117  static void preModuleSignal(ActivityRegistry *a, ModuleDescription const* md, GlobalContext const* globalContext, ModuleCallingContext const* moduleCallingContext) {
118  a->preModuleBeginRunSignal_(*md);
119  a->preModuleGlobalBeginRunSignal_(*globalContext, *moduleCallingContext);
120  }
121  static void postModuleSignal(ActivityRegistry *a, ModuleDescription const* md, GlobalContext const* globalContext, ModuleCallingContext const* moduleCallingContext) {
122  a->postModuleBeginRunSignal_(*md);
123  a->postModuleGlobalBeginRunSignal_(*globalContext, *moduleCallingContext);
124  }
125  };
126 
127  template <>
129  public:
132  static BranchType const branchType_ = InRun;
133  static bool const begin_ = true;
134  static bool const isEvent_ = false;
135 
136  static void setStreamContext(StreamContext& streamContext, MyPrincipal const& principal) {
138  streamContext.setEventID(EventID(principal.run(), 0, 0));
139  streamContext.setRunIndex(principal.index());
141  streamContext.setTimestamp(principal.beginTime());
142  }
143 
144  static void preScheduleSignal(ActivityRegistry *a, RunPrincipal const* ep, StreamContext const* streamContext) {
145  a->preStreamBeginRunSignal_(*streamContext);
146  }
147  static void postScheduleSignal(ActivityRegistry *a, RunPrincipal* ep, EventSetup const* es, StreamContext const* streamContext) {
148  a->postStreamBeginRunSignal_(*streamContext);
149  }
150  static void prePathSignal(ActivityRegistry *a, std::string const& s, PathContext const* pathContext) {
151  }
152  static void postPathSignal(ActivityRegistry *a, std::string const& s, HLTPathStatus const& status, PathContext const* pathContext) {
153  }
154  static void preModuleSignal(ActivityRegistry *a, ModuleDescription const* md, StreamContext const* streamContext, ModuleCallingContext const* moduleCallingContext) {
155  a->preModuleStreamBeginRunSignal_(*streamContext, *moduleCallingContext);
156  }
157  static void postModuleSignal(ActivityRegistry *a, ModuleDescription const* md, StreamContext const* streamContext, ModuleCallingContext const* moduleCallingContext) {
158  a->postModuleStreamBeginRunSignal_(*streamContext, *moduleCallingContext);
159  }
160  };
161 
162  template <>
164  public:
167  static BranchType const branchType_ = InRun;
168  static bool const begin_ = false;
169  static bool const isEvent_ = false;
170 
171  static void setStreamContext(StreamContext& streamContext, MyPrincipal const& principal) {
173  streamContext.setEventID(EventID(principal.run(), 0, 0));
174  streamContext.setRunIndex(principal.index());
176  streamContext.setTimestamp(principal.endTime());
177  }
178 
179  static void preScheduleSignal(ActivityRegistry *a, RunPrincipal const* ep, StreamContext const* streamContext) {
180  a->preStreamEndRunSignal_(*streamContext);
181  }
182  static void postScheduleSignal(ActivityRegistry *a, RunPrincipal* ep, EventSetup const* es, StreamContext const* streamContext) {
183  edm::ModuleDescription modDesc("postScheduledSignal", "");
184  ParentContext parentContext(streamContext);
185  ModuleCallingContext moduleCallingContext(&modDesc, ModuleCallingContext::State::kRunning, parentContext, nullptr);
186  a->postStreamEndRunSignal_(*streamContext);
187  }
188  static void prePathSignal(ActivityRegistry *a, std::string const& s, PathContext const* pathContext) {
189  }
190  static void postPathSignal(ActivityRegistry *a, std::string const& s, HLTPathStatus const& status, PathContext const* pathContext) {
191  }
192  static void preModuleSignal(ActivityRegistry *a, ModuleDescription const* md, StreamContext const* streamContext, ModuleCallingContext const* moduleCallingContext) {
193  a->preModuleStreamEndRunSignal_(*streamContext, *moduleCallingContext);
194  }
195  static void postModuleSignal(ActivityRegistry *a, ModuleDescription const* md, StreamContext const* streamContext, ModuleCallingContext const* moduleCallingContext) {
196  a->postModuleStreamEndRunSignal_(*streamContext, *moduleCallingContext);
197  }
198  };
199 
200  template <>
202  public:
205  static BranchType const branchType_ = InRun;
206  static bool const begin_ = false;
207  static bool const isEvent_ = false;
208 
209  static GlobalContext makeGlobalContext(MyPrincipal const& principal, ProcessContext const* processContext) {
211  LuminosityBlockID(principal.run(), 0),
212  principal.index(),
214  principal.endTime(),
215  processContext);
216  }
217 
218  static void preScheduleSignal(ActivityRegistry *a, RunPrincipal const* ep, GlobalContext const* globalContext) {
219  a->preEndRunSignal_(ep->id(), ep->endTime());
220  a->preGlobalEndRunSignal_(*globalContext);
221  }
222  static void postScheduleSignal(ActivityRegistry *a, RunPrincipal* ep, EventSetup const* es, GlobalContext const* globalContext) {
223  edm::ModuleDescription modDesc("postScheduledSignal", "");
224  ParentContext parentContext(globalContext);
225  ModuleCallingContext moduleCallingContext(&modDesc, ModuleCallingContext::State::kRunning, parentContext, nullptr);
226  Run run(*ep, ModuleDescription(), &moduleCallingContext);
227  a->postEndRunSignal_(run, *es);
228  a->postGlobalEndRunSignal_(*globalContext);
229  }
230  static void prePathSignal(ActivityRegistry *a, std::string const& s, PathContext const* pathContext) {
231  a->prePathEndRunSignal_(s);
232  }
233  static void postPathSignal(ActivityRegistry *a, std::string const& s, HLTPathStatus const& status, PathContext const* pathContext) {
234  a->postPathEndRunSignal_(s, status);
235  }
236  static void preModuleSignal(ActivityRegistry *a, ModuleDescription const* md, GlobalContext const* globalContext, ModuleCallingContext const* moduleCallingContext) {
237  a->preModuleEndRunSignal_(*md);
238  a->preModuleGlobalEndRunSignal_(*globalContext, *moduleCallingContext);
239  }
240  static void postModuleSignal(ActivityRegistry *a, ModuleDescription const* md, GlobalContext const* globalContext, ModuleCallingContext const* moduleCallingContext) {
241  a->postModuleEndRunSignal_(*md);
242  a->postModuleGlobalEndRunSignal_(*globalContext, *moduleCallingContext);
243  }
244  };
245 
246  template <>
248  public:
251  static BranchType const branchType_ = InLumi;
252  static bool const begin_ = true;
253  static bool const isEvent_ = false;
254 
255  static GlobalContext makeGlobalContext(MyPrincipal const& principal, ProcessContext const* processContext) {
257  principal.id(),
258  principal.runPrincipal().index(),
259  principal.index(),
260  principal.beginTime(),
261  processContext);
262  }
263 
264  static void preScheduleSignal(ActivityRegistry *a, LuminosityBlockPrincipal const* ep, GlobalContext const* globalContext) {
265  a->preBeginLumiSignal_(ep->id(), ep->beginTime());
266  a->preGlobalBeginLumiSignal_(*globalContext);
267  }
268  static void postScheduleSignal(ActivityRegistry *a, LuminosityBlockPrincipal* ep, EventSetup const* es, GlobalContext const* globalContext) {
269  // Next 4 lines not needed when we go to threaded interface
270  edm::ModuleDescription modDesc("postScheduledSignal", "");
271  ParentContext parentContext(globalContext);
272  ModuleCallingContext moduleCallingContext(&modDesc, ModuleCallingContext::State::kRunning, parentContext, nullptr);
273  LuminosityBlock lumi(*ep, ModuleDescription(), &moduleCallingContext);
274  a->postBeginLumiSignal_(lumi, *es);
275  a->postGlobalBeginLumiSignal_(*globalContext);
276  }
277  static void prePathSignal(ActivityRegistry *a, std::string const& s, PathContext const* pathContext) {
279  }
280  static void postPathSignal(ActivityRegistry *a, std::string const& s, HLTPathStatus const& status, PathContext const* pathContext) {
281  a->postPathBeginLumiSignal_(s, status);
282  }
283  static void preModuleSignal(ActivityRegistry *a, ModuleDescription const* md, GlobalContext const* globalContext, ModuleCallingContext const* moduleCallingContext) {
285  a->preModuleGlobalBeginLumiSignal_(*globalContext, *moduleCallingContext);
286  }
287  static void postModuleSignal(ActivityRegistry *a, ModuleDescription const* md, GlobalContext const* globalContext, ModuleCallingContext const* moduleCallingContext) {
289  a->postModuleGlobalBeginLumiSignal_(*globalContext, *moduleCallingContext);
290  }
291  };
292 
293  template <>
295  public:
298  static BranchType const branchType_ = InLumi;
299  static bool const begin_ = true;
300  static bool const isEvent_ = false;
301 
302  static void setStreamContext(StreamContext& streamContext, MyPrincipal const& principal) {
304  streamContext.setEventID(EventID(principal.run(), principal.luminosityBlock(), 0));
305  streamContext.setRunIndex(principal.runPrincipal().index());
306  streamContext.setLuminosityBlockIndex(principal.index());
307  streamContext.setTimestamp(principal.beginTime());
308  }
309 
310  static void preScheduleSignal(ActivityRegistry *a, LuminosityBlockPrincipal const* ep, StreamContext const* streamContext) {
311  a->preStreamBeginLumiSignal_(*streamContext);
312  }
313  static void postScheduleSignal(ActivityRegistry *a, LuminosityBlockPrincipal* ep, EventSetup const* es, StreamContext const* streamContext) {
314  a->postStreamBeginLumiSignal_(*streamContext);
315  }
316  static void prePathSignal(ActivityRegistry *a, std::string const& s, PathContext const* pathContext) {
317  }
318  static void postPathSignal(ActivityRegistry *a, std::string const& s, HLTPathStatus const& status, PathContext const* pathContext) {
319  }
320  static void preModuleSignal(ActivityRegistry *a, ModuleDescription const* md, StreamContext const* streamContext, ModuleCallingContext const* moduleCallingContext) {
321  a->preModuleStreamBeginLumiSignal_(*streamContext, *moduleCallingContext);
322  }
323  static void postModuleSignal(ActivityRegistry *a, ModuleDescription const* md, StreamContext const* streamContext, ModuleCallingContext const* moduleCallingContext) {
324  a->postModuleStreamBeginLumiSignal_(*streamContext, *moduleCallingContext);
325  }
326  };
327 
328  template <>
330  public:
333  static BranchType const branchType_ = InLumi;
334  static bool const begin_ = false;
335  static bool const isEvent_ = false;
336 
337  static StreamContext const* context(StreamContext const* s, GlobalContext const* g) { return s; }
338 
339  static void setStreamContext(StreamContext& streamContext, MyPrincipal const& principal) {
341  streamContext.setEventID(EventID(principal.run(), principal.luminosityBlock(), 0));
342  streamContext.setRunIndex(principal.runPrincipal().index());
343  streamContext.setLuminosityBlockIndex(principal.index());
344  streamContext.setTimestamp(principal.endTime());
345  }
346 
347  static void preScheduleSignal(ActivityRegistry *a, LuminosityBlockPrincipal const* ep, StreamContext const* streamContext) {
348  a->preStreamEndLumiSignal_(*streamContext);
349  }
350  static void postScheduleSignal(ActivityRegistry *a, LuminosityBlockPrincipal* ep, EventSetup const* es, StreamContext const* streamContext) {
351  edm::ModuleDescription modDesc("postScheduledSignal", "");
352  ParentContext parentContext(streamContext);
353  ModuleCallingContext moduleCallingContext(&modDesc, ModuleCallingContext::State::kRunning, parentContext, nullptr);
354  LuminosityBlock lumi(*ep, ModuleDescription(), &moduleCallingContext);
355  a->postStreamEndLumiSignal_(*streamContext);
356  }
357  static void prePathSignal(ActivityRegistry *a, std::string const& s, PathContext const* pathContext) {
358  }
359  static void postPathSignal(ActivityRegistry *a, std::string const& s, HLTPathStatus const& status, PathContext const* pathContext) {
360  }
361  static void preModuleSignal(ActivityRegistry *a, ModuleDescription const* md, StreamContext const* streamContext, ModuleCallingContext const* moduleCallingContext) {
362  a->preModuleStreamEndLumiSignal_(*streamContext, *moduleCallingContext);
363  }
364  static void postModuleSignal(ActivityRegistry *a, ModuleDescription const* md, StreamContext const* streamContext, ModuleCallingContext const* moduleCallingContext) {
365  a->postModuleStreamEndLumiSignal_(*streamContext, *moduleCallingContext);
366  }
367  };
368 
369  template <>
371  public:
374  static BranchType const branchType_ = InLumi;
375  static bool const begin_ = false;
376  static bool const isEvent_ = false;
377 
378  static GlobalContext makeGlobalContext(MyPrincipal const& principal, ProcessContext const* processContext) {
380  principal.id(),
381  principal.runPrincipal().index(),
382  principal.index(),
383  principal.beginTime(),
384  processContext);
385  }
386 
387  static void preScheduleSignal(ActivityRegistry *a, LuminosityBlockPrincipal const* ep, GlobalContext const* globalContext) {
388  a->preEndLumiSignal_(ep->id(), ep->beginTime());
389  a->preGlobalEndLumiSignal_(*globalContext);
390  }
391  static void postScheduleSignal(ActivityRegistry *a, LuminosityBlockPrincipal* ep, EventSetup const* es, GlobalContext const* globalContext) {
392  edm::ModuleDescription modDesc("postScheduledSignal", "");
393  ParentContext parentContext(globalContext);
394  ModuleCallingContext moduleCallingContext(&modDesc, ModuleCallingContext::State::kRunning, parentContext, nullptr);
395  LuminosityBlock lumi(*ep, ModuleDescription(), &moduleCallingContext);
396  a->postEndLumiSignal_(lumi, *es);
397  a->postGlobalEndLumiSignal_(*globalContext);
398  }
399  static void prePathSignal(ActivityRegistry *a, std::string const& s, PathContext const* pathContext) {
400  a->prePathEndLumiSignal_(s);
401  }
402  static void postPathSignal(ActivityRegistry *a, std::string const& s, HLTPathStatus const& status, PathContext const* pathContext) {
403  a->postPathEndLumiSignal_(s, status);
404  }
405  static void preModuleSignal(ActivityRegistry *a, ModuleDescription const* md, GlobalContext const* globalContext, ModuleCallingContext const* moduleCallingContext) {
406  a->preModuleEndLumiSignal_(*md);
407  a->preModuleGlobalEndLumiSignal_(*globalContext, *moduleCallingContext);
408  }
409  static void postModuleSignal(ActivityRegistry *a, ModuleDescription const* md, GlobalContext const* globalContext, ModuleCallingContext const* moduleCallingContext) {
410  a->postModuleEndLumiSignal_(*md);
411  a->postModuleGlobalEndLumiSignal_(*globalContext, *moduleCallingContext);
412  }
413  };
414 }
415 #endif
RunPrincipal const & runPrincipal() const
PreModuleStreamBeginRun preModuleStreamBeginRunSignal_
PreStreamBeginRun preStreamBeginRunSignal_
PreModuleBeginLumi preModuleBeginLumiSignal_
static void postScheduleSignal(ActivityRegistry *a, RunPrincipal *ep, EventSetup const *es, StreamContext const *streamContext)
PreBeginLumi preBeginLumiSignal_
signal is emitted after the Lumi has been created by the InputSource but before any modules have seen...
PostModuleStreamEndRun postModuleStreamEndRunSignal_
void setTimestamp(Timestamp const &v)
Definition: StreamContext.h:69
static void preModuleSignal(ActivityRegistry *a, ModuleDescription const *md, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
PreEndRun preEndRunSignal_
signal is emitted before the endRun is processed
static void preScheduleSignal(ActivityRegistry *a, LuminosityBlockPrincipal const *ep, GlobalContext const *globalContext)
static void prePathSignal(ActivityRegistry *a, std::string const &s, PathContext const *pathContext)
PrePathEvent prePathEventSignal_
static void postPathSignal(ActivityRegistry *a, std::string const &s, HLTPathStatus const &status, PathContext const *pathContext)
Timestamp const & beginTime() const
PostModuleGlobalBeginRun postModuleGlobalBeginRunSignal_
static void preModuleSignal(ActivityRegistry *a, ModuleDescription const *md, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
static void prePathSignal(ActivityRegistry *a, std::string const &s, PathContext const *pathContext)
PreGlobalBeginRun preGlobalBeginRunSignal_
signal is emitted after the Run has been created by the InputSource but before any modules have seen ...
PostModuleEvent postModuleEventSignal_
static void postModuleSignal(ActivityRegistry *a, ModuleDescription const *md, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
static void postPathSignal(ActivityRegistry *a, std::string const &s, HLTPathStatus const &status, PathContext const *pathContext)
static void prePathSignal(ActivityRegistry *a, std::string const &s, PathContext const *pathContext)
PreGlobalEndRun preGlobalEndRunSignal_
PostEvent postEventSignal_
signal is emitted after all modules have finished processing the Event
PreModuleEndRun preModuleEndRunSignal_
tuple lumi
Definition: fjr2json.py:35
static void postModuleSignal(ActivityRegistry *a, ModuleDescription const *md, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
PostStreamEndLumi postStreamEndLumiSignal_
PostModuleEndRun postModuleEndRunSignal_
PostModuleEndLumi postModuleEndLumiSignal_
PostGlobalBeginRun postGlobalBeginRunSignal_
Timestamp const & endTime() const
EventID const & id() const
static void postModuleSignal(ActivityRegistry *a, ModuleDescription const *md, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
static void setStreamContext(StreamContext &streamContext, MyPrincipal const &principal)
static void preScheduleSignal(ActivityRegistry *a, LuminosityBlockPrincipal const *ep, GlobalContext const *globalContext)
PreEndLumi preEndLumiSignal_
signal is emitted before the endLumi is processed
LuminosityBlockIndex index() const
PostModuleStreamBeginLumi postModuleStreamBeginLumiSignal_
RunNumber_t run() const
Definition: RunPrincipal.h:61
PostBeginRun postBeginRunSignal_
signal is emitted after all modules have finished processing the beginRun
static void preScheduleSignal(ActivityRegistry *a, LuminosityBlockPrincipal const *ep, StreamContext const *streamContext)
static void setStreamContext(StreamContext &streamContext, MyPrincipal const &principal)
PostPathEndRun postPathEndRunSignal_
static void postModuleSignal(ActivityRegistry *a, ModuleDescription const *md, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
PostPathBeginRun postPathBeginRunSignal_
static void postScheduleSignal(ActivityRegistry *a, LuminosityBlockPrincipal *ep, EventSetup const *es, GlobalContext const *globalContext)
static void postScheduleSignal(ActivityRegistry *a, LuminosityBlockPrincipal *ep, EventSetup const *es, StreamContext const *streamContext)
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4
static void postPathSignal(ActivityRegistry *a, std::string const &s, HLTPathStatus const &status, PathContext const *pathContext)
static void postPathSignal(ActivityRegistry *a, std::string const &s, HLTPathStatus const &status, PathContext const *pathContext)
BranchType
Definition: BranchType.h:11
PreModuleStreamEndLumi preModuleStreamEndLumiSignal_
void setTransition(Transition v)
Definition: StreamContext.h:65
PostGlobalEndLumi postGlobalEndLumiSignal_
Timestamp const & time() const
static void preModuleSignal(ActivityRegistry *a, ModuleDescription const *md, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
PreGlobalBeginLumi preGlobalBeginLumiSignal_
static void postModuleSignal(ActivityRegistry *a, ModuleDescription const *md, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
PreModuleBeginRun preModuleBeginRunSignal_
static void postScheduleSignal(ActivityRegistry *a, EventPrincipal *ep, EventSetup const *es, StreamContext const *streamContext)
PrePathBeginLumi prePathBeginLumiSignal_
LuminosityBlockNumber_t luminosityBlock() const
PrePathEndRun prePathEndRunSignal_
PostModuleGlobalEndRun postModuleGlobalEndRunSignal_
void setLuminosityBlockIndex(LuminosityBlockIndex const &v)
Definition: StreamContext.h:68
PostModuleGlobalEndLumi postModuleGlobalEndLumiSignal_
Timestamp const & beginTime() const
Definition: RunPrincipal.h:73
PreModuleStreamEndRun preModuleStreamEndRunSignal_
PostPathEndLumi postPathEndLumiSignal_
PostProcessEvent postProcessEventSignal_
signal is emitted after all modules have finished processing the Event
static void postPathSignal(ActivityRegistry *a, std::string const &s, HLTPathStatus const &status, PathContext const *pathContext)
static void preScheduleSignal(ActivityRegistry *a, RunPrincipal const *ep, StreamContext const *streamContext)
PostStreamEndRun postStreamEndRunSignal_
PreStreamEndRun preStreamEndRunSignal_
static void preScheduleSignal(ActivityRegistry *a, RunPrincipal const *ep, GlobalContext const *globalContext)
Timestamp const & endTime() const
Definition: RunPrincipal.h:77
PostEndRun postEndRunSignal_
signal is emitted after all modules have finished processing the Run
static void postPathSignal(ActivityRegistry *a, std::string const &s, HLTPathStatus const &status, PathContext const *pathContext)
PreGlobalEndLumi preGlobalEndLumiSignal_
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
static void postScheduleSignal(ActivityRegistry *a, RunPrincipal *ep, EventSetup const *es, GlobalContext const *globalContext)
static void postModuleSignal(ActivityRegistry *a, ModuleDescription const *md, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
PostModuleBeginLumi postModuleBeginLumiSignal_
static void prePathSignal(ActivityRegistry *a, std::string const &s, PathContext const *pathContext)
PostEndLumi postEndLumiSignal_
signal is emitted after all modules have finished processing the Lumi
static LuminosityBlockIndex invalidLuminosityBlockIndex()
static void preModuleSignal(ActivityRegistry *a, ModuleDescription const *md, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
static void postScheduleSignal(ActivityRegistry *a, LuminosityBlockPrincipal *ep, EventSetup const *es, StreamContext const *streamContext)
PreStreamBeginLumi preStreamBeginLumiSignal_
PreModuleStreamBeginLumi preModuleStreamBeginLumiSignal_
PostStreamBeginRun postStreamBeginRunSignal_
RunID const & id() const
Definition: RunPrincipal.h:69
PreModuleGlobalBeginRun preModuleGlobalBeginRunSignal_
static void setStreamContext(StreamContext &streamContext, MyPrincipal const &principal)
static void prePathSignal(ActivityRegistry *a, std::string const &s, PathContext const *pathContext)
static void prePathSignal(ActivityRegistry *a, std::string const &s, PathContext const *pathContext)
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
static void postModuleSignal(ActivityRegistry *a, ModuleDescription const *md, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
static void preModuleSignal(ActivityRegistry *a, ModuleDescription const *md, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
PreModuleGlobalBeginLumi preModuleGlobalBeginLumiSignal_
PrePathEndLumi prePathEndLumiSignal_
PostModuleBeginRun postModuleBeginRunSignal_
static void postModuleSignal(ActivityRegistry *a, ModuleDescription const *md, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
PreModuleGlobalEndLumi preModuleGlobalEndLumiSignal_
PreProcessPath preProcessPathSignal_
PostGlobalEndRun postGlobalEndRunSignal_
PreProcessEvent preProcessEventSignal_
signal is emitted after the Event has been created by the InputSource but before any modules have see...
static void prePathSignal(ActivityRegistry *a, std::string const &s, PathContext const *pathContext)
RunIndex index() const
Definition: RunPrincipal.h:53
PreModuleEvent preModuleEventSignal_
static void postModuleSignal(ActivityRegistry *a, ModuleDescription const *md, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
PostGlobalBeginLumi postGlobalBeginLumiSignal_
static void postPathSignal(ActivityRegistry *a, std::string const &s, HLTPathStatus const &status, PathContext const *pathContext)
StreamContext const * streamContext() const
Definition: PathContext.h:38
void setEventID(EventID const &v)
Definition: StreamContext.h:66
static void postScheduleSignal(ActivityRegistry *a, RunPrincipal *ep, EventSetup const *es, GlobalContext const *globalContext)
PreModuleEndLumi preModuleEndLumiSignal_
static void setStreamContext(StreamContext &streamContext, MyPrincipal const &principal)
double a
Definition: hdecay.h:121
static GlobalContext makeGlobalContext(MyPrincipal const &principal, ProcessContext const *processContext)
static void preModuleSignal(ActivityRegistry *a, ModuleDescription const *md, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
PostPathEvent postPathEventSignal_
PostStreamBeginLumi postStreamBeginLumiSignal_
PreStreamEndLumi preStreamEndLumiSignal_
static void preModuleSignal(ActivityRegistry *a, ModuleDescription const *md, GlobalContext const *globalContext, ModuleCallingContext const *moduleCallingContext)
static void prePathSignal(ActivityRegistry *a, std::string const &s, PathContext const *pathContext)
PostModuleStreamEndLumi postModuleStreamEndLumiSignal_
PreModuleGlobalEndRun preModuleGlobalEndRunSignal_
tuple status
Definition: ntuplemaker.py:245
static void postScheduleSignal(ActivityRegistry *a, LuminosityBlockPrincipal *ep, EventSetup const *es, GlobalContext const *globalContext)
static void setStreamContext(StreamContext &streamContext, MyPrincipal const &principal)
PreEvent preEventSignal_
signal is emitted after the Event has been created by the InputSource but before any modules have see...
static void preModuleSignal(ActivityRegistry *a, ModuleDescription const *md, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
static StreamContext const * context(StreamContext const *s, GlobalContext const *g)
PostModuleStreamBeginRun postModuleStreamBeginRunSignal_
static void preScheduleSignal(ActivityRegistry *a, RunPrincipal const *ep, GlobalContext const *globalContext)
static void prePathSignal(ActivityRegistry *a, std::string const &s, PathContext const *pathContext)
static void postScheduleSignal(ActivityRegistry *a, RunPrincipal *ep, EventSetup const *es, StreamContext const *streamContext)
void setRunIndex(RunIndex const &v)
Definition: StreamContext.h:67
static void preModuleSignal(ActivityRegistry *a, ModuleDescription const *md, StreamContext const *streamContext, ModuleCallingContext const *moduleCallingContext)
PrePathBeginRun prePathBeginRunSignal_
static void preScheduleSignal(ActivityRegistry *a, RunPrincipal const *ep, StreamContext const *streamContext)
PostPathBeginLumi postPathBeginLumiSignal_
static void preScheduleSignal(ActivityRegistry *a, EventPrincipal const *ep, StreamContext const *streamContext)
static void postPathSignal(ActivityRegistry *a, std::string const &s, HLTPathStatus const &status, PathContext const *pathContext)
static void postPathSignal(ActivityRegistry *a, std::string const &s, HLTPathStatus const &status, PathContext const *pathContext)
Definition: Run.h:41
PostModuleGlobalBeginLumi postModuleGlobalBeginLumiSignal_
PostProcessPath postProcessPathSignal_
PreBeginRun preBeginRunSignal_
signal is emitted after the Run has been created by the InputSource but before any modules have seen ...
PostBeginLumi postBeginLumiSignal_
signal is emitted after all modules have finished processing the beginLumi
static void preScheduleSignal(ActivityRegistry *a, LuminosityBlockPrincipal const *ep, StreamContext const *streamContext)