CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
edm::service::Tracer Class Reference

Public Member Functions

void postBeginJob ()
 
void postCloseFile (std::string const &, bool)
 
void postEndJob ()
 
void postEvent (StreamContext const &)
 
void postEventReadFromSource (StreamContext const &, ModuleCallingContext const &)
 
void postGlobalBeginLumi (GlobalContext const &)
 
void postGlobalBeginRun (GlobalContext const &)
 
void postGlobalEndLumi (GlobalContext const &)
 
void postGlobalEndRun (GlobalContext const &)
 
void postModuleBeginJob (ModuleDescription const &md)
 
void postModuleBeginStream (StreamContext const &, ModuleCallingContext const &)
 
void postModuleConstruction (ModuleDescription const &md)
 
void postModuleEndJob (ModuleDescription const &md)
 
void postModuleEndStream (StreamContext const &, ModuleCallingContext const &)
 
void postModuleEvent (StreamContext const &, ModuleCallingContext const &)
 
void postModuleEventDelayedGet (StreamContext const &, ModuleCallingContext const &)
 
void postModuleEventPrefetching (StreamContext const &, ModuleCallingContext const &)
 
void postModuleGlobalBeginLumi (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleGlobalBeginRun (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleGlobalEndLumi (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleGlobalEndRun (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleStreamBeginLumi (StreamContext const &, ModuleCallingContext const &)
 
void postModuleStreamBeginRun (StreamContext const &, ModuleCallingContext const &)
 
void postModuleStreamEndLumi (StreamContext const &, ModuleCallingContext const &)
 
void postModuleStreamEndRun (StreamContext const &, ModuleCallingContext const &)
 
void postOpenFile (std::string const &, bool)
 
void postPathEvent (StreamContext const &, PathContext const &, HLTPathStatus const &)
 
void postSourceConstruction (ModuleDescription const &md)
 
void postSourceEvent (StreamID)
 
void postSourceLumi ()
 
void postSourceRun ()
 
void postStreamBeginLumi (StreamContext const &)
 
void postStreamBeginRun (StreamContext const &)
 
void postStreamEndLumi (StreamContext const &)
 
void postStreamEndRun (StreamContext const &)
 
void preallocate (service::SystemBounds const &)
 
void preBeginJob (PathsAndConsumesOfModulesBase const &, ProcessContext const &)
 
void preCloseFile (std::string const &lfn, bool primary)
 
void preEvent (StreamContext const &)
 
void preEventReadFromSource (StreamContext const &, ModuleCallingContext const &)
 
void preGlobalBeginLumi (GlobalContext const &)
 
void preGlobalBeginRun (GlobalContext const &)
 
void preGlobalEndLumi (GlobalContext const &)
 
void preGlobalEndRun (GlobalContext const &)
 
void preModuleBeginJob (ModuleDescription const &md)
 
void preModuleBeginStream (StreamContext const &, ModuleCallingContext const &)
 
void preModuleConstruction (ModuleDescription const &md)
 
void preModuleEndJob (ModuleDescription const &md)
 
void preModuleEndStream (StreamContext const &, ModuleCallingContext const &)
 
void preModuleEvent (StreamContext const &, ModuleCallingContext const &)
 
void preModuleEventDelayedGet (StreamContext const &, ModuleCallingContext const &)
 
void preModuleEventPrefetching (StreamContext const &, ModuleCallingContext const &)
 
void preModuleGlobalBeginLumi (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleGlobalBeginRun (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleGlobalEndLumi (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleGlobalEndRun (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleStreamBeginLumi (StreamContext const &, ModuleCallingContext const &)
 
void preModuleStreamBeginRun (StreamContext const &, ModuleCallingContext const &)
 
void preModuleStreamEndLumi (StreamContext const &, ModuleCallingContext const &)
 
void preModuleStreamEndRun (StreamContext const &, ModuleCallingContext const &)
 
void preOpenFile (std::string const &, bool)
 
void prePathEvent (StreamContext const &, PathContext const &)
 
void preSourceConstruction (ModuleDescription const &md)
 
void preSourceEvent (StreamID)
 
void preSourceLumi ()
 
void preSourceRun ()
 
void preStreamBeginLumi (StreamContext const &)
 
void preStreamBeginRun (StreamContext const &)
 
void preStreamEndLumi (StreamContext const &)
 
void preStreamEndRun (StreamContext const &)
 
 Tracer (const ParameterSet &, ActivityRegistry &)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 

Private Attributes

std::set< std::string > dumpContextForLabels_
 
bool dumpNonModuleContext_
 
bool dumpPathsAndConsumes_
 
std::string indention_
 
bool printTimestamps_
 

Detailed Description

Definition at line 61 of file Tracer.cc.

Constructor & Destructor Documentation

Tracer::Tracer ( const ParameterSet ,
ActivityRegistry  
)

Definition at line 198 of file Tracer.cc.

References edm::signalslot::Signal< T >::connect(), dumpContextForLabels_, edm::EventID::event(), edm::StreamContext::eventID(), edm::ParameterSet::getUntrackedParameter(), indention_, diffTwoXMLs::label, edm::EventID::luminosityBlock(), edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), eostools::move(), MillePedeFileConverter_cfg::out, postBeginJob(), postCloseFile(), postEndJob(), postEvent(), postEventReadFromSource(), postGlobalBeginLumi(), postGlobalBeginRun(), postGlobalEndLumi(), postGlobalEndRun(), postModuleBeginJob(), postModuleBeginStream(), postModuleConstruction(), postModuleEndJob(), postModuleEndStream(), postModuleEvent(), postModuleEventDelayedGet(), postModuleEventPrefetching(), postModuleGlobalBeginLumi(), postModuleGlobalBeginRun(), postModuleGlobalEndLumi(), postModuleGlobalEndRun(), postModuleStreamBeginLumi(), postModuleStreamBeginRun(), postModuleStreamEndLumi(), postModuleStreamEndRun(), postOpenFile(), postPathEvent(), postSourceConstruction(), postSourceEvent(), postSourceLumi(), postSourceRun(), postStreamBeginLumi(), postStreamBeginRun(), postStreamEndLumi(), postStreamEndRun(), preallocate(), preBeginJob(), preCloseFile(), preEvent(), preEventReadFromSource(), preGlobalBeginLumi(), preGlobalBeginRun(), edm::ActivityRegistry::preGlobalEarlyTerminationSignal_, preGlobalEndLumi(), preGlobalEndRun(), preModuleBeginJob(), preModuleBeginStream(), preModuleConstruction(), preModuleEndJob(), preModuleEndStream(), preModuleEvent(), preModuleEventDelayedGet(), preModuleEventPrefetching(), preModuleGlobalBeginLumi(), preModuleGlobalBeginRun(), preModuleGlobalEndLumi(), preModuleGlobalEndRun(), preModuleStreamBeginLumi(), preModuleStreamBeginRun(), preModuleStreamEndLumi(), preModuleStreamEndRun(), preOpenFile(), prePathEvent(), preSourceConstruction(), edm::ActivityRegistry::preSourceEarlyTerminationSignal_, preSourceEvent(), preSourceLumi(), preSourceRun(), preStreamBeginLumi(), preStreamBeginRun(), edm::ActivityRegistry::preStreamEarlyTerminationSignal_, preStreamEndLumi(), preStreamEndRun(), printTimestamps_, edm::EventID::run(), edm::LuminosityBlockID::run(), edm::StreamContext::streamID(), AlCaHLTBitMon_QueryRunRegistry::string, edm::GlobalContext::timestamp(), edm::StreamContext::timestamp(), edm::LuminosityBlockID::value(), edm::Timestamp::value(), edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostCloseFile(), edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostEvent(), edm::ActivityRegistry::watchPostEventReadFromSource(), edm::ActivityRegistry::watchPostGlobalBeginLumi(), edm::ActivityRegistry::watchPostGlobalBeginRun(), edm::ActivityRegistry::watchPostGlobalEndLumi(), edm::ActivityRegistry::watchPostGlobalEndRun(), edm::ActivityRegistry::watchPostModuleBeginJob(), edm::ActivityRegistry::watchPostModuleBeginStream(), edm::ActivityRegistry::watchPostModuleConstruction(), edm::ActivityRegistry::watchPostModuleEndJob(), edm::ActivityRegistry::watchPostModuleEndStream(), edm::ActivityRegistry::watchPostModuleEvent(), edm::ActivityRegistry::watchPostModuleEventDelayedGet(), edm::ActivityRegistry::watchPostModuleEventPrefetching(), edm::ActivityRegistry::watchPostModuleGlobalBeginLumi(), edm::ActivityRegistry::watchPostModuleGlobalBeginRun(), edm::ActivityRegistry::watchPostModuleGlobalEndLumi(), edm::ActivityRegistry::watchPostModuleGlobalEndRun(), edm::ActivityRegistry::watchPostModuleStreamBeginLumi(), edm::ActivityRegistry::watchPostModuleStreamBeginRun(), edm::ActivityRegistry::watchPostModuleStreamEndLumi(), edm::ActivityRegistry::watchPostModuleStreamEndRun(), edm::ActivityRegistry::watchPostOpenFile(), edm::ActivityRegistry::watchPostPathEvent(), edm::ActivityRegistry::watchPostSourceConstruction(), edm::ActivityRegistry::watchPostSourceEvent(), edm::ActivityRegistry::watchPostSourceLumi(), edm::ActivityRegistry::watchPostSourceRun(), edm::ActivityRegistry::watchPostStreamBeginLumi(), edm::ActivityRegistry::watchPostStreamBeginRun(), edm::ActivityRegistry::watchPostStreamEndLumi(), edm::ActivityRegistry::watchPostStreamEndRun(), edm::ActivityRegistry::watchPreallocate(), edm::ActivityRegistry::watchPreBeginJob(), edm::ActivityRegistry::watchPreCloseFile(), edm::ActivityRegistry::watchPreEvent(), edm::ActivityRegistry::watchPreEventReadFromSource(), edm::ActivityRegistry::watchPreGlobalBeginLumi(), edm::ActivityRegistry::watchPreGlobalBeginRun(), edm::ActivityRegistry::watchPreGlobalEndLumi(), edm::ActivityRegistry::watchPreGlobalEndRun(), edm::ActivityRegistry::watchPreModuleBeginJob(), edm::ActivityRegistry::watchPreModuleBeginStream(), edm::ActivityRegistry::watchPreModuleConstruction(), edm::ActivityRegistry::watchPreModuleEndJob(), edm::ActivityRegistry::watchPreModuleEndStream(), edm::ActivityRegistry::watchPreModuleEvent(), edm::ActivityRegistry::watchPreModuleEventDelayedGet(), edm::ActivityRegistry::watchPreModuleEventPrefetching(), edm::ActivityRegistry::watchPreModuleGlobalBeginLumi(), edm::ActivityRegistry::watchPreModuleGlobalBeginRun(), edm::ActivityRegistry::watchPreModuleGlobalEndLumi(), edm::ActivityRegistry::watchPreModuleGlobalEndRun(), edm::ActivityRegistry::watchPreModuleStreamBeginLumi(), edm::ActivityRegistry::watchPreModuleStreamBeginRun(), edm::ActivityRegistry::watchPreModuleStreamEndLumi(), edm::ActivityRegistry::watchPreModuleStreamEndRun(), edm::ActivityRegistry::watchPreOpenFile(), edm::ActivityRegistry::watchPrePathEvent(), edm::ActivityRegistry::watchPreSourceConstruction(), edm::ActivityRegistry::watchPreSourceEvent(), edm::ActivityRegistry::watchPreSourceLumi(), edm::ActivityRegistry::watchPreSourceRun(), edm::ActivityRegistry::watchPreStreamBeginLumi(), edm::ActivityRegistry::watchPreStreamBeginRun(), edm::ActivityRegistry::watchPreStreamEndLumi(), and edm::ActivityRegistry::watchPreStreamEndRun().

198  :
199  indention_(iPS.getUntrackedParameter<std::string>("indention")),
201  dumpNonModuleContext_(iPS.getUntrackedParameter<bool>("dumpNonModuleContext")),
202  dumpPathsAndConsumes_(iPS.getUntrackedParameter<bool>("dumpPathsAndConsumes")),
203  printTimestamps_(iPS.getUntrackedParameter<bool>("printTimestamps"))
204 {
205  for (std::string & label: iPS.getUntrackedParameter<std::vector<std::string>>("dumpContextForLabels"))
207 
208  iRegistry.watchPreallocate(this, &Tracer::preallocate);
209 
210  iRegistry.watchPreBeginJob(this, &Tracer::preBeginJob);
211  iRegistry.watchPostBeginJob(this, &Tracer::postBeginJob);
212  iRegistry.watchPostEndJob(this, &Tracer::postEndJob);
213 
214  iRegistry.watchPreSourceEvent(this, &Tracer::preSourceEvent);
215  iRegistry.watchPostSourceEvent(this, &Tracer::postSourceEvent);
216 
217  iRegistry.watchPreSourceLumi(this, &Tracer::preSourceLumi);
218  iRegistry.watchPostSourceLumi(this, &Tracer::postSourceLumi);
219 
220  iRegistry.watchPreSourceRun(this, &Tracer::preSourceRun);
221  iRegistry.watchPostSourceRun(this, &Tracer::postSourceRun);
222 
223  iRegistry.watchPreOpenFile(this, &Tracer::preOpenFile);
224  iRegistry.watchPostOpenFile(this, &Tracer::postOpenFile);
225 
226  iRegistry.watchPreCloseFile(this, &Tracer::preCloseFile);
227  iRegistry.watchPostCloseFile(this, &Tracer::postCloseFile);
228 
229  iRegistry.watchPreModuleBeginStream(this, &Tracer::preModuleBeginStream);
230  iRegistry.watchPostModuleBeginStream(this, &Tracer::postModuleBeginStream);
231 
232  iRegistry.watchPreModuleEndStream(this, &Tracer::preModuleEndStream);
233  iRegistry.watchPostModuleEndStream(this, &Tracer::postModuleEndStream);
234 
235  iRegistry.watchPreGlobalBeginRun(this, &Tracer::preGlobalBeginRun);
236  iRegistry.watchPostGlobalBeginRun(this, &Tracer::postGlobalBeginRun);
237 
238  iRegistry.watchPreGlobalEndRun(this, &Tracer::preGlobalEndRun);
239  iRegistry.watchPostGlobalEndRun(this, &Tracer::postGlobalEndRun);
240 
241  iRegistry.watchPreStreamBeginRun(this, &Tracer::preStreamBeginRun);
242  iRegistry.watchPostStreamBeginRun(this, &Tracer::postStreamBeginRun);
243 
244  iRegistry.watchPreStreamEndRun(this, &Tracer::preStreamEndRun);
245  iRegistry.watchPostStreamEndRun(this, &Tracer::postStreamEndRun);
246 
247  iRegistry.watchPreGlobalBeginLumi(this, &Tracer::preGlobalBeginLumi);
248  iRegistry.watchPostGlobalBeginLumi(this, &Tracer::postGlobalBeginLumi);
249 
250  iRegistry.watchPreGlobalEndLumi(this, &Tracer::preGlobalEndLumi);
251  iRegistry.watchPostGlobalEndLumi(this, &Tracer::postGlobalEndLumi);
252 
253  iRegistry.watchPreStreamBeginLumi(this, &Tracer::preStreamBeginLumi);
254  iRegistry.watchPostStreamBeginLumi(this, &Tracer::postStreamBeginLumi);
255 
256  iRegistry.watchPreStreamEndLumi(this, &Tracer::preStreamEndLumi);
257  iRegistry.watchPostStreamEndLumi(this, &Tracer::postStreamEndLumi);
258 
259  iRegistry.watchPreEvent(this, &Tracer::preEvent);
260  iRegistry.watchPostEvent(this, &Tracer::postEvent);
261 
262  iRegistry.watchPrePathEvent(this, &Tracer::prePathEvent);
263  iRegistry.watchPostPathEvent(this, &Tracer::postPathEvent);
264 
265  iRegistry.watchPreModuleConstruction(this, &Tracer::preModuleConstruction);
266  iRegistry.watchPostModuleConstruction(this, &Tracer::postModuleConstruction);
267 
268  iRegistry.watchPreModuleBeginJob(this, &Tracer::preModuleBeginJob);
269  iRegistry.watchPostModuleBeginJob(this, &Tracer::postModuleBeginJob);
270 
271  iRegistry.watchPreModuleEndJob(this, &Tracer::preModuleEndJob);
272  iRegistry.watchPostModuleEndJob(this, &Tracer::postModuleEndJob);
273 
274  iRegistry.watchPreModuleEventPrefetching(this, &Tracer::preModuleEventPrefetching);
275  iRegistry.watchPostModuleEventPrefetching(this, &Tracer::postModuleEventPrefetching);
276  iRegistry.watchPreModuleEvent(this, &Tracer::preModuleEvent);
277  iRegistry.watchPostModuleEvent(this, &Tracer::postModuleEvent);
278  iRegistry.watchPreModuleEventDelayedGet(this, &Tracer::preModuleEventDelayedGet);
279  iRegistry.watchPostModuleEventDelayedGet(this, &Tracer::postModuleEventDelayedGet);
280  iRegistry.watchPreEventReadFromSource(this, &Tracer::preEventReadFromSource);
281  iRegistry.watchPostEventReadFromSource(this, &Tracer::postEventReadFromSource);
282 
283  iRegistry.watchPreModuleStreamBeginRun(this, &Tracer::preModuleStreamBeginRun);
284  iRegistry.watchPostModuleStreamBeginRun(this, &Tracer::postModuleStreamBeginRun);
285  iRegistry.watchPreModuleStreamEndRun(this, &Tracer::preModuleStreamEndRun);
286  iRegistry.watchPostModuleStreamEndRun(this, &Tracer::postModuleStreamEndRun);
287 
288  iRegistry.watchPreModuleStreamBeginLumi(this, &Tracer::preModuleStreamBeginLumi);
289  iRegistry.watchPostModuleStreamBeginLumi(this, &Tracer::postModuleStreamBeginLumi);
290  iRegistry.watchPreModuleStreamEndLumi(this, &Tracer::preModuleStreamEndLumi);
291  iRegistry.watchPostModuleStreamEndLumi(this, &Tracer::postModuleStreamEndLumi);
292 
293  iRegistry.watchPreModuleGlobalBeginRun(this, &Tracer::preModuleGlobalBeginRun);
294  iRegistry.watchPostModuleGlobalBeginRun(this, &Tracer::postModuleGlobalBeginRun);
295  iRegistry.watchPreModuleGlobalEndRun(this, &Tracer::preModuleGlobalEndRun);
296  iRegistry.watchPostModuleGlobalEndRun(this, &Tracer::postModuleGlobalEndRun);
297 
298  iRegistry.watchPreModuleGlobalBeginLumi(this, &Tracer::preModuleGlobalBeginLumi);
299  iRegistry.watchPostModuleGlobalBeginLumi(this, &Tracer::postModuleGlobalBeginLumi);
300  iRegistry.watchPreModuleGlobalEndLumi(this, &Tracer::preModuleGlobalEndLumi);
301  iRegistry.watchPostModuleGlobalEndLumi(this, &Tracer::postModuleGlobalEndLumi);
302 
303  iRegistry.watchPreSourceConstruction(this, &Tracer::preSourceConstruction);
304  iRegistry.watchPostSourceConstruction(this, &Tracer::postSourceConstruction);
305 
306  iRegistry.preSourceEarlyTerminationSignal_.connect([this](edm::TerminationOrigin iOrigin) {
307  LogAbsolute out("Tracer");
308  out << TimeStamper(printTimestamps_);
309  out << indention_ << indention_ << " early termination before processing transition";
310  });
311  iRegistry.preStreamEarlyTerminationSignal_.connect([this](edm::StreamContext const& iContext, edm::TerminationOrigin iOrigin) {
312  LogAbsolute out("Tracer");
313  out << TimeStamper(printTimestamps_);
314  if(iContext.eventID().luminosityBlock() ==0) {
315  out << indention_ << indention_ << " early termination of run: stream = " << iContext.streamID()
316  <<" run = " << iContext.eventID().run();
317  }else {
318  if(iContext.eventID().event() == 0) {
319  out << indention_ << indention_ << " early termination of stream lumi: stream = " << iContext.streamID()
320  <<" run = " << iContext.eventID().run()
321  << " lumi = " << iContext.eventID().luminosityBlock() ;
322  } else {
323  out << indention_ << indention_ << " early termination of event: stream = " << iContext.streamID()
324  <<" run = " << iContext.eventID().run()
325  << " lumi = " << iContext.eventID().luminosityBlock()
326  << " event = "<< iContext.eventID().event();
327 
328  }
329  }
330  out<< " : time = " << iContext.timestamp().value();
331 
332  });
333  iRegistry.preGlobalEarlyTerminationSignal_.connect([this](edm::GlobalContext const& iContext, edm::TerminationOrigin iOrigin) {
334  LogAbsolute out("Tracer");
335  out << TimeStamper(printTimestamps_);
336  if(iContext.luminosityBlockID().value() ==0) {
337  out << indention_ << indention_ << " early termination of global run " << iContext.luminosityBlockID().run();
338  }else {
339  out << indention_ << indention_ << " early termination of global lumi run = " << iContext.luminosityBlockID().run()
340  << " lumi = " << iContext.luminosityBlockID().luminosityBlock() ;
341 
342  }
343  out<< " : time = " << iContext.timestamp().value();
344  });
345 }
void preCloseFile(std::string const &lfn, bool primary)
Definition: Tracer.cc:510
RunNumber_t run() const
Definition: EventID.h:39
EventNumber_t event() const
Definition: EventID.h:41
void postEventReadFromSource(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:960
void postSourceRun()
Definition: Tracer.cc:489
boost::uint64_t value() const
void postModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1107
void postModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1167
void postModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1077
void preModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1152
void postModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:803
void postModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:561
void postModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1197
void preallocate(service::SystemBounds const &)
Definition: Tracer.cc:360
LuminosityBlockID const & luminosityBlockID() const
Definition: GlobalContext.h:52
void postStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:716
void preModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1182
void preModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1032
void preGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:683
void preModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:835
void preModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:793
void preBeginJob(PathsAndConsumesOfModulesBase const &, ProcessContext const &)
Definition: Tracer.cc:367
void postStreamEndRun(StreamContext const &)
Definition: Tracer.cc:650
void postGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:694
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:40
void postModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:824
void postModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1017
void postCloseFile(std::string const &, bool)
Definition: Tracer.cc:517
Timestamp const & timestamp() const
Definition: GlobalContext.h:55
void preStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:727
void preOpenFile(std::string const &, bool)
Definition: Tracer.cc:494
void preGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:573
void preSourceEvent(StreamID)
Definition: Tracer.cc:464
void preGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:595
void preModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1062
void preModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:972
void prePathEvent(StreamContext const &, PathContext const &)
Definition: Tracer.cc:771
void postModuleEventPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:872
void postModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1047
RunNumber_t run() const
bool dumpPathsAndConsumes_
Definition: Tracer.cc:169
void preModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1122
void postStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:628
void preStreamEndRun(StreamContext const &)
Definition: Tracer.cc:639
void postOpenFile(std::string const &, bool)
Definition: Tracer.cc:502
void preEventReadFromSource(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:949
void postPathEvent(StreamContext const &, PathContext const &, HLTPathStatus const &)
Definition: Tracer.cc:782
StreamID const & streamID() const
Definition: StreamContext.h:57
void postModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:934
void preSourceLumi()
Definition: Tracer.cc:474
void postSourceEvent(StreamID)
Definition: Tracer.cc:469
std::string indention_
Definition: Tracer.cc:166
LuminosityBlockNumber_t luminosityBlock() const
void preSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1212
void preModuleEventPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:857
void preModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:888
void preModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:525
void postGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:584
void postGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:606
void postGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:672
void preEvent(StreamContext const &)
Definition: Tracer.cc:749
void preStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:705
void postModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:846
void preModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:549
void postModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:903
EventID const & eventID() const
Definition: StreamContext.h:59
void preModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:919
void postModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:537
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void preModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:813
void postStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:738
void preModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1002
void postEvent(StreamContext const &)
Definition: Tracer.cc:760
void preStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:617
TimeValue_t value() const
Definition: Timestamp.h:56
void postModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:987
void postSourceLumi()
Definition: Tracer.cc:479
def move(src, dest)
Definition: eostools.py:510
void preGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:661
void postModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1137
void postSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1223
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void preModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1092
Timestamp const & timestamp() const
Definition: StreamContext.h:62

Member Function Documentation

void Tracer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 348 of file Tracer.cc.

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), edm::ConfigurationDescriptions::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.

348  {
350  desc.addUntracked<std::string>("indention", "++")->setComment("Prefix characters for output. The characters are repeated to form the indentation.");
351  desc.addUntracked<std::vector<std::string>>("dumpContextForLabels", std::vector<std::string>{})->setComment("Prints context information to cout for the module transitions associated with these modules' labels");
352  desc.addUntracked<bool>("dumpNonModuleContext", false)->setComment("Prints context information to cout for the transitions not associated with any module label");
353  desc.addUntracked<bool>("dumpPathsAndConsumes", false)->setComment("Prints information to cout about paths, endpaths, products consumed by modules and the dependencies between modules created by the products they consume");
354  desc.addUntracked<bool>("printTimestamps", false)->setComment("Prints a time stamp for every transition");
355  descriptions.add("Tracer", desc);
356  descriptions.setComment("This service prints each phase the framework is processing, e.g. constructing a module,running a module, etc.");
357 }
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void setComment(std::string const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void Tracer::postBeginJob ( )

Definition at line 454 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

454  {
455  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: begin job";
456 }
std::string indention_
Definition: Tracer.cc:166
void Tracer::postCloseFile ( std::string const &  lfn,
bool  b 
)

Definition at line 517 of file Tracer.cc.

References b, dumpNonModuleContext_, indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

517  {
518  LogAbsolute out("Tracer");
519  out << TimeStamper(printTimestamps_);
520  out << indention_ << indention_ << " finished: close input file: lfn = " << lfn;
521  if(dumpNonModuleContext_) out << " usedFallBack = " << b;
522 }
std::string indention_
Definition: Tracer.cc:166
double b
Definition: hdecay.h:120
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::postEndJob ( )

Definition at line 459 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

459  {
460  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: end job";
461 }
std::string indention_
Definition: Tracer.cc:166
void Tracer::postEvent ( StreamContext const &  sc)

Definition at line 760 of file Tracer.cc.

References dumpNonModuleContext_, edm::EventID::event(), edm::StreamContext::eventID(), indention_, edm::EventID::luminosityBlock(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), SimDataFormats::CaloAnalysis::sc, edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

760  {
761  LogAbsolute out("Tracer");
762  out << TimeStamper(printTimestamps_);
763  out << indention_ << indention_ << " finished: processing event : stream = " << sc.streamID() << " run = " << sc.eventID().run()
764  << " lumi = " << sc.eventID().luminosityBlock() << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
766  out << "\n" << sc;
767  }
768 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::postEventReadFromSource ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 960 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

960  {
961  LogAbsolute out("Tracer");
962  out << TimeStamper(printTimestamps_);
963  unsigned int nIndents = mcc.depth() + 5;
964  for(unsigned int i = 0; i < nIndents; ++i) {
965  out << indention_;
966  }
967  out << " finished: event delayed read from source: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
968 }
std::string indention_
Definition: Tracer.cc:166
void Tracer::postGlobalBeginLumi ( GlobalContext const &  gc)

Definition at line 672 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

672  {
673  LogAbsolute out("Tracer");
674  out << TimeStamper(printTimestamps_);
675  out << indention_ << indention_ << " finished: global begin lumi: run = " << gc.luminosityBlockID().run()
676  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
678  out << "\n" << gc;
679  }
680 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::postGlobalBeginRun ( GlobalContext const &  gc)

Definition at line 584 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

584  {
585  LogAbsolute out("Tracer");
586  out << TimeStamper(printTimestamps_);
587  out << indention_ << indention_ << " finished: global begin run " << gc.luminosityBlockID().run()
588  << " : time = " << gc.timestamp().value();
590  out << "\n" << gc;
591  }
592 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::postGlobalEndLumi ( GlobalContext const &  gc)

Definition at line 694 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

694  {
695  LogAbsolute out("Tracer");
696  out << TimeStamper(printTimestamps_);
697  out << indention_ << indention_ << " finished: global end lumi: run = " << gc.luminosityBlockID().run()
698  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
700  out << "\n" << gc;
701  }
702 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::postGlobalEndRun ( GlobalContext const &  gc)

Definition at line 606 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

606  {
607  LogAbsolute out("Tracer");
608  out << TimeStamper(printTimestamps_);
609  out << indention_ << indention_ << " finished: global end run " << gc.luminosityBlockID().run()
610  << " : time = " << gc.timestamp().value();
612  out << "\n" << gc;
613  }
614 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::postModuleBeginJob ( ModuleDescription const &  md)

Definition at line 824 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

824  {
825  LogAbsolute out("Tracer");
826  out << TimeStamper(printTimestamps_);
827  out << indention_ << indention_;
828  out << " finished: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
829  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
830  out << "\n" << desc;
831  }
832 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::postModuleBeginStream ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 537 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

537  {
538  ModuleDescription const& desc = *mcc.moduleDescription();
539  LogAbsolute out("Tracer");
540  out << TimeStamper(printTimestamps_);
541  out << indention_ << indention_ << " finished: begin stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
542  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
543  out << "\n" << sc;
544  out << mcc;
545  }
546 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::postModuleConstruction ( ModuleDescription const &  md)

Definition at line 803 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

803  {
804  LogAbsolute out("Tracer");
805  out << TimeStamper(printTimestamps_);
806  out << indention_ << indention_ << " finished: constructing module with label '" << desc.moduleLabel() << "' id = " << desc.id();
807  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
808  out << "\n" << desc;
809  }
810 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::postModuleEndJob ( ModuleDescription const &  md)

Definition at line 846 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

846  {
847  LogAbsolute out("Tracer");
848  out << TimeStamper(printTimestamps_);
849  out << indention_ << indention_;
850  out << " finished: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
851  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
852  out << "\n" << desc;
853  }
854 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::postModuleEndStream ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 561 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

561  {
562  ModuleDescription const& desc = *mcc.moduleDescription();
563  LogAbsolute out("Tracer");
564  out << TimeStamper(printTimestamps_);
565  out << indention_ << indention_ << " finished: end stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
566  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
567  out << "\n" << sc;
568  out << mcc;
569  }
570 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::postModuleEvent ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 903 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

903  {
904  LogAbsolute out("Tracer");
905  out << TimeStamper(printTimestamps_);
906  unsigned int nIndents = mcc.depth() + 4;
907  for(unsigned int i = 0; i < nIndents; ++i) {
908  out << indention_;
909  }
910  out << " finished: processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
911  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
912  out << "\n" << sc;
913  out << mcc;
914  }
915 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::postModuleEventDelayedGet ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 934 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

934  {
935  LogAbsolute out("Tracer");
936  out << TimeStamper(printTimestamps_);
937  unsigned int nIndents = mcc.depth() + 4;
938  for(unsigned int i = 0; i < nIndents; ++i) {
939  out << indention_;
940  }
941  out << " finished: delayed processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
942  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
943  out << "\n" << sc;
944  out << mcc;
945  }
946 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::postModuleEventPrefetching ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 872 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

872  {
873  LogAbsolute out("Tracer");
874  out << TimeStamper(printTimestamps_);
875  unsigned int nIndents = mcc.depth() + 4;
876  for(unsigned int i = 0; i < nIndents; ++i) {
877  out << indention_;
878  }
879  out << " finished: prefetching before processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
880  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
881  out << "\n" << sc;
882  out << mcc;
883  }
884 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::postModuleGlobalBeginLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1167 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1167  {
1168  LogAbsolute out("Tracer");
1169  out << TimeStamper(printTimestamps_);
1170  unsigned int nIndents = mcc.depth() + 3;
1171  for(unsigned int i = 0; i < nIndents; ++i) {
1172  out << indention_;
1173  }
1174  out << " finished: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1175  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1176  out << "\n" << gc;
1177  out << mcc;
1178  }
1179 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::postModuleGlobalBeginRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1107 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1107  {
1108  LogAbsolute out("Tracer");
1109  out << TimeStamper(printTimestamps_);
1110  unsigned int nIndents = mcc.depth() + 3;
1111  for(unsigned int i = 0; i < nIndents; ++i) {
1112  out << indention_;
1113  }
1114  out << " finished: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1115  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1116  out << "\n" << gc;
1117  out << mcc;
1118  }
1119 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::postModuleGlobalEndLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1197 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1197  {
1198  LogAbsolute out("Tracer");
1199  out << TimeStamper(printTimestamps_);
1200  unsigned int nIndents = mcc.depth() + 3;
1201  for(unsigned int i = 0; i < nIndents; ++i) {
1202  out << indention_;
1203  }
1204  out << " finished: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1205  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1206  out << "\n" << gc;
1207  out << mcc;
1208  }
1209 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::postModuleGlobalEndRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1137 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1137  {
1138  LogAbsolute out("Tracer");
1139  out << TimeStamper(printTimestamps_);
1140  unsigned int nIndents = mcc.depth() + 3;
1141  for(unsigned int i = 0; i < nIndents; ++i) {
1142  out << indention_;
1143  }
1144  out << " finished: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1145  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1146  out << "\n" << gc;
1147  out << mcc;
1148  }
1149 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::postModuleStreamBeginLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1047 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

1047  {
1048  LogAbsolute out("Tracer");
1049  out << TimeStamper(printTimestamps_);
1050  unsigned int nIndents = mcc.depth() + 3;
1051  for(unsigned int i = 0; i < nIndents; ++i) {
1052  out << indention_;
1053  }
1054  out << " finished: begin lumi for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1055  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1056  out << "\n" << sc;
1057  out << mcc;
1058  }
1059 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::postModuleStreamBeginRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 987 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

987  {
988  LogAbsolute out("Tracer");
989  out << TimeStamper(printTimestamps_);
990  unsigned int nIndents = mcc.depth() + 3;
991  for(unsigned int i = 0; i < nIndents; ++i) {
992  out << indention_;
993  }
994  out << " finished: begin run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
995  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
996  out << "\n" << sc;
997  out << mcc;
998  }
999 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::postModuleStreamEndLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1077 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

1077  {
1078  LogAbsolute out("Tracer");
1079  out << TimeStamper(printTimestamps_);
1080  unsigned int nIndents = mcc.depth() + 3;
1081  for(unsigned int i = 0; i < nIndents; ++i) {
1082  out << indention_;
1083  }
1084  out << " finished: end lumi for module: stream = " << sc.streamID() << " label = '"<< mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1085  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1086  out << "\n" << sc;
1087  out << mcc;
1088  }
1089 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::postModuleStreamEndRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1017 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

1017  {
1018  LogAbsolute out("Tracer");
1019  out << TimeStamper(printTimestamps_);
1020  unsigned int nIndents = mcc.depth() + 3;
1021  for(unsigned int i = 0; i < nIndents; ++i) {
1022  out << indention_;
1023  }
1024  out << " finished: end run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1025  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1026  out << "\n" << sc;
1027  out << mcc;
1028  }
1029 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::postOpenFile ( std::string const &  lfn,
bool  b 
)

Definition at line 502 of file Tracer.cc.

References b, dumpNonModuleContext_, indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

502  {
503  LogAbsolute out("Tracer");
504  out << TimeStamper(printTimestamps_);
505  out << indention_ << indention_ << " finished: open input file: lfn = " << lfn;
506  if(dumpNonModuleContext_) out << " usedFallBack = " << b;
507 }
std::string indention_
Definition: Tracer.cc:166
double b
Definition: hdecay.h:120
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::postPathEvent ( StreamContext const &  sc,
PathContext const &  pc,
HLTPathStatus const &  hlts 
)

Definition at line 782 of file Tracer.cc.

References dumpNonModuleContext_, indention_, MillePedeFileConverter_cfg::out, edm::PathContext::pathName(), printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

782  {
783  LogAbsolute out("Tracer");
784  out << TimeStamper(printTimestamps_);
785  out << indention_ << indention_ << indention_ << " finished: processing path '" << pc.pathName() << "' : stream = " << sc.streamID();
787  out << "\n" << sc;
788  out << pc;
789  }
790 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::postSourceConstruction ( ModuleDescription const &  md)

Definition at line 1223 of file Tracer.cc.

References DEFINE_FWK_SERVICE, dumpNonModuleContext_, indention_, edm::ModuleDescription::moduleName(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1223  {
1224  LogAbsolute out("Tracer");
1225  out << TimeStamper(printTimestamps_);
1226  out << indention_;
1227  out << " finished: constructing source: " << desc.moduleName();
1228  if(dumpNonModuleContext_) {
1229  out << "\n" << desc;
1230  }
1231 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::postSourceEvent ( StreamID  sid)

Definition at line 469 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

469  {
470  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source event";
471 }
std::string indention_
Definition: Tracer.cc:166
void Tracer::postSourceLumi ( )

Definition at line 479 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

479  {
480  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source lumi";
481 }
std::string indention_
Definition: Tracer.cc:166
void Tracer::postSourceRun ( )

Definition at line 489 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

489  {
490  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source run";
491 }
std::string indention_
Definition: Tracer.cc:166
void Tracer::postStreamBeginLumi ( StreamContext const &  sc)

Definition at line 716 of file Tracer.cc.

References dumpNonModuleContext_, edm::StreamContext::eventID(), indention_, edm::EventID::luminosityBlock(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), SimDataFormats::CaloAnalysis::sc, edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

716  {
717  LogAbsolute out("Tracer");
718  out << TimeStamper(printTimestamps_);
719  out << indention_ << indention_ << " finished: begin lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
720  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
722  out << "\n" << sc;
723  }
724 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::postStreamBeginRun ( StreamContext const &  sc)

Definition at line 628 of file Tracer.cc.

References dumpNonModuleContext_, edm::StreamContext::eventID(), indention_, MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), SimDataFormats::CaloAnalysis::sc, edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

628  {
629  LogAbsolute out("Tracer");
630  out << TimeStamper(printTimestamps_);
631  out << indention_ << indention_ << " finished: begin run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
632  << " time = " << sc.timestamp().value();
634  out << "\n" << sc;
635  }
636 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::postStreamEndLumi ( StreamContext const &  sc)

Definition at line 738 of file Tracer.cc.

References dumpNonModuleContext_, edm::StreamContext::eventID(), indention_, edm::EventID::luminosityBlock(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), SimDataFormats::CaloAnalysis::sc, edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

738  {
739  LogAbsolute out("Tracer");
740  out << TimeStamper(printTimestamps_);
741  out << indention_ << indention_ << " finished: end lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
742  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
744  out << "\n" << sc;
745  }
746 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::postStreamEndRun ( StreamContext const &  sc)

Definition at line 650 of file Tracer.cc.

References dumpNonModuleContext_, edm::StreamContext::eventID(), indention_, MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), SimDataFormats::CaloAnalysis::sc, edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

650  {
651  LogAbsolute out("Tracer");
652  out << TimeStamper(printTimestamps_);
653  out << indention_ << indention_ << " finished: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
654  << " time = " << sc.timestamp().value();
656  out << "\n" << sc;
657  }
658 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::preallocate ( service::SystemBounds const &  bounds)

Definition at line 360 of file Tracer.cc.

References indention_, edm::service::SystemBounds::maxNumberOfConcurrentLuminosityBlocks(), edm::service::SystemBounds::maxNumberOfConcurrentRuns(), edm::service::SystemBounds::maxNumberOfStreams(), and printTimestamps_.

Referenced by Tracer().

360  {
361  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " preallocate: " << bounds.maxNumberOfConcurrentRuns() << " concurrent runs, "
362  << bounds.maxNumberOfConcurrentLuminosityBlocks() << " concurrent luminosity sections, "
363  << bounds.maxNumberOfStreams() << " streams";
364 }
std::string indention_
Definition: Tracer.cc:166
void Tracer::preBeginJob ( PathsAndConsumesOfModulesBase const &  pathsAndConsumes,
ProcessContext const &  pc 
)

Definition at line 367 of file Tracer.cc.

References edm::PathsAndConsumesOfModulesBase::allModules(), edm::PathsAndConsumesOfModulesBase::consumesInfo(), dumpPathsAndConsumes_, edm::ELEMENT_TYPE, edm::PathsAndConsumesOfModulesBase::endPaths(), Exception, indention_, info(), edm::InLumi, edm::InRun, python.rootplot.argparse::module, edm::PathsAndConsumesOfModulesBase::moduleDescription(), edm::PathsAndConsumesOfModulesBase::modulesOnEndPath(), edm::PathsAndConsumesOfModulesBase::modulesOnPath(), edm::PathsAndConsumesOfModulesBase::modulesWhoseProductsAreConsumedBy(), MillePedeFileConverter_cfg::out, callgraph::path, edm::PathsAndConsumesOfModulesBase::paths(), printTimestamps_, and edm::ProcessContext::processName().

Referenced by Tracer().

367  {
368  LogAbsolute out("Tracer");
369  out << TimeStamper(printTimestamps_) << indention_ << " starting: begin job";
371  out << "\n" << "Process name = " << pc.processName() << "\n";
372  out << "paths:\n";
373  std::vector<std::string> const& paths = pathsAndConsumes.paths();
374  for(auto const& path : paths) {
375  out << " " << path << "\n";
376  }
377  out << "end paths:\n";
378  std::vector<std::string> const& endpaths = pathsAndConsumes.endPaths();
379  for(auto const& endpath : endpaths) {
380  out << " " << endpath << "\n";
381  }
382  for(unsigned int j = 0; j < paths.size(); ++j) {
383  std::vector<ModuleDescription const*> const& modulesOnPath = pathsAndConsumes.modulesOnPath(j);
384  out << "modules on path " << paths.at(j) << ":\n";
385  for(auto const& desc : modulesOnPath) {
386  out << " " << desc->moduleLabel() << "\n";
387  }
388  }
389  for(unsigned int j = 0; j < endpaths.size(); ++j) {
390  std::vector<ModuleDescription const*> const& modulesOnEndPath = pathsAndConsumes.modulesOnEndPath(j);
391  out << "modules on end path " << endpaths.at(j) << ":\n";
392  for(auto const& desc : modulesOnEndPath) {
393  out << " " << desc->moduleLabel() << "\n";
394  }
395  }
396  std::vector<ModuleDescription const*> const& allModules = pathsAndConsumes.allModules();
397  out << "All modules and modules in the current process whose products they consume:\n";
398  out << "(This does not include modules from previous processes or the source)\n";
399  for(auto const& module : allModules) {
400  out << " " << module->moduleName() << "/\'" << module->moduleLabel() << "\'";
401  unsigned int moduleID = module->id();
402  if(pathsAndConsumes.moduleDescription(moduleID) != module) {
403  throw cms::Exception("TestFailure") << "Tracer::preBeginJob, moduleDescription returns incorrect value";
404  }
405  std::vector<ModuleDescription const*> const& modulesWhoseProductsAreConsumedBy =
406  pathsAndConsumes.modulesWhoseProductsAreConsumedBy(moduleID);
407  if(!modulesWhoseProductsAreConsumedBy.empty()) {
408  out << " consumes products from these modules:\n";
409  for(auto const& producingModule : modulesWhoseProductsAreConsumedBy) {
410  out << " " << producingModule->moduleName() << "/\'" << producingModule->moduleLabel() << "\'\n";
411  }
412  } else {
413  out << "\n";
414  }
415  }
416  out << "All modules (listed by class and label) and all their consumed products.\n";
417  out << "Consumed products are listed by type, label, instance, process.\n";
418  out << "For products not in the event, \'run\' or \'lumi\' is added to indicate the TTree they are from.\n";
419  out << "For products that are declared with mayConsume, \'may consume\' is added.\n";
420  out << "For products consumed for Views, \'element type\' is added\n";
421  out << "For products only read from previous processes, \'skip current process\' is added\n";
422  for(auto const* module : allModules) {
423  out << " " << module->moduleName() << "/\'" << module->moduleLabel() << "\'";
424  std::vector<ConsumesInfo> consumesInfo = pathsAndConsumes.consumesInfo(module->id());
425  if(!consumesInfo.empty()) {
426  out << " consumes:\n";
427  for(auto const& info : consumesInfo) {
428  out << " " << info.type() << " \'" << info.label() << "\' \'" << info.instance();
429  out << "\' \'" << info.process() << "\'";
430  if(info.branchType() == InLumi) {
431  out << ", lumi";
432  } else if(info.branchType() == InRun) {
433  out << ", run";
434  }
435  if(!info.alwaysGets()) {
436  out << ", may consume";
437  }
438  if(info.kindOfType() == ELEMENT_TYPE) {
439  out << ", element type";
440  }
441  if(info.skipCurrentProcess()) {
442  out << ", skip current process";
443  }
444  out << "\n";
445  }
446  } else {
447  out << "\n";
448  }
449  }
450  }
451 }
static const TGPicture * info(bool iBackgroundIsBlack)
bool dumpPathsAndConsumes_
Definition: Tracer.cc:169
std::string indention_
Definition: Tracer.cc:166
Definition: vlib.h:208
void Tracer::preCloseFile ( std::string const &  lfn,
bool  primary 
)

Definition at line 510 of file Tracer.cc.

References b, dumpNonModuleContext_, indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

510  {
511  LogAbsolute out("Tracer");
512  out << TimeStamper(printTimestamps_);
513  out << indention_ << indention_ << " starting: close input file: lfn = " << lfn;
514  if(dumpNonModuleContext_) out << " usedFallBack = " << b;
515 }
std::string indention_
Definition: Tracer.cc:166
double b
Definition: hdecay.h:120
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::preEvent ( StreamContext const &  sc)

Definition at line 749 of file Tracer.cc.

References dumpNonModuleContext_, edm::EventID::event(), edm::StreamContext::eventID(), indention_, edm::EventID::luminosityBlock(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), SimDataFormats::CaloAnalysis::sc, edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

749  {
750  LogAbsolute out("Tracer");
751  out << TimeStamper(printTimestamps_);
752  out << indention_ << indention_ << " starting: processing event : stream = " << sc.streamID() << " run = " << sc.eventID().run()
753  << " lumi = " << sc.eventID().luminosityBlock() << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
755  out << "\n" << sc;
756  }
757 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::preEventReadFromSource ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 949 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

949  {
950  LogAbsolute out("Tracer");
951  out << TimeStamper(printTimestamps_);
952  unsigned int nIndents = mcc.depth() + 5;
953  for(unsigned int i = 0; i < nIndents; ++i) {
954  out << indention_;
955  }
956  out << " starting: event delayed read from source: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
957 }
std::string indention_
Definition: Tracer.cc:166
void Tracer::preGlobalBeginLumi ( GlobalContext const &  gc)

Definition at line 661 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

661  {
662  LogAbsolute out("Tracer");
663  out << TimeStamper(printTimestamps_);
664  out << indention_ << indention_ << " starting: global begin lumi: run = " << gc.luminosityBlockID().run()
665  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
667  out << "\n" << gc;
668  }
669 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::preGlobalBeginRun ( GlobalContext const &  gc)

Definition at line 573 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

573  {
574  LogAbsolute out("Tracer");
575  out << TimeStamper(printTimestamps_);
576  out << indention_ << indention_ << " starting: global begin run " << gc.luminosityBlockID().run()
577  << " : time = " << gc.timestamp().value();
579  out << "\n" << gc;
580  }
581 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::preGlobalEndLumi ( GlobalContext const &  gc)

Definition at line 683 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

683  {
684  LogAbsolute out("Tracer");
685  out << TimeStamper(printTimestamps_);
686  out << indention_ << indention_ << " starting: global end lumi: run = " << gc.luminosityBlockID().run()
687  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
689  out << "\n" << gc;
690  }
691 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::preGlobalEndRun ( GlobalContext const &  gc)

Definition at line 595 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::LuminosityBlockID::run(), edm::GlobalContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

595  {
596  LogAbsolute out("Tracer");
597  out << TimeStamper(printTimestamps_);
598  out << indention_ << indention_ << " starting: global end run " << gc.luminosityBlockID().run()
599  << " : time = " << gc.timestamp().value();
601  out << "\n" << gc;
602  }
603 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::preModuleBeginJob ( ModuleDescription const &  md)

Definition at line 813 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

813  {
814  LogAbsolute out("Tracer");
815  out << TimeStamper(printTimestamps_);
816  out << indention_ << indention_;
817  out << " starting: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
818  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
819  out << "\n" << desc;
820  }
821 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::preModuleBeginStream ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 525 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

525  {
526  ModuleDescription const& desc = *mcc.moduleDescription();
527  LogAbsolute out("Tracer");
528  out << TimeStamper(printTimestamps_);
529  out << indention_ << indention_ << " starting: begin stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
530  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
531  out << "\n" << sc;
532  out << mcc;
533  }
534 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::preModuleConstruction ( ModuleDescription const &  md)

Definition at line 793 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

793  {
794  LogAbsolute out("Tracer");
795  out << TimeStamper(printTimestamps_);
796  out << indention_ << indention_ << " starting: constructing module with label '" << desc.moduleLabel() << "' id = " << desc.id();
797  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
798  out << "\n" << desc;
799  }
800 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::preModuleEndJob ( ModuleDescription const &  md)

Definition at line 835 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

835  {
836  LogAbsolute out("Tracer");
837  out << TimeStamper(printTimestamps_);
838  out << indention_ << indention_;
839  out << " starting: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
840  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
841  out << "\n" << desc;
842  }
843 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::preModuleEndStream ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 549 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

549  {
550  ModuleDescription const& desc = *mcc.moduleDescription();
551  LogAbsolute out("Tracer");
552  out << TimeStamper(printTimestamps_);
553  out << indention_ << indention_ << " starting: end stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
554  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
555  out << "\n" << sc;
556  out << mcc;
557  }
558 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::preModuleEvent ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 888 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

888  {
889  LogAbsolute out("Tracer");
890  out << TimeStamper(printTimestamps_);
891  unsigned int nIndents = mcc.depth() + 4;
892  for(unsigned int i = 0; i < nIndents; ++i) {
893  out << indention_;
894  }
895  out << " starting: processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
896  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
897  out << "\n" << sc;
898  out << mcc;
899  }
900 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::preModuleEventDelayedGet ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 919 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

919  {
920  LogAbsolute out("Tracer");
921  out << TimeStamper(printTimestamps_);
922  unsigned int nIndents = mcc.depth() + 4;
923  for(unsigned int i = 0; i < nIndents; ++i) {
924  out << indention_;
925  }
926  out << " starting: delayed processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
927  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
928  out << "\n" << sc;
929  out << mcc;
930  }
931 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::preModuleEventPrefetching ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 857 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

857  {
858  LogAbsolute out("Tracer");
859  out << TimeStamper(printTimestamps_);
860  unsigned int nIndents = mcc.depth() + 4;
861  for(unsigned int i = 0; i < nIndents; ++i) {
862  out << indention_;
863  }
864  out << " starting: prefetching before processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
865  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
866  out << "\n" << sc;
867  out << mcc;
868  }
869 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::preModuleGlobalBeginLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1152 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1152  {
1153  LogAbsolute out("Tracer");
1154  out << TimeStamper(printTimestamps_);
1155  unsigned int nIndents = mcc.depth() + 3;
1156  for(unsigned int i = 0; i < nIndents; ++i) {
1157  out << indention_;
1158  }
1159  out << " starting: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1160  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1161  out << "\n" << gc;
1162  out << mcc;
1163  }
1164 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::preModuleGlobalBeginRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1092 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1092  {
1093  LogAbsolute out("Tracer");
1094  out << TimeStamper(printTimestamps_);
1095  unsigned int nIndents = mcc.depth() + 3;
1096  for(unsigned int i = 0; i < nIndents; ++i) {
1097  out << indention_;
1098  }
1099  out << " starting: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1100  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1101  out << "\n" << gc;
1102  out << mcc;
1103  }
1104 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::preModuleGlobalEndLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1182 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1182  {
1183  LogAbsolute out("Tracer");
1184  out << TimeStamper(printTimestamps_);
1185  unsigned int nIndents = mcc.depth() + 3;
1186  for(unsigned int i = 0; i < nIndents; ++i) {
1187  out << indention_;
1188  }
1189  out << " starting: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1190  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1191  out << "\n" << gc;
1192  out << mcc;
1193  }
1194 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::preModuleGlobalEndRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1122 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1122  {
1123  LogAbsolute out("Tracer");
1124  out << TimeStamper(printTimestamps_);
1125  unsigned int nIndents = mcc.depth() + 3;
1126  for(unsigned int i = 0; i < nIndents; ++i) {
1127  out << indention_;
1128  }
1129  out << " starting: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1130  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1131  out << "\n" << gc;
1132  out << mcc;
1133  }
1134 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::preModuleStreamBeginLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1032 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

1032  {
1033  LogAbsolute out("Tracer");
1034  out << TimeStamper(printTimestamps_);
1035  unsigned int nIndents = mcc.depth() + 3;
1036  for(unsigned int i = 0; i < nIndents; ++i) {
1037  out << indention_;
1038  }
1039  out << " starting: begin lumi for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1040  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1041  out << "\n" << sc;
1042  out << mcc;
1043  }
1044 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::preModuleStreamBeginRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 972 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

972  {
973  LogAbsolute out("Tracer");
974  out << TimeStamper(printTimestamps_);
975  unsigned int nIndents = mcc.depth() + 3;
976  for(unsigned int i = 0; i < nIndents; ++i) {
977  out << indention_;
978  }
979  out << " starting: begin run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
980  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
981  out << "\n" << sc;
982  out << mcc;
983  }
984 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::preModuleStreamEndLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1062 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

1062  {
1063  LogAbsolute out("Tracer");
1064  out << TimeStamper(printTimestamps_);
1065  unsigned int nIndents = mcc.depth() + 3;
1066  for(unsigned int i = 0; i < nIndents; ++i) {
1067  out << indention_;
1068  }
1069  out << " starting: end lumi for module: stream = " << sc.streamID() << " label = '"<< mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1070  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1071  out << "\n" << sc;
1072  out << mcc;
1073  }
1074 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::preModuleStreamEndRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1002 of file Tracer.cc.

References edm::ModuleCallingContext::depth(), dumpContextForLabels_, mps_fire::i, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), MillePedeFileConverter_cfg::out, printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

1002  {
1003  LogAbsolute out("Tracer");
1004  out << TimeStamper(printTimestamps_);
1005  unsigned int nIndents = mcc.depth() + 3;
1006  for(unsigned int i = 0; i < nIndents; ++i) {
1007  out << indention_;
1008  }
1009  out << " starting: end run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1010  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1011  out << "\n" << sc;
1012  out << mcc;
1013  }
1014 }
std::string indention_
Definition: Tracer.cc:166
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:167
void Tracer::preOpenFile ( std::string const &  lfn,
bool  b 
)

Definition at line 494 of file Tracer.cc.

References b, dumpNonModuleContext_, indention_, MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

494  {
495  LogAbsolute out("Tracer");
496  out << TimeStamper(printTimestamps_);
497  out << indention_ << indention_ << " starting: open input file: lfn = " << lfn;
498  if(dumpNonModuleContext_) out << " usedFallBack = " << b;
499 }
std::string indention_
Definition: Tracer.cc:166
double b
Definition: hdecay.h:120
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::prePathEvent ( StreamContext const &  sc,
PathContext const &  pc 
)

Definition at line 771 of file Tracer.cc.

References dumpNonModuleContext_, indention_, MillePedeFileConverter_cfg::out, edm::PathContext::pathName(), printTimestamps_, SimDataFormats::CaloAnalysis::sc, and edm::StreamContext::streamID().

Referenced by Tracer().

771  {
772  LogAbsolute out("Tracer");
773  out << TimeStamper(printTimestamps_);
774  out << indention_ << indention_ << indention_ << " starting: processing path '" << pc.pathName() << "' : stream = " << sc.streamID();
776  out << "\n" << sc;
777  out << pc;
778  }
779 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::preSourceConstruction ( ModuleDescription const &  md)

Definition at line 1212 of file Tracer.cc.

References dumpNonModuleContext_, indention_, edm::ModuleDescription::moduleName(), MillePedeFileConverter_cfg::out, and printTimestamps_.

Referenced by Tracer().

1212  {
1213  LogAbsolute out("Tracer");
1214  out << TimeStamper(printTimestamps_);
1215  out << indention_;
1216  out << " starting: constructing source: " << desc.moduleName();
1217  if(dumpNonModuleContext_) {
1218  out << "\n" << desc;
1219  }
1220 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::preSourceEvent ( StreamID  sid)

Definition at line 464 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

464  {
465  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source event";
466 }
std::string indention_
Definition: Tracer.cc:166
void Tracer::preSourceLumi ( )

Definition at line 474 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

474  {
475  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source lumi";
476 }
std::string indention_
Definition: Tracer.cc:166
void Tracer::preSourceRun ( )

Definition at line 484 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

484  {
485  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source run";
486 }
std::string indention_
Definition: Tracer.cc:166
void Tracer::preStreamBeginLumi ( StreamContext const &  sc)

Definition at line 705 of file Tracer.cc.

References dumpNonModuleContext_, edm::StreamContext::eventID(), indention_, edm::EventID::luminosityBlock(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), SimDataFormats::CaloAnalysis::sc, edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

705  {
706  LogAbsolute out("Tracer");
707  out << TimeStamper(printTimestamps_);
708  out << indention_ << indention_ << " starting: begin lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
709  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
711  out << "\n" << sc;
712  }
713 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::preStreamBeginRun ( StreamContext const &  sc)

Definition at line 617 of file Tracer.cc.

References dumpNonModuleContext_, edm::StreamContext::eventID(), indention_, MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), SimDataFormats::CaloAnalysis::sc, edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

617  {
618  LogAbsolute out("Tracer");
619  out << TimeStamper(printTimestamps_);
620  out << indention_ << indention_ << " starting: begin run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
621  << " time = " << sc.timestamp().value();
623  out << "\n" << sc;
624  }
625 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::preStreamEndLumi ( StreamContext const &  sc)

Definition at line 727 of file Tracer.cc.

References dumpNonModuleContext_, edm::StreamContext::eventID(), indention_, edm::EventID::luminosityBlock(), MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), SimDataFormats::CaloAnalysis::sc, edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

727  {
728  LogAbsolute out("Tracer");
729  out << TimeStamper(printTimestamps_);
730  out << indention_ << indention_ << " starting: end lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
731  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
733  out << "\n" << sc;
734  }
735 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168
void Tracer::preStreamEndRun ( StreamContext const &  sc)

Definition at line 639 of file Tracer.cc.

References dumpNonModuleContext_, edm::StreamContext::eventID(), indention_, MillePedeFileConverter_cfg::out, printTimestamps_, edm::EventID::run(), SimDataFormats::CaloAnalysis::sc, edm::StreamContext::streamID(), edm::StreamContext::timestamp(), and edm::Timestamp::value().

Referenced by Tracer().

639  {
640  LogAbsolute out("Tracer");
641  out << TimeStamper(printTimestamps_);
642  out << indention_ << indention_ << " starting: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
643  << " time = " << sc.timestamp().value();
645  out << "\n" << sc;
646  }
647 }
std::string indention_
Definition: Tracer.cc:166
bool dumpNonModuleContext_
Definition: Tracer.cc:168

Member Data Documentation

std::set<std::string> edm::service::Tracer::dumpContextForLabels_
private
bool edm::service::Tracer::dumpNonModuleContext_
private
bool edm::service::Tracer::dumpPathsAndConsumes_
private

Definition at line 169 of file Tracer.cc.

Referenced by preBeginJob().

std::string edm::service::Tracer::indention_
private

Definition at line 166 of file Tracer.cc.

Referenced by postBeginJob(), postCloseFile(), postEndJob(), postEvent(), postEventReadFromSource(), postGlobalBeginLumi(), postGlobalBeginRun(), postGlobalEndLumi(), postGlobalEndRun(), postModuleBeginJob(), postModuleBeginStream(), postModuleConstruction(), postModuleEndJob(), postModuleEndStream(), postModuleEvent(), postModuleEventDelayedGet(), postModuleEventPrefetching(), postModuleGlobalBeginLumi(), postModuleGlobalBeginRun(), postModuleGlobalEndLumi(), postModuleGlobalEndRun(), postModuleStreamBeginLumi(), postModuleStreamBeginRun(), postModuleStreamEndLumi(), postModuleStreamEndRun(), postOpenFile(), postPathEvent(), postSourceConstruction(), postSourceEvent(), postSourceLumi(), postSourceRun(), postStreamBeginLumi(), postStreamBeginRun(), postStreamEndLumi(), postStreamEndRun(), preallocate(), preBeginJob(), preCloseFile(), preEvent(), preEventReadFromSource(), preGlobalBeginLumi(), preGlobalBeginRun(), preGlobalEndLumi(), preGlobalEndRun(), preModuleBeginJob(), preModuleBeginStream(), preModuleConstruction(), preModuleEndJob(), preModuleEndStream(), preModuleEvent(), preModuleEventDelayedGet(), preModuleEventPrefetching(), preModuleGlobalBeginLumi(), preModuleGlobalBeginRun(), preModuleGlobalEndLumi(), preModuleGlobalEndRun(), preModuleStreamBeginLumi(), preModuleStreamBeginRun(), preModuleStreamEndLumi(), preModuleStreamEndRun(), preOpenFile(), prePathEvent(), preSourceConstruction(), preSourceEvent(), preSourceLumi(), preSourceRun(), preStreamBeginLumi(), preStreamBeginRun(), preStreamEndLumi(), preStreamEndRun(), and Tracer().

bool edm::service::Tracer::printTimestamps_
private

Definition at line 170 of file Tracer.cc.

Referenced by postBeginJob(), postCloseFile(), postEndJob(), postEvent(), postEventReadFromSource(), postGlobalBeginLumi(), postGlobalBeginRun(), postGlobalEndLumi(), postGlobalEndRun(), postModuleBeginJob(), postModuleBeginStream(), postModuleConstruction(), postModuleEndJob(), postModuleEndStream(), postModuleEvent(), postModuleEventDelayedGet(), postModuleEventPrefetching(), postModuleGlobalBeginLumi(), postModuleGlobalBeginRun(), postModuleGlobalEndLumi(), postModuleGlobalEndRun(), postModuleStreamBeginLumi(), postModuleStreamBeginRun(), postModuleStreamEndLumi(), postModuleStreamEndRun(), postOpenFile(), postPathEvent(), postSourceConstruction(), postSourceEvent(), postSourceLumi(), postSourceRun(), postStreamBeginLumi(), postStreamBeginRun(), postStreamEndLumi(), postStreamEndRun(), preallocate(), preBeginJob(), preCloseFile(), preEvent(), preEventReadFromSource(), preGlobalBeginLumi(), preGlobalBeginRun(), preGlobalEndLumi(), preGlobalEndRun(), preModuleBeginJob(), preModuleBeginStream(), preModuleConstruction(), preModuleEndJob(), preModuleEndStream(), preModuleEvent(), preModuleEventDelayedGet(), preModuleEventPrefetching(), preModuleGlobalBeginLumi(), preModuleGlobalBeginRun(), preModuleGlobalEndLumi(), preModuleGlobalEndRun(), preModuleStreamBeginLumi(), preModuleStreamBeginRun(), preModuleStreamEndLumi(), preModuleStreamEndRun(), preOpenFile(), prePathEvent(), preSourceConstruction(), preSourceEvent(), preSourceLumi(), preSourceRun(), preStreamBeginLumi(), preStreamBeginRun(), preStreamEndLumi(), preStreamEndRun(), and Tracer().