CMS 3D CMS Logo

TestServiceTwo.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: FWCore/Integration
4 // Class : TestServiceTwo
5 //
6 // Implementation:
7 // Service initially intended for testing behavior after exceptions.
8 // ExceptionThrowingProducer uses this and is in the same test plugin
9 // library and could be used to access the service if it was ever useful
10 // for debugging issues related to begin/end transitions.
11 //
12 // Original Author: W. David Dagenhart
13 // Created: 13 March 2024
14 
16 
26 
27 #include <ostream>
28 
29 using edm::GlobalContext;
31 using edm::StreamContext;
32 
33 namespace {
34 
35  class TimeStamper {
36  public:
37  TimeStamper(bool enable) : enabled_(enable) {}
38 
39  friend std::ostream& operator<<(std::ostream& out, TimeStamper const& timestamp) {
40  if (timestamp.enabled_)
41  out << std::setprecision(2) << edm::TimeOfDay() << " ";
42  return out;
43  }
44 
45  private:
46  bool enabled_;
47  };
48 
49  const char* globalIndent = " ";
50  const char* globalModuleIndent = " ";
51  const char* streamIndent = " ";
52  const char* streamModuleIndent = " ";
53 } // namespace
54 
55 namespace edmtest {
56 
58  : verbose_(iPS.getUntrackedParameter<bool>("verbose")),
59  printTimestamps_(iPS.getUntrackedParameter<bool>("printTimestamps")) {
62 
67 
72 
77 
82 
85 
90 
95 
100 
105 
108  }
109 
112  desc.addUntracked<bool>("verbose", false)->setComment("Prints LogAbsolute messages for every transition");
113  desc.addUntracked<bool>("printTimestamps", false)
114  ->setComment("Include a time stamp in message printed for every transition");
115  descriptions.add("TestServiceTwo", desc);
116  }
117 
119  if (verbose_) {
120  edm::LogAbsolute("TestServiceTwo") << "test message from TestServiceTwo::preBeginProcessBlock";
121  }
122  }
123 
125  if (verbose_) {
126  edm::LogAbsolute("TestServiceTwo") << "test message from TestServiceTwo::preEndProcessBlock";
127  }
128  }
129 
132  if (verbose_) {
133  edm::LogAbsolute out("TestServiceTwo");
134  out << streamIndent << "TestServiceTwo::preStreamBeginLumi " << TimeStamper(printTimestamps_)
135  << " stream = " << sc.streamID() << " run = " << sc.eventID().run()
136  << " lumi = " << sc.eventID().luminosityBlock();
137  }
138  }
139 
142  if (verbose_) {
143  edm::LogAbsolute out("TestServiceTwo");
144  out << streamIndent << "TestServiceTwo::postStreamBeginLumi " << TimeStamper(printTimestamps_)
145  << " stream = " << sc.streamID() << " run = " << sc.eventID().run()
146  << " lumi = " << sc.eventID().luminosityBlock();
147  }
148  }
149 
152  if (verbose_) {
153  edm::LogAbsolute out("TestServiceTwo");
154  out << streamIndent << "TestServiceTwo::preStreamEndLumi " << TimeStamper(printTimestamps_)
155  << " stream = " << sc.streamID() << " run = " << sc.eventID().run()
156  << " lumi = " << sc.eventID().luminosityBlock();
157  }
158  }
159 
162  if (verbose_) {
163  edm::LogAbsolute out("TestServiceTwo");
164  out << streamIndent << "TestServiceTwo::postStreamEndLumi " << TimeStamper(printTimestamps_)
165  << " stream = " << sc.streamID() << " run = " << sc.eventID().run()
166  << " lumi = " << sc.eventID().luminosityBlock();
167  }
168  }
169 
172  if (verbose_) {
173  edm::LogAbsolute out("TestServiceTwo");
174  out << streamModuleIndent << "TestServiceTwo::preModuleStreamBeginLumi " << TimeStamper(printTimestamps_)
175  << " stream = " << sc.streamID() << " label = " << mcc.moduleDescription()->moduleLabel()
176  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock();
177  }
178  }
179 
182  if (verbose_) {
183  edm::LogAbsolute out("TestServiceTwo");
184  out << streamModuleIndent << "TestServiceTwo::postModuleStreamBeginLumi " << TimeStamper(printTimestamps_)
185  << " stream = " << sc.streamID() << " label = " << mcc.moduleDescription()->moduleLabel()
186  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock();
187  }
188  }
189 
192  if (verbose_) {
193  edm::LogAbsolute out("TestServiceTwo");
194  out << streamModuleIndent << "TestServiceTwo::preModuleStreamEndLumi " << TimeStamper(printTimestamps_)
195  << " stream = " << sc.streamID() << " label = " << mcc.moduleDescription()->moduleLabel()
196  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock();
197  }
198  }
199 
202  if (verbose_) {
203  edm::LogAbsolute out("TestServiceTwo");
204  out << streamModuleIndent << "TestServiceTwo::postModuleStreamEndLumi " << TimeStamper(printTimestamps_)
205  << " stream = " << sc.streamID() << " label = " << mcc.moduleDescription()->moduleLabel()
206  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock();
207  }
208  }
209 
212  if (verbose_) {
213  edm::LogAbsolute out("TestServiceTwo");
214  out << globalIndent << "TestServiceTwo::preGlobalBeginLumi " << TimeStamper(printTimestamps_)
215  << " run = " << gc.luminosityBlockID().run() << " lumi = " << gc.luminosityBlockID().luminosityBlock();
216  }
217  }
218 
221  if (verbose_) {
222  edm::LogAbsolute out("TestServiceTwo");
223  out << globalIndent << "TestServiceTwo::postGlobalBeginLumi " << TimeStamper(printTimestamps_)
224  << " run = " << gc.luminosityBlockID().run() << " lumi = " << gc.luminosityBlockID().luminosityBlock();
225  }
226  }
227 
230  if (verbose_) {
231  edm::LogAbsolute out("TestServiceTwo");
232  out << globalIndent << "TestServiceTwo::preGlobalEndLumi " << TimeStamper(printTimestamps_)
233  << " run = " << gc.luminosityBlockID().run() << " lumi = " << gc.luminosityBlockID().luminosityBlock();
234  }
235  }
236 
239  if (verbose_) {
240  edm::LogAbsolute out("TestServiceTwo");
241  out << globalIndent << "TestServiceTwo::postGlobalEndLumi " << TimeStamper(printTimestamps_)
242  << " run = " << gc.luminosityBlockID().run() << " lumi = " << gc.luminosityBlockID().luminosityBlock();
243  }
244  }
245 
248  if (verbose_) {
249  edm::LogAbsolute out("TestServiceTwo");
250  out << globalModuleIndent << "TestServiceTwo::preModuleGlobalBeginLumi " << TimeStamper(printTimestamps_)
251  << " label = " << mcc.moduleDescription()->moduleLabel() << " run = " << gc.luminosityBlockID().run()
252  << " lumi = " << gc.luminosityBlockID().luminosityBlock();
253  }
254  }
255 
258  if (verbose_) {
259  edm::LogAbsolute out("TestServiceTwo");
260  out << globalModuleIndent << "TestServiceTwo::postModuleGlobalBeginLumi " << TimeStamper(printTimestamps_)
261  << " label = " << mcc.moduleDescription()->moduleLabel() << " run = " << gc.luminosityBlockID().run()
262  << " lumi = " << gc.luminosityBlockID().luminosityBlock();
263  }
264  }
265 
268  if (verbose_) {
269  edm::LogAbsolute out("TestServiceTwo");
270  out << globalModuleIndent << "TestServiceTwo::preModuleGlobalEndLumi " << TimeStamper(printTimestamps_)
271  << " label = " << mcc.moduleDescription()->moduleLabel() << " run = " << gc.luminosityBlockID().run()
272  << " lumi = " << gc.luminosityBlockID().luminosityBlock();
273  }
274  }
275 
278  if (verbose_) {
279  edm::LogAbsolute out("TestServiceTwo");
280  out << globalModuleIndent << "TestServiceTwo::postModuleGlobalEndLumi " << TimeStamper(printTimestamps_)
281  << " label = " << mcc.moduleDescription()->moduleLabel() << " run = " << gc.luminosityBlockID().run()
282  << " lumi = " << gc.luminosityBlockID().luminosityBlock();
283  }
284  }
285 
288  if (verbose_) {
289  edm::LogAbsolute out("TestServiceTwo");
290  out << globalIndent << "TestServiceTwo::preGlobalWriteLumi " << TimeStamper(printTimestamps_)
291  << " run = " << gc.luminosityBlockID().run() << " lumi = " << gc.luminosityBlockID().luminosityBlock();
292  }
293  }
294 
297  if (verbose_) {
298  edm::LogAbsolute out("TestServiceTwo");
299  out << globalIndent << "TestServiceTwo::postGlobalWriteLumi " << TimeStamper(printTimestamps_)
300  << " run = " << gc.luminosityBlockID().run() << " lumi = " << gc.luminosityBlockID().luminosityBlock();
301  }
302  }
303 
306  if (verbose_) {
307  edm::LogAbsolute out("TestServiceTwo");
308  out << streamIndent << "TestServiceTwo::preStreamBeginRun " << TimeStamper(printTimestamps_)
309  << " stream = " << sc.streamID() << " run = " << sc.eventID().run();
310  }
311  }
312 
315  if (verbose_) {
316  edm::LogAbsolute out("TestServiceTwo");
317  out << streamIndent << "TestServiceTwo::postStreamBeginRun " << TimeStamper(printTimestamps_)
318  << " stream = " << sc.streamID() << " run = " << sc.eventID().run();
319  }
320  }
321 
324  if (verbose_) {
325  edm::LogAbsolute out("TestServiceTwo");
326  out << streamIndent << "TestServiceTwo::preStreamEndRun " << TimeStamper(printTimestamps_)
327  << " stream = " << sc.streamID() << " run = " << sc.eventID().run();
328  }
329  }
330 
333  if (verbose_) {
334  edm::LogAbsolute out("TestServiceTwo");
335  out << streamIndent << "TestServiceTwo::postStreamEndRun " << TimeStamper(printTimestamps_)
336  << " stream = " << sc.streamID() << " run = " << sc.eventID().run();
337  }
338  }
339 
342  if (verbose_) {
343  edm::LogAbsolute out("TestServiceTwo");
344  out << streamModuleIndent << "TestServiceTwo::preModuleStreamBeginRun " << TimeStamper(printTimestamps_)
345  << " stream = " << sc.streamID() << " label = " << mcc.moduleDescription()->moduleLabel()
346  << " run = " << sc.eventID().run();
347  }
348  }
349 
352  if (verbose_) {
353  edm::LogAbsolute out("TestServiceTwo");
354  out << streamModuleIndent << "TestServiceTwo::postModuleStreamBeginRun " << TimeStamper(printTimestamps_)
355  << " stream = " << sc.streamID() << " label = " << mcc.moduleDescription()->moduleLabel()
356  << " run = " << sc.eventID().run();
357  }
358  }
359 
362  if (verbose_) {
363  edm::LogAbsolute out("TestServiceTwo");
364  out << streamModuleIndent << "TestServiceTwo::preModuleStreamEndRun " << TimeStamper(printTimestamps_)
365  << " stream = " << sc.streamID() << " label = " << mcc.moduleDescription()->moduleLabel()
366  << " run = " << sc.eventID().run();
367  }
368  }
369 
372  if (verbose_) {
373  edm::LogAbsolute out("TestServiceTwo");
374  out << streamModuleIndent << "TestServiceTwo::postModuleStreamEndRun " << TimeStamper(printTimestamps_)
375  << " stream = " << sc.streamID() << " label = " << mcc.moduleDescription()->moduleLabel()
376  << " run = " << sc.eventID().run();
377  }
378  }
379 
382  if (verbose_) {
383  edm::LogAbsolute out("TestServiceTwo");
384  out << globalIndent << "TestServiceTwo::preGlobalBeginRun " << TimeStamper(printTimestamps_)
385  << " run = " << gc.luminosityBlockID().run();
386  }
387  }
388 
391  if (verbose_) {
392  edm::LogAbsolute out("TestServiceTwo");
393  out << globalIndent << "TestServiceTwo::postGlobalBeginRun " << TimeStamper(printTimestamps_)
394  << " run = " << gc.luminosityBlockID().run();
395  }
396  }
397 
400  if (verbose_) {
401  edm::LogAbsolute out("TestServiceTwo");
402  out << globalIndent << "TestServiceTwo::preGlobalEndRun " << TimeStamper(printTimestamps_)
403  << " run = " << gc.luminosityBlockID().run();
404  }
405  }
406 
409  if (verbose_) {
410  edm::LogAbsolute out("TestServiceTwo");
411  out << globalIndent << "TestServiceTwo::postGlobalEndRun " << TimeStamper(printTimestamps_)
412  << " run = " << gc.luminosityBlockID().run();
413  }
414  }
415 
418  if (verbose_) {
419  edm::LogAbsolute out("TestServiceTwo");
420  out << globalModuleIndent << "TestServiceTwo::preModuleGlobalBeginRun " << TimeStamper(printTimestamps_)
421  << " label = " << mcc.moduleDescription()->moduleLabel() << " run = " << gc.luminosityBlockID().run();
422  }
423  }
424 
427  if (verbose_) {
428  edm::LogAbsolute out("TestServiceTwo");
429  out << globalModuleIndent << "TestServiceTwo::postModuleGlobalBeginRun " << TimeStamper(printTimestamps_)
430  << " label = " << mcc.moduleDescription()->moduleLabel() << " run = " << gc.luminosityBlockID().run();
431  }
432  }
433 
436  if (verbose_) {
437  edm::LogAbsolute out("TestServiceTwo");
438  out << globalModuleIndent << "TestServiceTwo::preModuleGlobalEndRun " << TimeStamper(printTimestamps_)
439  << " label = " << mcc.moduleDescription()->moduleLabel() << " run = " << gc.luminosityBlockID().run();
440  }
441  }
442 
445  if (verbose_) {
446  edm::LogAbsolute out("TestServiceTwo");
447  out << globalModuleIndent << "TestServiceTwo::postModuleGlobalEndRun " << TimeStamper(printTimestamps_)
448  << " label = " << mcc.moduleDescription()->moduleLabel() << " run = " << gc.luminosityBlockID().run();
449  }
450  }
451 
454  if (verbose_) {
455  edm::LogAbsolute out("TestServiceTwo");
456  out << globalIndent << "TestServiceTwo::preGlobalWriteRun " << TimeStamper(printTimestamps_)
457  << " run = " << gc.luminosityBlockID().run();
458  }
459  }
460 
463  if (verbose_) {
464  edm::LogAbsolute out("TestServiceTwo");
465  out << globalIndent << "TestServiceTwo::postGlobalWriteRun " << TimeStamper(printTimestamps_)
466  << " run = " << gc.luminosityBlockID().run();
467  }
468  }
469 
470  unsigned int TestServiceTwo::nPreStreamBeginLumi() const { return nPreStreamBeginLumi_.load(); }
471  unsigned int TestServiceTwo::nPostStreamBeginLumi() const { return nPostStreamBeginLumi_.load(); }
472  unsigned int TestServiceTwo::nPreStreamEndLumi() const { return nPreStreamEndLumi_.load(); }
473  unsigned int TestServiceTwo::nPostStreamEndLumi() const { return nPostStreamEndLumi_.load(); }
474 
479 
480  unsigned int TestServiceTwo::nPreGlobalBeginLumi() const { return nPreGlobalBeginLumi_.load(); }
481  unsigned int TestServiceTwo::nPostGlobalBeginLumi() const { return nPostGlobalBeginLumi_.load(); }
482  unsigned int TestServiceTwo::nPreGlobalEndLumi() const { return nPreGlobalEndLumi_.load(); }
483  unsigned int TestServiceTwo::nPostGlobalEndLumi() const { return nPostGlobalEndLumi_.load(); }
484 
489 
490  unsigned int TestServiceTwo::nPreGlobalWriteLumi() const { return nPreGlobalWriteLumi_.load(); }
491  unsigned int TestServiceTwo::nPostGlobalWriteLumi() const { return nPostGlobalWriteLumi_.load(); }
492 
493  unsigned int TestServiceTwo::nPreStreamBeginRun() const { return nPreStreamBeginRun_.load(); }
494  unsigned int TestServiceTwo::nPostStreamBeginRun() const { return nPostStreamBeginRun_.load(); }
495  unsigned int TestServiceTwo::nPreStreamEndRun() const { return nPreStreamEndRun_.load(); }
496  unsigned int TestServiceTwo::nPostStreamEndRun() const { return nPostStreamEndRun_.load(); }
497 
500  unsigned int TestServiceTwo::nPreModuleStreamEndRun() const { return nPreModuleStreamEndRun_.load(); }
502 
503  unsigned int TestServiceTwo::nPreGlobalBeginRun() const { return nPreGlobalBeginRun_.load(); }
504  unsigned int TestServiceTwo::nPostGlobalBeginRun() const { return nPostGlobalBeginRun_.load(); }
505  unsigned int TestServiceTwo::nPreGlobalEndRun() const { return nPreGlobalEndRun_.load(); }
506  unsigned int TestServiceTwo::nPostGlobalEndRun() const { return nPostGlobalEndRun_.load(); }
507 
510  unsigned int TestServiceTwo::nPreModuleGlobalEndRun() const { return nPreModuleGlobalEndRun_.load(); }
512 
513  unsigned int TestServiceTwo::nPreGlobalWriteRun() const { return nPreGlobalWriteRun_.load(); }
514  unsigned int TestServiceTwo::nPostGlobalWriteRun() const { return nPostGlobalWriteRun_.load(); }
515 } // namespace edmtest
516 
void watchPostModuleGlobalEndLumi(PostModuleGlobalEndLumi::slot_type const &iSlot)
void postModuleGlobalEndRun(edm::GlobalContext const &, edm::ModuleCallingContext const &)
std::atomic< unsigned int > nPostGlobalEndRun_
void watchPreModuleGlobalBeginRun(PreModuleGlobalBeginRun::slot_type const &iSlot)
void preStreamBeginLumi(edm::StreamContext const &)
void postGlobalEndRun(edm::GlobalContext const &)
LuminosityBlockNumber_t luminosityBlock() const
void preStreamEndLumi(edm::StreamContext const &)
unsigned int nPreStreamBeginRun() const
std::atomic< unsigned int > nPreModuleGlobalBeginLumi_
void preGlobalBeginLumi(edm::GlobalContext const &)
void postModuleStreamBeginRun(edm::StreamContext const &, edm::ModuleCallingContext const &)
unsigned int nPreStreamBeginLumi() const
std::atomic< unsigned int > nPreStreamBeginLumi_
unsigned int nPreModuleStreamBeginLumi() const
void preEndProcessBlock(edm::GlobalContext const &)
void preGlobalBeginRun(edm::GlobalContext const &)
std::atomic< unsigned int > nPreStreamBeginRun_
std::atomic< unsigned int > nPostStreamEndLumi_
std::atomic< unsigned int > nPreGlobalEndRun_
unsigned int nPreModuleGlobalBeginLumi() const
std::atomic< unsigned int > nPostModuleStreamBeginLumi_
void watchPreGlobalEndLumi(PreGlobalEndLumi::slot_type const &iSlot)
std::atomic< unsigned int > nPreGlobalEndLumi_
unsigned int nPostGlobalEndLumi() const
std::atomic< unsigned int > nPreStreamEndLumi_
std::atomic< unsigned int > nPreModuleStreamBeginRun_
std::atomic< unsigned int > nPreModuleGlobalEndLumi_
unsigned int nPostStreamBeginLumi() const
void watchPreStreamEndRun(PreStreamEndRun::slot_type const &iSlot)
std::atomic< unsigned int > nPostGlobalWriteLumi_
void preGlobalWriteRun(edm::GlobalContext const &)
void watchPreGlobalBeginLumi(PreGlobalBeginLumi::slot_type const &iSlot)
void watchPostStreamEndLumi(PostStreamEndLumi::slot_type const &iSlot)
unsigned int nPreGlobalEndRun() const
void watchPostModuleGlobalBeginLumi(PostModuleGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamEndLumi(PostModuleStreamEndLumi::slot_type const &iSlot)
void watchPostGlobalBeginLumi(PostGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamBeginRun(PostModuleStreamBeginRun::slot_type const &iSlot)
void preModuleStreamEndRun(edm::StreamContext const &, edm::ModuleCallingContext const &)
void postStreamBeginLumi(edm::StreamContext const &)
unsigned int nPreGlobalBeginLumi() const
void watchPreBeginProcessBlock(PreBeginProcessBlock::slot_type const &iSlot)
void preGlobalEndRun(edm::GlobalContext const &)
std::atomic< unsigned int > nPreModuleGlobalEndRun_
std::atomic< unsigned int > nPreModuleStreamEndLumi_
std::atomic< unsigned int > nPreGlobalBeginLumi_
unsigned int nPostGlobalBeginLumi() const
unsigned int nPostStreamBeginRun() const
void watchPreEndProcessBlock(PreEndProcessBlock::slot_type const &iSlot)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:167
ModuleDescription const * moduleDescription() const noexcept
void watchPreStreamEndLumi(PreStreamEndLumi::slot_type const &iSlot)
void preStreamEndRun(edm::StreamContext const &)
void watchPreModuleGlobalEndRun(PreModuleGlobalEndRun::slot_type const &iSlot)
std::atomic< unsigned int > nPostModuleStreamEndLumi_
void preModuleGlobalEndRun(edm::GlobalContext const &, edm::ModuleCallingContext const &)
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:39
std::atomic< unsigned int > nPostModuleGlobalBeginLumi_
void preModuleGlobalBeginLumi(edm::GlobalContext const &, edm::ModuleCallingContext const &)
std::atomic< unsigned int > nPreStreamEndRun_
TestServiceTwo(const edm::ParameterSet &, edm::ActivityRegistry &)
void preModuleGlobalBeginRun(edm::GlobalContext const &, edm::ModuleCallingContext const &)
void preStreamBeginRun(edm::StreamContext const &)
void watchPostGlobalBeginRun(PostGlobalBeginRun::slot_type const &iSlot)
void watchPreGlobalEndRun(PreGlobalEndRun::slot_type const &iSlot)
void preGlobalWriteLumi(edm::GlobalContext const &)
void watchPostStreamBeginLumi(PostStreamBeginLumi::slot_type const &iSlot)
unsigned int nPreGlobalWriteRun() const
void postGlobalBeginLumi(edm::GlobalContext const &)
unsigned int nPostGlobalBeginRun() const
StreamID const & streamID() const
Definition: StreamContext.h:55
unsigned int nPreModuleStreamBeginRun() const
void postModuleStreamEndLumi(edm::StreamContext const &, edm::ModuleCallingContext const &)
void postGlobalWriteLumi(edm::GlobalContext const &)
unsigned int nPreGlobalBeginRun() const
void postStreamEndRun(edm::StreamContext const &)
void watchPostGlobalEndLumi(PostGlobalEndLumi::slot_type const &iSlot)
std::atomic< unsigned int > nPostGlobalEndLumi_
enable
Messages.
Definition: DiMuonV_cfg.py:93
unsigned int nPreStreamEndLumi() const
unsigned int nPreModuleGlobalBeginRun() const
void watchPostStreamEndRun(PostStreamEndRun::slot_type const &iSlot)
void preModuleStreamBeginLumi(edm::StreamContext const &, edm::ModuleCallingContext const &)
LuminosityBlockID const & luminosityBlockID() const
Definition: GlobalContext.h:66
void preModuleStreamBeginRun(edm::StreamContext const &, edm::ModuleCallingContext const &)
std::atomic< unsigned int > nPreModuleStreamBeginLumi_
unsigned int nPostModuleGlobalBeginLumi() const
void preModuleStreamEndLumi(edm::StreamContext const &, edm::ModuleCallingContext const &)
RunNumber_t run() const
unsigned int nPreModuleGlobalEndLumi() const
void watchPostModuleStreamEndRun(PostModuleStreamEndRun::slot_type const &iSlot)
void watchPreModuleGlobalBeginLumi(PreModuleGlobalBeginLumi::slot_type const &iSlot)
std::atomic< unsigned int > nPostModuleStreamEndRun_
std::atomic< unsigned int > nPostGlobalWriteRun_
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
void watchPreModuleStreamBeginLumi(PreModuleStreamBeginLumi::slot_type const &iSlot)
void watchPreGlobalWriteLumi(PreGlobalWriteLumi::slot_type const &iSlot)
std::atomic< unsigned int > nPostModuleGlobalBeginRun_
RunNumber_t run() const
Definition: EventID.h:38
#define DEFINE_FWK_SERVICE(type)
Definition: ServiceMaker.h:97
void preModuleGlobalEndLumi(edm::GlobalContext const &, edm::ModuleCallingContext const &)
std::atomic< unsigned int > nPreModuleStreamEndRun_
static void fillDescriptions(edm::ConfigurationDescriptions &)
unsigned int nPostModuleGlobalEndLumi() const
unsigned int nPostModuleStreamEndLumi() const
std::atomic< unsigned int > nPostModuleGlobalEndRun_
void watchPostModuleGlobalEndRun(PostModuleGlobalEndRun::slot_type const &iSlot)
void watchPostGlobalWriteRun(PostGlobalWriteRun::slot_type const &iSlot)
void watchPostModuleStreamBeginLumi(PostModuleStreamBeginLumi::slot_type const &iSlot)
std::atomic< unsigned int > nPostStreamBeginRun_
unsigned int nPostGlobalWriteLumi() const
std::atomic< unsigned int > nPreModuleGlobalBeginRun_
unsigned int nPreGlobalWriteLumi() const
void postModuleGlobalBeginLumi(edm::GlobalContext const &, edm::ModuleCallingContext const &)
void watchPreModuleStreamEndLumi(PreModuleStreamEndLumi::slot_type const &iSlot)
unsigned int nPostStreamEndLumi() const
void watchPreModuleStreamBeginRun(PreModuleStreamBeginRun::slot_type const &iSlot)
unsigned int nPostModuleGlobalBeginRun() const
void watchPostGlobalEndRun(PostGlobalEndRun::slot_type const &iSlot)
void watchPreStreamBeginLumi(PreStreamBeginLumi::slot_type const &iSlot)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::atomic< unsigned int > nPostStreamEndRun_
std::atomic< unsigned int > nPreGlobalBeginRun_
unsigned int nPostModuleGlobalEndRun() const
unsigned int nPreStreamEndRun() const
unsigned int nPreModuleStreamEndRun() const
void watchPostStreamBeginRun(PostStreamBeginRun::slot_type const &iSlot)
std::atomic< unsigned int > nPostModuleStreamBeginRun_
void postModuleGlobalEndLumi(edm::GlobalContext const &, edm::ModuleCallingContext const &)
void postModuleGlobalBeginRun(edm::GlobalContext const &, edm::ModuleCallingContext const &)
void preBeginProcessBlock(edm::GlobalContext const &)
void watchPostGlobalWriteLumi(PostGlobalEndLumi::slot_type const &iSlot)
unsigned int nPostModuleStreamEndRun() const
void postGlobalWriteRun(edm::GlobalContext const &)
void watchPreStreamBeginRun(PreStreamBeginRun::slot_type const &iSlot)
void postGlobalBeginRun(edm::GlobalContext const &)
void watchPreModuleStreamEndRun(PreModuleStreamEndRun::slot_type const &iSlot)
EventID const & eventID() const
Definition: StreamContext.h:60
void postGlobalEndLumi(edm::GlobalContext const &)
void watchPostModuleGlobalBeginRun(PostModuleGlobalBeginRun::slot_type const &iSlot)
std::atomic< unsigned int > nPostGlobalBeginLumi_
unsigned int nPostStreamEndRun() const
unsigned int nPostGlobalWriteRun() const
unsigned int nPreModuleStreamEndLumi() const
void postModuleStreamBeginLumi(edm::StreamContext const &, edm::ModuleCallingContext const &)
Log< level::System, true > LogAbsolute
void postStreamBeginRun(edm::StreamContext const &)
unsigned int nPreModuleGlobalEndRun() const
unsigned int nPostGlobalEndRun() const
std::atomic< unsigned int > nPreGlobalWriteLumi_
void preGlobalEndLumi(edm::GlobalContext const &)
void postModuleStreamEndRun(edm::StreamContext const &, edm::ModuleCallingContext const &)
void postStreamEndLumi(edm::StreamContext const &)
std::atomic< unsigned int > nPostModuleGlobalEndLumi_
std::atomic< unsigned int > nPostStreamBeginLumi_
std::string const & moduleLabel() const
unsigned int nPostModuleStreamBeginRun() const
void watchPreGlobalWriteRun(PreGlobalWriteRun::slot_type const &iSlot)
std::atomic< unsigned int > nPostGlobalBeginRun_
unsigned int nPostModuleStreamBeginLumi() const
void watchPreModuleGlobalEndLumi(PreModuleGlobalEndLumi::slot_type const &iSlot)
std::atomic< unsigned int > nPreGlobalWriteRun_
unsigned int nPreGlobalEndLumi() const