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 postModuleEventAcquire (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 preModuleEventAcquire (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 200 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(), postModuleEventAcquire(), 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(), preModuleEventAcquire(), 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::watchPostModuleEventAcquire(), 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::watchPreModuleEventAcquire(), 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().

200  :
201  indention_(iPS.getUntrackedParameter<std::string>("indention")),
203  dumpNonModuleContext_(iPS.getUntrackedParameter<bool>("dumpNonModuleContext")),
204  dumpPathsAndConsumes_(iPS.getUntrackedParameter<bool>("dumpPathsAndConsumes")),
205  printTimestamps_(iPS.getUntrackedParameter<bool>("printTimestamps"))
206 {
207  for (std::string & label: iPS.getUntrackedParameter<std::vector<std::string>>("dumpContextForLabels"))
209 
210  iRegistry.watchPreallocate(this, &Tracer::preallocate);
211 
212  iRegistry.watchPreBeginJob(this, &Tracer::preBeginJob);
213  iRegistry.watchPostBeginJob(this, &Tracer::postBeginJob);
214  iRegistry.watchPostEndJob(this, &Tracer::postEndJob);
215 
216  iRegistry.watchPreSourceEvent(this, &Tracer::preSourceEvent);
217  iRegistry.watchPostSourceEvent(this, &Tracer::postSourceEvent);
218 
219  iRegistry.watchPreSourceLumi(this, &Tracer::preSourceLumi);
220  iRegistry.watchPostSourceLumi(this, &Tracer::postSourceLumi);
221 
222  iRegistry.watchPreSourceRun(this, &Tracer::preSourceRun);
223  iRegistry.watchPostSourceRun(this, &Tracer::postSourceRun);
224 
225  iRegistry.watchPreOpenFile(this, &Tracer::preOpenFile);
226  iRegistry.watchPostOpenFile(this, &Tracer::postOpenFile);
227 
228  iRegistry.watchPreCloseFile(this, &Tracer::preCloseFile);
229  iRegistry.watchPostCloseFile(this, &Tracer::postCloseFile);
230 
231  iRegistry.watchPreModuleBeginStream(this, &Tracer::preModuleBeginStream);
232  iRegistry.watchPostModuleBeginStream(this, &Tracer::postModuleBeginStream);
233 
234  iRegistry.watchPreModuleEndStream(this, &Tracer::preModuleEndStream);
235  iRegistry.watchPostModuleEndStream(this, &Tracer::postModuleEndStream);
236 
237  iRegistry.watchPreGlobalBeginRun(this, &Tracer::preGlobalBeginRun);
238  iRegistry.watchPostGlobalBeginRun(this, &Tracer::postGlobalBeginRun);
239 
240  iRegistry.watchPreGlobalEndRun(this, &Tracer::preGlobalEndRun);
241  iRegistry.watchPostGlobalEndRun(this, &Tracer::postGlobalEndRun);
242 
243  iRegistry.watchPreStreamBeginRun(this, &Tracer::preStreamBeginRun);
244  iRegistry.watchPostStreamBeginRun(this, &Tracer::postStreamBeginRun);
245 
246  iRegistry.watchPreStreamEndRun(this, &Tracer::preStreamEndRun);
247  iRegistry.watchPostStreamEndRun(this, &Tracer::postStreamEndRun);
248 
249  iRegistry.watchPreGlobalBeginLumi(this, &Tracer::preGlobalBeginLumi);
250  iRegistry.watchPostGlobalBeginLumi(this, &Tracer::postGlobalBeginLumi);
251 
252  iRegistry.watchPreGlobalEndLumi(this, &Tracer::preGlobalEndLumi);
253  iRegistry.watchPostGlobalEndLumi(this, &Tracer::postGlobalEndLumi);
254 
255  iRegistry.watchPreStreamBeginLumi(this, &Tracer::preStreamBeginLumi);
256  iRegistry.watchPostStreamBeginLumi(this, &Tracer::postStreamBeginLumi);
257 
258  iRegistry.watchPreStreamEndLumi(this, &Tracer::preStreamEndLumi);
259  iRegistry.watchPostStreamEndLumi(this, &Tracer::postStreamEndLumi);
260 
261  iRegistry.watchPreEvent(this, &Tracer::preEvent);
262  iRegistry.watchPostEvent(this, &Tracer::postEvent);
263 
264  iRegistry.watchPrePathEvent(this, &Tracer::prePathEvent);
265  iRegistry.watchPostPathEvent(this, &Tracer::postPathEvent);
266 
267  iRegistry.watchPreModuleConstruction(this, &Tracer::preModuleConstruction);
268  iRegistry.watchPostModuleConstruction(this, &Tracer::postModuleConstruction);
269 
270  iRegistry.watchPreModuleBeginJob(this, &Tracer::preModuleBeginJob);
271  iRegistry.watchPostModuleBeginJob(this, &Tracer::postModuleBeginJob);
272 
273  iRegistry.watchPreModuleEndJob(this, &Tracer::preModuleEndJob);
274  iRegistry.watchPostModuleEndJob(this, &Tracer::postModuleEndJob);
275 
276  iRegistry.watchPreModuleEventPrefetching(this, &Tracer::preModuleEventPrefetching);
277  iRegistry.watchPostModuleEventPrefetching(this, &Tracer::postModuleEventPrefetching);
278  iRegistry.watchPreModuleEvent(this, &Tracer::preModuleEvent);
279  iRegistry.watchPostModuleEvent(this, &Tracer::postModuleEvent);
280  iRegistry.watchPreModuleEventAcquire(this, &Tracer::preModuleEventAcquire);
281  iRegistry.watchPostModuleEventAcquire(this, &Tracer::postModuleEventAcquire);
282  iRegistry.watchPreModuleEventDelayedGet(this, &Tracer::preModuleEventDelayedGet);
283  iRegistry.watchPostModuleEventDelayedGet(this, &Tracer::postModuleEventDelayedGet);
284  iRegistry.watchPreEventReadFromSource(this, &Tracer::preEventReadFromSource);
285  iRegistry.watchPostEventReadFromSource(this, &Tracer::postEventReadFromSource);
286 
287  iRegistry.watchPreModuleStreamBeginRun(this, &Tracer::preModuleStreamBeginRun);
288  iRegistry.watchPostModuleStreamBeginRun(this, &Tracer::postModuleStreamBeginRun);
289  iRegistry.watchPreModuleStreamEndRun(this, &Tracer::preModuleStreamEndRun);
290  iRegistry.watchPostModuleStreamEndRun(this, &Tracer::postModuleStreamEndRun);
291 
292  iRegistry.watchPreModuleStreamBeginLumi(this, &Tracer::preModuleStreamBeginLumi);
293  iRegistry.watchPostModuleStreamBeginLumi(this, &Tracer::postModuleStreamBeginLumi);
294  iRegistry.watchPreModuleStreamEndLumi(this, &Tracer::preModuleStreamEndLumi);
295  iRegistry.watchPostModuleStreamEndLumi(this, &Tracer::postModuleStreamEndLumi);
296 
297  iRegistry.watchPreModuleGlobalBeginRun(this, &Tracer::preModuleGlobalBeginRun);
298  iRegistry.watchPostModuleGlobalBeginRun(this, &Tracer::postModuleGlobalBeginRun);
299  iRegistry.watchPreModuleGlobalEndRun(this, &Tracer::preModuleGlobalEndRun);
300  iRegistry.watchPostModuleGlobalEndRun(this, &Tracer::postModuleGlobalEndRun);
301 
302  iRegistry.watchPreModuleGlobalBeginLumi(this, &Tracer::preModuleGlobalBeginLumi);
303  iRegistry.watchPostModuleGlobalBeginLumi(this, &Tracer::postModuleGlobalBeginLumi);
304  iRegistry.watchPreModuleGlobalEndLumi(this, &Tracer::preModuleGlobalEndLumi);
305  iRegistry.watchPostModuleGlobalEndLumi(this, &Tracer::postModuleGlobalEndLumi);
306 
307  iRegistry.watchPreSourceConstruction(this, &Tracer::preSourceConstruction);
308  iRegistry.watchPostSourceConstruction(this, &Tracer::postSourceConstruction);
309 
310  iRegistry.preSourceEarlyTerminationSignal_.connect([this](edm::TerminationOrigin iOrigin) {
311  LogAbsolute out("Tracer");
312  out << TimeStamper(printTimestamps_);
313  out << indention_ << indention_ << " early termination before processing transition";
314  });
315  iRegistry.preStreamEarlyTerminationSignal_.connect([this](edm::StreamContext const& iContext, edm::TerminationOrigin iOrigin) {
316  LogAbsolute out("Tracer");
317  out << TimeStamper(printTimestamps_);
318  if(iContext.eventID().luminosityBlock() ==0) {
319  out << indention_ << indention_ << " early termination of run: stream = " << iContext.streamID()
320  <<" run = " << iContext.eventID().run();
321  }else {
322  if(iContext.eventID().event() == 0) {
323  out << indention_ << indention_ << " early termination of stream lumi: stream = " << iContext.streamID()
324  <<" run = " << iContext.eventID().run()
325  << " lumi = " << iContext.eventID().luminosityBlock() ;
326  } else {
327  out << indention_ << indention_ << " early termination of event: stream = " << iContext.streamID()
328  <<" run = " << iContext.eventID().run()
329  << " lumi = " << iContext.eventID().luminosityBlock()
330  << " event = "<< iContext.eventID().event();
331 
332  }
333  }
334  out<< " : time = " << iContext.timestamp().value();
335 
336  });
337  iRegistry.preGlobalEarlyTerminationSignal_.connect([this](edm::GlobalContext const& iContext, edm::TerminationOrigin iOrigin) {
338  LogAbsolute out("Tracer");
339  out << TimeStamper(printTimestamps_);
340  if(iContext.luminosityBlockID().value() ==0) {
341  out << indention_ << indention_ << " early termination of global run " << iContext.luminosityBlockID().run();
342  }else {
343  out << indention_ << indention_ << " early termination of global lumi run = " << iContext.luminosityBlockID().run()
344  << " lumi = " << iContext.luminosityBlockID().luminosityBlock() ;
345 
346  }
347  out<< " : time = " << iContext.timestamp().value();
348  });
349 }
void preCloseFile(std::string const &lfn, bool primary)
Definition: Tracer.cc:514
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:985
void postSourceRun()
Definition: Tracer.cc:493
boost::uint64_t value() const
void postModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1132
void postModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1192
void postModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1102
void postModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:933
void preModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1177
void postModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:807
void postModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:565
void postModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1222
void preallocate(service::SystemBounds const &)
Definition: Tracer.cc:364
LuminosityBlockID const & luminosityBlockID() const
Definition: GlobalContext.h:52
void postStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:720
void preModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1207
void preModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1057
void preGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:687
void preModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:839
void preModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:797
void preBeginJob(PathsAndConsumesOfModulesBase const &, ProcessContext const &)
Definition: Tracer.cc:371
void postStreamEndRun(StreamContext const &)
Definition: Tracer.cc:654
void postGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:698
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:40
void postModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:828
void postModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1042
void postCloseFile(std::string const &, bool)
Definition: Tracer.cc:521
Timestamp const & timestamp() const
Definition: GlobalContext.h:55
void preStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:731
void preOpenFile(std::string const &, bool)
Definition: Tracer.cc:498
void preGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:577
void preSourceEvent(StreamID)
Definition: Tracer.cc:468
void preGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:599
void preModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1087
void preModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:997
void prePathEvent(StreamContext const &, PathContext const &)
Definition: Tracer.cc:775
void postModuleEventPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:876
void postModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1072
RunNumber_t run() const
bool dumpPathsAndConsumes_
Definition: Tracer.cc:171
void preModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1147
void postStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:632
void preStreamEndRun(StreamContext const &)
Definition: Tracer.cc:643
void postOpenFile(std::string const &, bool)
Definition: Tracer.cc:506
void preEventReadFromSource(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:974
void postPathEvent(StreamContext const &, PathContext const &, HLTPathStatus const &)
Definition: Tracer.cc:786
StreamID const & streamID() const
Definition: StreamContext.h:57
void postModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:959
void preSourceLumi()
Definition: Tracer.cc:478
void postSourceEvent(StreamID)
Definition: Tracer.cc:473
std::string indention_
Definition: Tracer.cc:168
LuminosityBlockNumber_t luminosityBlock() const
void preSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1237
void preModuleEventPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:861
void preModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:892
void preModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:529
void postGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:588
void postGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:610
void postGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:676
void preEvent(StreamContext const &)
Definition: Tracer.cc:753
void preStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:709
void postModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:850
void preModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:553
void postModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:907
EventID const & eventID() const
Definition: StreamContext.h:59
void preModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:944
void postModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:541
void preModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:922
bool dumpNonModuleContext_
Definition: Tracer.cc:170
void preModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:817
void postStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:742
void preModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1027
void postEvent(StreamContext const &)
Definition: Tracer.cc:764
void preStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:621
TimeValue_t value() const
Definition: Timestamp.h:56
void postModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1012
void postSourceLumi()
Definition: Tracer.cc:483
def move(src, dest)
Definition: eostools.py:510
void preGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:665
void postModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1162
void postSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1248
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:169
void preModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1117
Timestamp const & timestamp() const
Definition: StreamContext.h:62

Member Function Documentation

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

Definition at line 352 of file Tracer.cc.

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

352  {
354  desc.addUntracked<std::string>("indention", "++")->setComment("Prefix characters for output. The characters are repeated to form the indentation.");
355  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");
356  desc.addUntracked<bool>("dumpNonModuleContext", false)->setComment("Prints context information to cout for the transitions not associated with any module label");
357  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");
358  desc.addUntracked<bool>("printTimestamps", false)->setComment("Prints a time stamp for every transition");
359  descriptions.add("Tracer", desc);
360  descriptions.setComment("This service prints each phase the framework is processing, e.g. constructing a module,running a module, etc.");
361 }
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 458 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

458  {
459  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: begin job";
460 }
std::string indention_
Definition: Tracer.cc:168
void Tracer::postCloseFile ( std::string const &  lfn,
bool  b 
)

Definition at line 521 of file Tracer.cc.

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

Referenced by Tracer().

521  {
522  LogAbsolute out("Tracer");
523  out << TimeStamper(printTimestamps_);
524  out << indention_ << indention_ << " finished: close input file: lfn = " << lfn;
525  if(dumpNonModuleContext_) out << " usedFallBack = " << b;
526 }
std::string indention_
Definition: Tracer.cc:168
double b
Definition: hdecay.h:120
bool dumpNonModuleContext_
Definition: Tracer.cc:170
void Tracer::postEndJob ( )

Definition at line 463 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

463  {
464  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: end job";
465 }
std::string indention_
Definition: Tracer.cc:168
void Tracer::postEvent ( StreamContext const &  sc)

Definition at line 764 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().

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

Definition at line 985 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().

985  {
986  LogAbsolute out("Tracer");
987  out << TimeStamper(printTimestamps_);
988  unsigned int nIndents = mcc.depth() + 5;
989  for(unsigned int i = 0; i < nIndents; ++i) {
990  out << indention_;
991  }
992  out << " finished: event delayed read from source: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
993 }
std::string indention_
Definition: Tracer.cc:168
void Tracer::postGlobalBeginLumi ( GlobalContext const &  gc)

Definition at line 676 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().

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

Definition at line 588 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().

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

Definition at line 698 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().

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

Definition at line 610 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().

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

Definition at line 828 of file Tracer.cc.

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

Referenced by Tracer().

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

Definition at line 541 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().

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

Definition at line 807 of file Tracer.cc.

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

Referenced by Tracer().

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

Definition at line 850 of file Tracer.cc.

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

Referenced by Tracer().

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

Definition at line 565 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().

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

Definition at line 907 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().

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

Definition at line 933 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().

933  {
934  LogAbsolute out("Tracer");
935  out << TimeStamper(printTimestamps_);
936  unsigned int nIndents = mcc.depth() + 4;
937  for(unsigned int i = 0; i < nIndents; ++i) {
938  out << indention_;
939  }
940  out << " finished: processing event acquire for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
941 }
std::string indention_
Definition: Tracer.cc:168
void Tracer::postModuleEventDelayedGet ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 959 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().

959  {
960  LogAbsolute out("Tracer");
961  out << TimeStamper(printTimestamps_);
962  unsigned int nIndents = mcc.depth() + 4;
963  for(unsigned int i = 0; i < nIndents; ++i) {
964  out << indention_;
965  }
966  out << " finished: delayed processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
967  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
968  out << "\n" << sc;
969  out << mcc;
970  }
971 }
std::string indention_
Definition: Tracer.cc:168
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:169
void Tracer::postModuleEventPrefetching ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 876 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().

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

Definition at line 1192 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().

1192  {
1193  LogAbsolute out("Tracer");
1194  out << TimeStamper(printTimestamps_);
1195  unsigned int nIndents = mcc.depth() + 3;
1196  for(unsigned int i = 0; i < nIndents; ++i) {
1197  out << indention_;
1198  }
1199  out << " finished: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1200  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1201  out << "\n" << gc;
1202  out << mcc;
1203  }
1204 }
std::string indention_
Definition: Tracer.cc:168
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:169
void Tracer::postModuleGlobalBeginRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1132 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().

1132  {
1133  LogAbsolute out("Tracer");
1134  out << TimeStamper(printTimestamps_);
1135  unsigned int nIndents = mcc.depth() + 3;
1136  for(unsigned int i = 0; i < nIndents; ++i) {
1137  out << indention_;
1138  }
1139  out << " finished: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1140  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1141  out << "\n" << gc;
1142  out << mcc;
1143  }
1144 }
std::string indention_
Definition: Tracer.cc:168
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:169
void Tracer::postModuleGlobalEndLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1222 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().

1222  {
1223  LogAbsolute out("Tracer");
1224  out << TimeStamper(printTimestamps_);
1225  unsigned int nIndents = mcc.depth() + 3;
1226  for(unsigned int i = 0; i < nIndents; ++i) {
1227  out << indention_;
1228  }
1229  out << " finished: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1230  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1231  out << "\n" << gc;
1232  out << mcc;
1233  }
1234 }
std::string indention_
Definition: Tracer.cc:168
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:169
void Tracer::postModuleGlobalEndRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1162 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().

1162  {
1163  LogAbsolute out("Tracer");
1164  out << TimeStamper(printTimestamps_);
1165  unsigned int nIndents = mcc.depth() + 3;
1166  for(unsigned int i = 0; i < nIndents; ++i) {
1167  out << indention_;
1168  }
1169  out << " finished: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1170  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1171  out << "\n" << gc;
1172  out << mcc;
1173  }
1174 }
std::string indention_
Definition: Tracer.cc:168
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:169
void Tracer::postModuleStreamBeginLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1072 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().

1072  {
1073  LogAbsolute out("Tracer");
1074  out << TimeStamper(printTimestamps_);
1075  unsigned int nIndents = mcc.depth() + 3;
1076  for(unsigned int i = 0; i < nIndents; ++i) {
1077  out << indention_;
1078  }
1079  out << " finished: begin lumi for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1080  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1081  out << "\n" << sc;
1082  out << mcc;
1083  }
1084 }
std::string indention_
Definition: Tracer.cc:168
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:169
void Tracer::postModuleStreamBeginRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1012 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().

1012  {
1013  LogAbsolute out("Tracer");
1014  out << TimeStamper(printTimestamps_);
1015  unsigned int nIndents = mcc.depth() + 3;
1016  for(unsigned int i = 0; i < nIndents; ++i) {
1017  out << indention_;
1018  }
1019  out << " finished: begin run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1020  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1021  out << "\n" << sc;
1022  out << mcc;
1023  }
1024 }
std::string indention_
Definition: Tracer.cc:168
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:169
void Tracer::postModuleStreamEndLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1102 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().

1102  {
1103  LogAbsolute out("Tracer");
1104  out << TimeStamper(printTimestamps_);
1105  unsigned int nIndents = mcc.depth() + 3;
1106  for(unsigned int i = 0; i < nIndents; ++i) {
1107  out << indention_;
1108  }
1109  out << " finished: end lumi for module: stream = " << sc.streamID() << " label = '"<< mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1110  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1111  out << "\n" << sc;
1112  out << mcc;
1113  }
1114 }
std::string indention_
Definition: Tracer.cc:168
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:169
void Tracer::postModuleStreamEndRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1042 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().

1042  {
1043  LogAbsolute out("Tracer");
1044  out << TimeStamper(printTimestamps_);
1045  unsigned int nIndents = mcc.depth() + 3;
1046  for(unsigned int i = 0; i < nIndents; ++i) {
1047  out << indention_;
1048  }
1049  out << " finished: end run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1050  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1051  out << "\n" << sc;
1052  out << mcc;
1053  }
1054 }
std::string indention_
Definition: Tracer.cc:168
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:169
void Tracer::postOpenFile ( std::string const &  lfn,
bool  b 
)

Definition at line 506 of file Tracer.cc.

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

Referenced by Tracer().

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

Definition at line 786 of file Tracer.cc.

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

Referenced by Tracer().

786  {
787  LogAbsolute out("Tracer");
788  out << TimeStamper(printTimestamps_);
789  out << indention_ << indention_ << indention_ << " finished: processing path '" << pc.pathName() << "' : stream = " << sc.streamID();
791  out << "\n" << sc;
792  out << pc;
793  }
794 }
std::string indention_
Definition: Tracer.cc:168
bool dumpNonModuleContext_
Definition: Tracer.cc:170
void Tracer::postSourceConstruction ( ModuleDescription const &  md)

Definition at line 1248 of file Tracer.cc.

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

Referenced by Tracer().

1248  {
1249  LogAbsolute out("Tracer");
1250  out << TimeStamper(printTimestamps_);
1251  out << indention_;
1252  out << " finished: constructing source: " << desc.moduleName();
1253  if(dumpNonModuleContext_) {
1254  out << "\n" << desc;
1255  }
1256 }
std::string indention_
Definition: Tracer.cc:168
bool dumpNonModuleContext_
Definition: Tracer.cc:170
void Tracer::postSourceEvent ( StreamID  sid)

Definition at line 473 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

473  {
474  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source event";
475 }
std::string indention_
Definition: Tracer.cc:168
void Tracer::postSourceLumi ( )

Definition at line 483 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

483  {
484  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source lumi";
485 }
std::string indention_
Definition: Tracer.cc:168
void Tracer::postSourceRun ( )

Definition at line 493 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

493  {
494  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source run";
495 }
std::string indention_
Definition: Tracer.cc:168
void Tracer::postStreamBeginLumi ( StreamContext const &  sc)

Definition at line 720 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().

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

Definition at line 632 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().

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

Definition at line 742 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().

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

Definition at line 654 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().

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

Definition at line 364 of file Tracer.cc.

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

Referenced by Tracer().

364  {
365  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " preallocate: " << bounds.maxNumberOfConcurrentRuns() << " concurrent runs, "
366  << bounds.maxNumberOfConcurrentLuminosityBlocks() << " concurrent luminosity sections, "
367  << bounds.maxNumberOfStreams() << " streams";
368 }
std::string indention_
Definition: Tracer.cc:168
void Tracer::preBeginJob ( PathsAndConsumesOfModulesBase const &  pathsAndConsumes,
ProcessContext const &  pc 
)

Definition at line 371 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().

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

Definition at line 514 of file Tracer.cc.

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

Referenced by Tracer().

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

Definition at line 753 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().

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

Definition at line 974 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().

974  {
975  LogAbsolute out("Tracer");
976  out << TimeStamper(printTimestamps_);
977  unsigned int nIndents = mcc.depth() + 5;
978  for(unsigned int i = 0; i < nIndents; ++i) {
979  out << indention_;
980  }
981  out << " starting: event delayed read from source: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
982 }
std::string indention_
Definition: Tracer.cc:168
void Tracer::preGlobalBeginLumi ( GlobalContext const &  gc)

Definition at line 665 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().

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

Definition at line 577 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().

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

Definition at line 687 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().

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

Definition at line 599 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().

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

Definition at line 817 of file Tracer.cc.

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

Referenced by Tracer().

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

Definition at line 529 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().

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

Definition at line 797 of file Tracer.cc.

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

Referenced by Tracer().

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

Definition at line 839 of file Tracer.cc.

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

Referenced by Tracer().

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

Definition at line 553 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().

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

Definition at line 892 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().

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

Definition at line 922 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().

922  {
923  LogAbsolute out("Tracer");
924  out << TimeStamper(printTimestamps_);
925  unsigned int nIndents = mcc.depth() + 4;
926  for(unsigned int i = 0; i < nIndents; ++i) {
927  out << indention_;
928  }
929  out << " starting: processing event acquire for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
930 }
std::string indention_
Definition: Tracer.cc:168
void Tracer::preModuleEventDelayedGet ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 944 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().

944  {
945  LogAbsolute out("Tracer");
946  out << TimeStamper(printTimestamps_);
947  unsigned int nIndents = mcc.depth() + 4;
948  for(unsigned int i = 0; i < nIndents; ++i) {
949  out << indention_;
950  }
951  out << " starting: delayed processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
952  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
953  out << "\n" << sc;
954  out << mcc;
955  }
956 }
std::string indention_
Definition: Tracer.cc:168
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:169
void Tracer::preModuleEventPrefetching ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 861 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().

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

Definition at line 1177 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().

1177  {
1178  LogAbsolute out("Tracer");
1179  out << TimeStamper(printTimestamps_);
1180  unsigned int nIndents = mcc.depth() + 3;
1181  for(unsigned int i = 0; i < nIndents; ++i) {
1182  out << indention_;
1183  }
1184  out << " starting: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1185  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1186  out << "\n" << gc;
1187  out << mcc;
1188  }
1189 }
std::string indention_
Definition: Tracer.cc:168
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:169
void Tracer::preModuleGlobalBeginRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1117 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().

1117  {
1118  LogAbsolute out("Tracer");
1119  out << TimeStamper(printTimestamps_);
1120  unsigned int nIndents = mcc.depth() + 3;
1121  for(unsigned int i = 0; i < nIndents; ++i) {
1122  out << indention_;
1123  }
1124  out << " starting: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1125  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1126  out << "\n" << gc;
1127  out << mcc;
1128  }
1129 }
std::string indention_
Definition: Tracer.cc:168
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:169
void Tracer::preModuleGlobalEndLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1207 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().

1207  {
1208  LogAbsolute out("Tracer");
1209  out << TimeStamper(printTimestamps_);
1210  unsigned int nIndents = mcc.depth() + 3;
1211  for(unsigned int i = 0; i < nIndents; ++i) {
1212  out << indention_;
1213  }
1214  out << " starting: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1215  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1216  out << "\n" << gc;
1217  out << mcc;
1218  }
1219 }
std::string indention_
Definition: Tracer.cc:168
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:169
void Tracer::preModuleGlobalEndRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 1147 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().

1147  {
1148  LogAbsolute out("Tracer");
1149  out << TimeStamper(printTimestamps_);
1150  unsigned int nIndents = mcc.depth() + 3;
1151  for(unsigned int i = 0; i < nIndents; ++i) {
1152  out << indention_;
1153  }
1154  out << " starting: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1155  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1156  out << "\n" << gc;
1157  out << mcc;
1158  }
1159 }
std::string indention_
Definition: Tracer.cc:168
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:169
void Tracer::preModuleStreamBeginLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1057 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().

1057  {
1058  LogAbsolute out("Tracer");
1059  out << TimeStamper(printTimestamps_);
1060  unsigned int nIndents = mcc.depth() + 3;
1061  for(unsigned int i = 0; i < nIndents; ++i) {
1062  out << indention_;
1063  }
1064  out << " starting: begin lumi for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1065  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1066  out << "\n" << sc;
1067  out << mcc;
1068  }
1069 }
std::string indention_
Definition: Tracer.cc:168
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:169
void Tracer::preModuleStreamBeginRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 997 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().

997  {
998  LogAbsolute out("Tracer");
999  out << TimeStamper(printTimestamps_);
1000  unsigned int nIndents = mcc.depth() + 3;
1001  for(unsigned int i = 0; i < nIndents; ++i) {
1002  out << indention_;
1003  }
1004  out << " starting: begin run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1005  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1006  out << "\n" << sc;
1007  out << mcc;
1008  }
1009 }
std::string indention_
Definition: Tracer.cc:168
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:169
void Tracer::preModuleStreamEndLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1087 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().

1087  {
1088  LogAbsolute out("Tracer");
1089  out << TimeStamper(printTimestamps_);
1090  unsigned int nIndents = mcc.depth() + 3;
1091  for(unsigned int i = 0; i < nIndents; ++i) {
1092  out << indention_;
1093  }
1094  out << " starting: end lumi for module: stream = " << sc.streamID() << " label = '"<< mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1095  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1096  out << "\n" << sc;
1097  out << mcc;
1098  }
1099 }
std::string indention_
Definition: Tracer.cc:168
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:169
void Tracer::preModuleStreamEndRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 1027 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().

1027  {
1028  LogAbsolute out("Tracer");
1029  out << TimeStamper(printTimestamps_);
1030  unsigned int nIndents = mcc.depth() + 3;
1031  for(unsigned int i = 0; i < nIndents; ++i) {
1032  out << indention_;
1033  }
1034  out << " starting: end run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1035  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
1036  out << "\n" << sc;
1037  out << mcc;
1038  }
1039 }
std::string indention_
Definition: Tracer.cc:168
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:169
void Tracer::preOpenFile ( std::string const &  lfn,
bool  b 
)

Definition at line 498 of file Tracer.cc.

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

Referenced by Tracer().

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

Definition at line 775 of file Tracer.cc.

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

Referenced by Tracer().

775  {
776  LogAbsolute out("Tracer");
777  out << TimeStamper(printTimestamps_);
778  out << indention_ << indention_ << indention_ << " starting: processing path '" << pc.pathName() << "' : stream = " << sc.streamID();
780  out << "\n" << sc;
781  out << pc;
782  }
783 }
std::string indention_
Definition: Tracer.cc:168
bool dumpNonModuleContext_
Definition: Tracer.cc:170
void Tracer::preSourceConstruction ( ModuleDescription const &  md)

Definition at line 1237 of file Tracer.cc.

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

Referenced by Tracer().

1237  {
1238  LogAbsolute out("Tracer");
1239  out << TimeStamper(printTimestamps_);
1240  out << indention_;
1241  out << " starting: constructing source: " << desc.moduleName();
1242  if(dumpNonModuleContext_) {
1243  out << "\n" << desc;
1244  }
1245 }
std::string indention_
Definition: Tracer.cc:168
bool dumpNonModuleContext_
Definition: Tracer.cc:170
void Tracer::preSourceEvent ( StreamID  sid)

Definition at line 468 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

468  {
469  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source event";
470 }
std::string indention_
Definition: Tracer.cc:168
void Tracer::preSourceLumi ( )

Definition at line 478 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

478  {
479  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source lumi";
480 }
std::string indention_
Definition: Tracer.cc:168
void Tracer::preSourceRun ( )

Definition at line 488 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

488  {
489  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source run";
490 }
std::string indention_
Definition: Tracer.cc:168
void Tracer::preStreamBeginLumi ( StreamContext const &  sc)

Definition at line 709 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().

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

Definition at line 621 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().

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

Definition at line 731 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().

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

Definition at line 643 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().

643  {
644  LogAbsolute out("Tracer");
645  out << TimeStamper(printTimestamps_);
646  out << indention_ << indention_ << " starting: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
647  << " time = " << sc.timestamp().value();
649  out << "\n" << sc;
650  }
651 }
std::string indention_
Definition: Tracer.cc:168
bool dumpNonModuleContext_
Definition: Tracer.cc:170

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 171 of file Tracer.cc.

Referenced by preBeginJob().

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

Definition at line 168 of file Tracer.cc.

Referenced by postBeginJob(), postCloseFile(), postEndJob(), postEvent(), postEventReadFromSource(), postGlobalBeginLumi(), postGlobalBeginRun(), postGlobalEndLumi(), postGlobalEndRun(), postModuleBeginJob(), postModuleBeginStream(), postModuleConstruction(), postModuleEndJob(), postModuleEndStream(), postModuleEvent(), postModuleEventAcquire(), 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(), preModuleEventAcquire(), 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 172 of file Tracer.cc.

Referenced by postBeginJob(), postCloseFile(), postEndJob(), postEvent(), postEventReadFromSource(), postGlobalBeginLumi(), postGlobalBeginRun(), postGlobalEndLumi(), postGlobalEndRun(), postModuleBeginJob(), postModuleBeginStream(), postModuleConstruction(), postModuleEndJob(), postModuleEndStream(), postModuleEvent(), postModuleEventAcquire(), 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(), preModuleEventAcquire(), preModuleEventDelayedGet(), preModuleEventPrefetching(), preModuleGlobalBeginLumi(), preModuleGlobalBeginRun(), preModuleGlobalEndLumi(), preModuleGlobalEndRun(), preModuleStreamBeginLumi(), preModuleStreamBeginRun(), preModuleStreamEndLumi(), preModuleStreamEndRun(), preOpenFile(), prePathEvent(), preSourceConstruction(), preSourceEvent(), preSourceLumi(), preSourceRun(), preStreamBeginLumi(), preStreamBeginRun(), preStreamEndLumi(), preStreamEndRun(), and Tracer().