CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
edm::service::Tracer Class Reference

#include <Tracer.h>

Public Member Functions

void postBeginJob ()
 
void postCloseFile (std::string const &, bool)
 
void postEndJob ()
 
void postEvent (StreamContext const &)
 
void postGlobalBeginLumi (GlobalContext const &)
 
void postGlobalBeginRun (GlobalContext const &)
 
void postGlobalEndLumi (GlobalContext const &)
 
void postGlobalEndRun (GlobalContext const &)
 
void postModuleBeginJob (ModuleDescription const &md)
 
void postModuleBeginStream (StreamContext const &, ModuleCallingContext const &)
 
void postModuleConstruction (ModuleDescription const &md)
 
void postModuleEndJob (ModuleDescription const &md)
 
void postModuleEndStream (StreamContext const &, ModuleCallingContext const &)
 
void postModuleEvent (StreamContext const &, ModuleCallingContext const &)
 
void postModuleEventDelayedGet (StreamContext const &, ModuleCallingContext const &)
 
void 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 preCloseFile (std::string const &lfn, bool primary)
 
void preEvent (StreamContext const &)
 
void preGlobalBeginLumi (GlobalContext const &)
 
void preGlobalBeginRun (GlobalContext const &)
 
void preGlobalEndLumi (GlobalContext const &)
 
void preGlobalEndRun (GlobalContext const &)
 
void preModuleBeginJob (ModuleDescription const &md)
 
void preModuleBeginStream (StreamContext const &, ModuleCallingContext const &)
 
void preModuleConstruction (ModuleDescription const &md)
 
void preModuleEndJob (ModuleDescription const &md)
 
void preModuleEndStream (StreamContext const &, ModuleCallingContext const &)
 
void preModuleEvent (StreamContext const &, ModuleCallingContext const &)
 
void preModuleEventDelayedGet (StreamContext const &, ModuleCallingContext const &)
 
void 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_
 
std::string indention_
 
bool printTimestamps_
 

Detailed Description

Description: <one line="" class="" summary>="">

Usage: <usage>

Definition at line 45 of file Tracer.h.

Constructor & Destructor Documentation

Tracer::Tracer ( const ParameterSet iPS,
ActivityRegistry iRegistry 
)

Definition at line 59 of file Tracer.cc.

References dumpContextForLabels_, edm::ParameterSet::getUntrackedParameter(), diffTwoXMLs::label, postBeginJob(), postCloseFile(), postEndJob(), postEvent(), postGlobalBeginLumi(), postGlobalBeginRun(), postGlobalEndLumi(), postGlobalEndRun(), postModuleBeginJob(), postModuleBeginStream(), postModuleConstruction(), postModuleEndJob(), postModuleEndStream(), postModuleEvent(), postModuleEventDelayedGet(), postModuleGlobalBeginLumi(), postModuleGlobalBeginRun(), postModuleGlobalEndLumi(), postModuleGlobalEndRun(), postModuleStreamBeginLumi(), postModuleStreamBeginRun(), postModuleStreamEndLumi(), postModuleStreamEndRun(), postOpenFile(), postPathEvent(), postSourceConstruction(), postSourceEvent(), postSourceLumi(), postSourceRun(), postStreamBeginLumi(), postStreamBeginRun(), postStreamEndLumi(), postStreamEndRun(), preallocate(), preCloseFile(), preEvent(), preGlobalBeginLumi(), preGlobalBeginRun(), preGlobalEndLumi(), preGlobalEndRun(), preModuleBeginJob(), preModuleBeginStream(), preModuleConstruction(), preModuleEndJob(), preModuleEndStream(), preModuleEvent(), preModuleEventDelayedGet(), preModuleGlobalBeginLumi(), preModuleGlobalBeginRun(), preModuleGlobalEndLumi(), preModuleGlobalEndRun(), preModuleStreamBeginLumi(), preModuleStreamBeginRun(), preModuleStreamEndLumi(), preModuleStreamEndRun(), preOpenFile(), prePathEvent(), preSourceConstruction(), preSourceEvent(), preSourceLumi(), preSourceRun(), preStreamBeginLumi(), preStreamBeginRun(), preStreamEndLumi(), preStreamEndRun(), AlCaHLTBitMon_QueryRunRegistry::string, edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostCloseFile(), edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostEvent(), edm::ActivityRegistry::watchPostGlobalBeginLumi(), edm::ActivityRegistry::watchPostGlobalBeginRun(), edm::ActivityRegistry::watchPostGlobalEndLumi(), edm::ActivityRegistry::watchPostGlobalEndRun(), edm::ActivityRegistry::watchPostModuleBeginJob(), edm::ActivityRegistry::watchPostModuleBeginStream(), edm::ActivityRegistry::watchPostModuleConstruction(), edm::ActivityRegistry::watchPostModuleEndJob(), edm::ActivityRegistry::watchPostModuleEndStream(), edm::ActivityRegistry::watchPostModuleEvent(), edm::ActivityRegistry::watchPostModuleEventDelayedGet(), edm::ActivityRegistry::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::watchPreCloseFile(), edm::ActivityRegistry::watchPreEvent(), edm::ActivityRegistry::watchPreGlobalBeginLumi(), edm::ActivityRegistry::watchPreGlobalBeginRun(), edm::ActivityRegistry::watchPreGlobalEndLumi(), edm::ActivityRegistry::watchPreGlobalEndRun(), edm::ActivityRegistry::watchPreModuleBeginJob(), edm::ActivityRegistry::watchPreModuleBeginStream(), edm::ActivityRegistry::watchPreModuleConstruction(), edm::ActivityRegistry::watchPreModuleEndJob(), edm::ActivityRegistry::watchPreModuleEndStream(), edm::ActivityRegistry::watchPreModuleEvent(), edm::ActivityRegistry::watchPreModuleEventDelayedGet(), edm::ActivityRegistry::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().

59  :
60  indention_(iPS.getUntrackedParameter<std::string>("indention")),
62  dumpNonModuleContext_(iPS.getUntrackedParameter<bool>("dumpNonModuleContext")),
63  printTimestamps_(iPS.getUntrackedParameter<bool>("printTimestamps"))
64 {
65  for (std::string & label: iPS.getUntrackedParameter<std::vector<std::string>>("dumpContextForLabels"))
66  dumpContextForLabels_.insert(std::move(label));
67 
68  iRegistry.watchPreallocate(this, &Tracer::preallocate);
69 
70  iRegistry.watchPostBeginJob(this, &Tracer::postBeginJob);
71  iRegistry.watchPostEndJob(this, &Tracer::postEndJob);
72 
73  iRegistry.watchPreSourceEvent(this, &Tracer::preSourceEvent);
74  iRegistry.watchPostSourceEvent(this, &Tracer::postSourceEvent);
75 
76  iRegistry.watchPreSourceLumi(this, &Tracer::preSourceLumi);
77  iRegistry.watchPostSourceLumi(this, &Tracer::postSourceLumi);
78 
79  iRegistry.watchPreSourceRun(this, &Tracer::preSourceRun);
80  iRegistry.watchPostSourceRun(this, &Tracer::postSourceRun);
81 
82  iRegistry.watchPreOpenFile(this, &Tracer::preOpenFile);
83  iRegistry.watchPostOpenFile(this, &Tracer::postOpenFile);
84 
85  iRegistry.watchPreCloseFile(this, &Tracer::preCloseFile);
86  iRegistry.watchPostCloseFile(this, &Tracer::postCloseFile);
87 
88  iRegistry.watchPreModuleBeginStream(this, &Tracer::preModuleBeginStream);
89  iRegistry.watchPostModuleBeginStream(this, &Tracer::postModuleBeginStream);
90 
91  iRegistry.watchPreModuleEndStream(this, &Tracer::preModuleEndStream);
92  iRegistry.watchPostModuleEndStream(this, &Tracer::postModuleEndStream);
93 
94  iRegistry.watchPreGlobalBeginRun(this, &Tracer::preGlobalBeginRun);
95  iRegistry.watchPostGlobalBeginRun(this, &Tracer::postGlobalBeginRun);
96 
97  iRegistry.watchPreGlobalEndRun(this, &Tracer::preGlobalEndRun);
98  iRegistry.watchPostGlobalEndRun(this, &Tracer::postGlobalEndRun);
99 
100  iRegistry.watchPreStreamBeginRun(this, &Tracer::preStreamBeginRun);
101  iRegistry.watchPostStreamBeginRun(this, &Tracer::postStreamBeginRun);
102 
103  iRegistry.watchPreStreamEndRun(this, &Tracer::preStreamEndRun);
104  iRegistry.watchPostStreamEndRun(this, &Tracer::postStreamEndRun);
105 
106  iRegistry.watchPreGlobalBeginLumi(this, &Tracer::preGlobalBeginLumi);
107  iRegistry.watchPostGlobalBeginLumi(this, &Tracer::postGlobalBeginLumi);
108 
109  iRegistry.watchPreGlobalEndLumi(this, &Tracer::preGlobalEndLumi);
110  iRegistry.watchPostGlobalEndLumi(this, &Tracer::postGlobalEndLumi);
111 
112  iRegistry.watchPreStreamBeginLumi(this, &Tracer::preStreamBeginLumi);
113  iRegistry.watchPostStreamBeginLumi(this, &Tracer::postStreamBeginLumi);
114 
115  iRegistry.watchPreStreamEndLumi(this, &Tracer::preStreamEndLumi);
116  iRegistry.watchPostStreamEndLumi(this, &Tracer::postStreamEndLumi);
117 
118  iRegistry.watchPreEvent(this, &Tracer::preEvent);
119  iRegistry.watchPostEvent(this, &Tracer::postEvent);
120 
121  iRegistry.watchPrePathEvent(this, &Tracer::prePathEvent);
122  iRegistry.watchPostPathEvent(this, &Tracer::postPathEvent);
123 
124  iRegistry.watchPreModuleConstruction(this, &Tracer::preModuleConstruction);
125  iRegistry.watchPostModuleConstruction(this, &Tracer::postModuleConstruction);
126 
127  iRegistry.watchPreModuleBeginJob(this, &Tracer::preModuleBeginJob);
128  iRegistry.watchPostModuleBeginJob(this, &Tracer::postModuleBeginJob);
129 
130  iRegistry.watchPreModuleEndJob(this, &Tracer::preModuleEndJob);
131  iRegistry.watchPostModuleEndJob(this, &Tracer::postModuleEndJob);
132 
133  iRegistry.watchPreModuleEvent(this, &Tracer::preModuleEvent);
134  iRegistry.watchPostModuleEvent(this, &Tracer::postModuleEvent);
135  iRegistry.watchPreModuleEventDelayedGet(this, &Tracer::preModuleEventDelayedGet);
136  iRegistry.watchPostModuleEventDelayedGet(this, &Tracer::postModuleEventDelayedGet);
137 
138  iRegistry.watchPreModuleStreamBeginRun(this, &Tracer::preModuleStreamBeginRun);
139  iRegistry.watchPostModuleStreamBeginRun(this, &Tracer::postModuleStreamBeginRun);
140  iRegistry.watchPreModuleStreamEndRun(this, &Tracer::preModuleStreamEndRun);
141  iRegistry.watchPostModuleStreamEndRun(this, &Tracer::postModuleStreamEndRun);
142 
143  iRegistry.watchPreModuleStreamBeginLumi(this, &Tracer::preModuleStreamBeginLumi);
144  iRegistry.watchPostModuleStreamBeginLumi(this, &Tracer::postModuleStreamBeginLumi);
145  iRegistry.watchPreModuleStreamEndLumi(this, &Tracer::preModuleStreamEndLumi);
146  iRegistry.watchPostModuleStreamEndLumi(this, &Tracer::postModuleStreamEndLumi);
147 
148  iRegistry.watchPreModuleGlobalBeginRun(this, &Tracer::preModuleGlobalBeginRun);
149  iRegistry.watchPostModuleGlobalBeginRun(this, &Tracer::postModuleGlobalBeginRun);
150  iRegistry.watchPreModuleGlobalEndRun(this, &Tracer::preModuleGlobalEndRun);
151  iRegistry.watchPostModuleGlobalEndRun(this, &Tracer::postModuleGlobalEndRun);
152 
153  iRegistry.watchPreModuleGlobalBeginLumi(this, &Tracer::preModuleGlobalBeginLumi);
154  iRegistry.watchPostModuleGlobalBeginLumi(this, &Tracer::postModuleGlobalBeginLumi);
155  iRegistry.watchPreModuleGlobalEndLumi(this, &Tracer::preModuleGlobalEndLumi);
156  iRegistry.watchPostModuleGlobalEndLumi(this, &Tracer::postModuleGlobalEndLumi);
157 
158  iRegistry.watchPreSourceConstruction(this, &Tracer::preSourceConstruction);
159  iRegistry.watchPostSourceConstruction(this, &Tracer::postSourceConstruction);
160 }
void preCloseFile(std::string const &lfn, bool primary)
Definition: Tracer.cc:237
void postSourceRun()
Definition: Tracer.cc:216
void postModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:781
void postModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:841
void postModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:751
void preModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:826
void postModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:530
void postModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:288
void postModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:871
void preallocate(service::SystemBounds const &)
Definition: Tracer.cc:174
void postStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:443
void preModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:856
void preModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:706
void preGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:410
void preModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:562
void preModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:520
void postStreamEndRun(StreamContext const &)
Definition: Tracer.cc:377
void postGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:421
void postModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:551
void postModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:691
void postCloseFile(std::string const &, bool)
Definition: Tracer.cc:244
void preStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:454
void preOpenFile(std::string const &, bool)
Definition: Tracer.cc:221
void preGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:300
void preSourceEvent(StreamID)
Definition: Tracer.cc:191
void preGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:322
void preModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:736
void preModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:646
void prePathEvent(StreamContext const &, PathContext const &)
Definition: Tracer.cc:498
void postModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:721
void preModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:796
void postStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:355
void preStreamEndRun(StreamContext const &)
Definition: Tracer.cc:366
void postOpenFile(std::string const &, bool)
Definition: Tracer.cc:229
void postPathEvent(StreamContext const &, PathContext const &, HLTPathStatus const &)
Definition: Tracer.cc:509
void postModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:630
void preSourceLumi()
Definition: Tracer.cc:201
void postSourceEvent(StreamID)
Definition: Tracer.cc:196
std::string indention_
Definition: Tracer.h:145
void preSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:886
void preModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:584
void preModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:252
void postGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:311
void postGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:333
void postGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:399
void preEvent(StreamContext const &)
Definition: Tracer.cc:476
void preStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:432
void postModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:573
void preModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:276
void postModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:599
void preModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:615
void postModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:264
bool dumpNonModuleContext_
Definition: Tracer.h:147
void preModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:540
void postStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:465
void preModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:676
void postEvent(StreamContext const &)
Definition: Tracer.cc:487
void preStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:344
void postModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:661
void postSourceLumi()
Definition: Tracer.cc:206
void preGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:388
void postModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:811
void postSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:897
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void preModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:766

Member Function Documentation

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

Definition at line 163 of file Tracer.cc.

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

163  {
165  desc.addUntracked<std::string>("indention", "++")->setComment("Prefix characters for output. The characters are repeated to form the indentation.");
166  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");
167  desc.addUntracked<bool>("dumpNonModuleContext", false)->setComment("Prints context information to cout for the transitions not associated with any module label");
168  desc.addUntracked<bool>("printTimestamps", false)->setComment("Prints a time stamp for every transition");
169  descriptions.add("Tracer", desc);
170  descriptions.setComment("This service prints each phase the framework is processing, e.g. constructing a module,running a module, etc.");
171 }
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 181 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

181  {
182  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: begin job";
183 }
std::string indention_
Definition: Tracer.h:145
void Tracer::postCloseFile ( std::string const &  lfn,
bool  b 
)

Definition at line 244 of file Tracer.cc.

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

Referenced by Tracer().

244  {
245  LogAbsolute out("Tracer");
246  out << TimeStamper(printTimestamps_);
247  out << indention_ << indention_ << " finished: close input file: lfn = " << lfn;
248  if(dumpNonModuleContext_) out << " usedFallBack = " << b;
249 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
double b
Definition: hdecay.h:120
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::postEndJob ( )

Definition at line 186 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

186  {
187  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: end job";
188 }
std::string indention_
Definition: Tracer.h:145
void Tracer::postEvent ( StreamContext const &  sc)

Definition at line 487 of file Tracer.cc.

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

Referenced by Tracer().

487  {
488  LogAbsolute out("Tracer");
489  out << TimeStamper(printTimestamps_);
490  out << indention_ << indention_ << " finished: processing event : stream = " << sc.streamID() << " run = " << sc.eventID().run()
491  << " lumi = " << sc.eventID().luminosityBlock() << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
493  out << "\n" << sc;
494  }
495 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::postGlobalBeginLumi ( GlobalContext const &  gc)

Definition at line 399 of file Tracer.cc.

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

Referenced by Tracer().

399  {
400  LogAbsolute out("Tracer");
401  out << TimeStamper(printTimestamps_);
402  out << indention_ << indention_ << " finished: global begin lumi: run = " << gc.luminosityBlockID().run()
403  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
405  out << "\n" << gc;
406  }
407 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::postGlobalBeginRun ( GlobalContext const &  gc)

Definition at line 311 of file Tracer.cc.

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

Referenced by Tracer().

311  {
312  LogAbsolute out("Tracer");
313  out << TimeStamper(printTimestamps_);
314  out << indention_ << indention_ << " finished: global begin run " << gc.luminosityBlockID().run()
315  << " : time = " << gc.timestamp().value();
317  out << "\n" << gc;
318  }
319 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::postGlobalEndLumi ( GlobalContext const &  gc)

Definition at line 421 of file Tracer.cc.

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

Referenced by Tracer().

421  {
422  LogAbsolute out("Tracer");
423  out << TimeStamper(printTimestamps_);
424  out << indention_ << indention_ << " finished: global end lumi: run = " << gc.luminosityBlockID().run()
425  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
427  out << "\n" << gc;
428  }
429 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::postGlobalEndRun ( GlobalContext const &  gc)

Definition at line 333 of file Tracer.cc.

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

Referenced by Tracer().

333  {
334  LogAbsolute out("Tracer");
335  out << TimeStamper(printTimestamps_);
336  out << indention_ << indention_ << " finished: global end run " << gc.luminosityBlockID().run()
337  << " : time = " << gc.timestamp().value();
339  out << "\n" << gc;
340  }
341 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::postModuleBeginJob ( ModuleDescription const &  md)

Definition at line 551 of file Tracer.cc.

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

Referenced by Tracer().

551  {
552  LogAbsolute out("Tracer");
553  out << TimeStamper(printTimestamps_);
554  out << indention_ << indention_;
555  out << " finished: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
556  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
557  out << "\n" << desc;
558  }
559 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::postModuleBeginStream ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 264 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), dbtoconf::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

264  {
265  ModuleDescription const& desc = *mcc.moduleDescription();
266  LogAbsolute out("Tracer");
267  out << TimeStamper(printTimestamps_);
268  out << indention_ << indention_ << " finished: begin stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
269  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
270  out << "\n" << sc;
271  out << mcc;
272  }
273 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::postModuleConstruction ( ModuleDescription const &  md)

Definition at line 530 of file Tracer.cc.

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

Referenced by Tracer().

530  {
531  LogAbsolute out("Tracer");
532  out << TimeStamper(printTimestamps_);
533  out << indention_ << indention_ << " finished: constructing module with label '" << desc.moduleLabel() << "' id = " << desc.id();
534  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
535  out << "\n" << desc;
536  }
537 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::postModuleEndJob ( ModuleDescription const &  md)

Definition at line 573 of file Tracer.cc.

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

Referenced by Tracer().

573  {
574  LogAbsolute out("Tracer");
575  out << TimeStamper(printTimestamps_);
576  out << indention_ << indention_;
577  out << " finished: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
578  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
579  out << "\n" << desc;
580  }
581 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::postModuleEndStream ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 288 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), dbtoconf::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

288  {
289  ModuleDescription const& desc = *mcc.moduleDescription();
290  LogAbsolute out("Tracer");
291  out << TimeStamper(printTimestamps_);
292  out << indention_ << indention_ << " finished: end stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
293  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
294  out << "\n" << sc;
295  out << mcc;
296  }
297 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::postModuleEvent ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 599 of file Tracer.cc.

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

Referenced by Tracer().

599  {
600  LogAbsolute out("Tracer");
601  out << TimeStamper(printTimestamps_);
602  unsigned int nIndents = mcc.depth() + 4;
603  for(unsigned int i = 0; i < nIndents; ++i) {
604  out << indention_;
605  }
606  out << " finished: processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
607  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
608  out << "\n" << sc;
609  out << mcc;
610  }
611 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::postModuleEventDelayedGet ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 630 of file Tracer.cc.

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

Referenced by Tracer().

630  {
631  LogAbsolute out("Tracer");
632  out << TimeStamper(printTimestamps_);
633  unsigned int nIndents = mcc.depth() + 4;
634  for(unsigned int i = 0; i < nIndents; ++i) {
635  out << indention_;
636  }
637  out << " finished: delayed processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
638  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
639  out << "\n" << sc;
640  out << mcc;
641  }
642 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::postModuleGlobalBeginLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 841 of file Tracer.cc.

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

Referenced by Tracer().

841  {
842  LogAbsolute out("Tracer");
843  out << TimeStamper(printTimestamps_);
844  unsigned int nIndents = mcc.depth() + 3;
845  for(unsigned int i = 0; i < nIndents; ++i) {
846  out << indention_;
847  }
848  out << " finished: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
849  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
850  out << "\n" << gc;
851  out << mcc;
852  }
853 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::postModuleGlobalBeginRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 781 of file Tracer.cc.

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

Referenced by Tracer().

781  {
782  LogAbsolute out("Tracer");
783  out << TimeStamper(printTimestamps_);
784  unsigned int nIndents = mcc.depth() + 3;
785  for(unsigned int i = 0; i < nIndents; ++i) {
786  out << indention_;
787  }
788  out << " finished: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
789  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
790  out << "\n" << gc;
791  out << mcc;
792  }
793 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::postModuleGlobalEndLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 871 of file Tracer.cc.

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

Referenced by Tracer().

871  {
872  LogAbsolute out("Tracer");
873  out << TimeStamper(printTimestamps_);
874  unsigned int nIndents = mcc.depth() + 3;
875  for(unsigned int i = 0; i < nIndents; ++i) {
876  out << indention_;
877  }
878  out << " finished: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
879  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
880  out << "\n" << gc;
881  out << mcc;
882  }
883 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::postModuleGlobalEndRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 811 of file Tracer.cc.

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

Referenced by Tracer().

811  {
812  LogAbsolute out("Tracer");
813  out << TimeStamper(printTimestamps_);
814  unsigned int nIndents = mcc.depth() + 3;
815  for(unsigned int i = 0; i < nIndents; ++i) {
816  out << indention_;
817  }
818  out << " finished: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
819  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
820  out << "\n" << gc;
821  out << mcc;
822  }
823 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::postModuleStreamBeginLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 721 of file Tracer.cc.

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

Referenced by Tracer().

721  {
722  LogAbsolute out("Tracer");
723  out << TimeStamper(printTimestamps_);
724  unsigned int nIndents = mcc.depth() + 3;
725  for(unsigned int i = 0; i < nIndents; ++i) {
726  out << indention_;
727  }
728  out << " finished: begin lumi for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
729  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
730  out << "\n" << sc;
731  out << mcc;
732  }
733 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::postModuleStreamBeginRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 661 of file Tracer.cc.

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

Referenced by Tracer().

661  {
662  LogAbsolute out("Tracer");
663  out << TimeStamper(printTimestamps_);
664  unsigned int nIndents = mcc.depth() + 3;
665  for(unsigned int i = 0; i < nIndents; ++i) {
666  out << indention_;
667  }
668  out << " finished: begin run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
669  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
670  out << "\n" << sc;
671  out << mcc;
672  }
673 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::postModuleStreamEndLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 751 of file Tracer.cc.

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

Referenced by Tracer().

751  {
752  LogAbsolute out("Tracer");
753  out << TimeStamper(printTimestamps_);
754  unsigned int nIndents = mcc.depth() + 3;
755  for(unsigned int i = 0; i < nIndents; ++i) {
756  out << indention_;
757  }
758  out << " finished: end lumi for module: stream = " << sc.streamID() << " label = '"<< mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
759  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
760  out << "\n" << sc;
761  out << mcc;
762  }
763 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::postModuleStreamEndRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 691 of file Tracer.cc.

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

Referenced by Tracer().

691  {
692  LogAbsolute out("Tracer");
693  out << TimeStamper(printTimestamps_);
694  unsigned int nIndents = mcc.depth() + 3;
695  for(unsigned int i = 0; i < nIndents; ++i) {
696  out << indention_;
697  }
698  out << " finished: end run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
699  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
700  out << "\n" << sc;
701  out << mcc;
702  }
703 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::postOpenFile ( std::string const &  lfn,
bool  b 
)

Definition at line 229 of file Tracer.cc.

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

Referenced by Tracer().

229  {
230  LogAbsolute out("Tracer");
231  out << TimeStamper(printTimestamps_);
232  out << indention_ << indention_ << " finished: open input file: lfn = " << lfn;
233  if(dumpNonModuleContext_) out << " usedFallBack = " << b;
234 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
double b
Definition: hdecay.h:120
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::postPathEvent ( StreamContext const &  sc,
PathContext const &  pc,
HLTPathStatus const &  hlts 
)

Definition at line 509 of file Tracer.cc.

References dumpNonModuleContext_, indention_, dbtoconf::out, edm::PathContext::pathName(), printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

509  {
510  LogAbsolute out("Tracer");
511  out << TimeStamper(printTimestamps_);
512  out << indention_ << indention_ << indention_ << " finished: processing path '" << pc.pathName() << "' : stream = " << sc.streamID();
514  out << "\n" << sc;
515  out << pc;
516  }
517 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::postSourceConstruction ( ModuleDescription const &  md)

Definition at line 897 of file Tracer.cc.

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

Referenced by Tracer().

897  {
898  LogAbsolute out("Tracer");
899  out << TimeStamper(printTimestamps_);
900  out << indention_;
901  out << " finished: constructing source: " << desc.moduleName();
903  out << "\n" << desc;
904  }
905 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::postSourceEvent ( StreamID  sid)

Definition at line 196 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

196  {
197  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source event";
198 }
std::string indention_
Definition: Tracer.h:145
void Tracer::postSourceLumi ( )

Definition at line 206 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

206  {
207  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source lumi";
208 }
std::string indention_
Definition: Tracer.h:145
void Tracer::postSourceRun ( )

Definition at line 216 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

216  {
217  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source run";
218 }
std::string indention_
Definition: Tracer.h:145
void Tracer::postStreamBeginLumi ( StreamContext const &  sc)

Definition at line 443 of file Tracer.cc.

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

Referenced by Tracer().

443  {
444  LogAbsolute out("Tracer");
445  out << TimeStamper(printTimestamps_);
446  out << indention_ << indention_ << " finished: begin lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
447  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
449  out << "\n" << sc;
450  }
451 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::postStreamBeginRun ( StreamContext const &  sc)

Definition at line 355 of file Tracer.cc.

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

Referenced by Tracer().

355  {
356  LogAbsolute out("Tracer");
357  out << TimeStamper(printTimestamps_);
358  out << indention_ << indention_ << " finished: begin run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
359  << " time = " << sc.timestamp().value();
361  out << "\n" << sc;
362  }
363 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::postStreamEndLumi ( StreamContext const &  sc)

Definition at line 465 of file Tracer.cc.

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

Referenced by Tracer().

465  {
466  LogAbsolute out("Tracer");
467  out << TimeStamper(printTimestamps_);
468  out << indention_ << indention_ << " finished: end lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
469  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
471  out << "\n" << sc;
472  }
473 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::postStreamEndRun ( StreamContext const &  sc)

Definition at line 377 of file Tracer.cc.

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

Referenced by Tracer().

377  {
378  LogAbsolute out("Tracer");
379  out << TimeStamper(printTimestamps_);
380  out << indention_ << indention_ << " finished: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
381  << " time = " << sc.timestamp().value();
383  out << "\n" << sc;
384  }
385 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::preallocate ( service::SystemBounds const &  bounds)

Definition at line 174 of file Tracer.cc.

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

Referenced by Tracer().

174  {
175  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " preallocate: " << bounds.maxNumberOfConcurrentRuns() << " concurrent runs, "
176  << bounds.maxNumberOfConcurrentLuminosityBlocks() << " concurrent luminosity sections, "
177  << bounds.maxNumberOfStreams() << " streams";
178 }
std::string indention_
Definition: Tracer.h:145
void Tracer::preCloseFile ( std::string const &  lfn,
bool  primary 
)

Definition at line 237 of file Tracer.cc.

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

Referenced by Tracer().

237  {
238  LogAbsolute out("Tracer");
239  out << TimeStamper(printTimestamps_);
240  out << indention_ << indention_ << " starting: close input file: lfn = " << lfn;
241  if(dumpNonModuleContext_) out << " usedFallBack = " << b;
242 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
double b
Definition: hdecay.h:120
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::preEvent ( StreamContext const &  sc)

Definition at line 476 of file Tracer.cc.

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

Referenced by Tracer().

476  {
477  LogAbsolute out("Tracer");
478  out << TimeStamper(printTimestamps_);
479  out << indention_ << indention_ << " starting: processing event : stream = " << sc.streamID() << " run = " << sc.eventID().run()
480  << " lumi = " << sc.eventID().luminosityBlock() << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
482  out << "\n" << sc;
483  }
484 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::preGlobalBeginLumi ( GlobalContext const &  gc)

Definition at line 388 of file Tracer.cc.

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

Referenced by Tracer().

388  {
389  LogAbsolute out("Tracer");
390  out << TimeStamper(printTimestamps_);
391  out << indention_ << indention_ << " starting: global begin lumi: run = " << gc.luminosityBlockID().run()
392  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
394  out << "\n" << gc;
395  }
396 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::preGlobalBeginRun ( GlobalContext const &  gc)

Definition at line 300 of file Tracer.cc.

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

Referenced by Tracer().

300  {
301  LogAbsolute out("Tracer");
302  out << TimeStamper(printTimestamps_);
303  out << indention_ << indention_ << " starting: global begin run " << gc.luminosityBlockID().run()
304  << " : time = " << gc.timestamp().value();
306  out << "\n" << gc;
307  }
308 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::preGlobalEndLumi ( GlobalContext const &  gc)

Definition at line 410 of file Tracer.cc.

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

Referenced by Tracer().

410  {
411  LogAbsolute out("Tracer");
412  out << TimeStamper(printTimestamps_);
413  out << indention_ << indention_ << " starting: global end lumi: run = " << gc.luminosityBlockID().run()
414  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
416  out << "\n" << gc;
417  }
418 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::preGlobalEndRun ( GlobalContext const &  gc)

Definition at line 322 of file Tracer.cc.

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

Referenced by Tracer().

322  {
323  LogAbsolute out("Tracer");
324  out << TimeStamper(printTimestamps_);
325  out << indention_ << indention_ << " starting: global end run " << gc.luminosityBlockID().run()
326  << " : time = " << gc.timestamp().value();
328  out << "\n" << gc;
329  }
330 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::preModuleBeginJob ( ModuleDescription const &  md)

Definition at line 540 of file Tracer.cc.

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

Referenced by Tracer().

540  {
541  LogAbsolute out("Tracer");
542  out << TimeStamper(printTimestamps_);
543  out << indention_ << indention_;
544  out << " starting: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
545  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
546  out << "\n" << desc;
547  }
548 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::preModuleBeginStream ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 252 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), dbtoconf::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

252  {
253  ModuleDescription const& desc = *mcc.moduleDescription();
254  LogAbsolute out("Tracer");
255  out << TimeStamper(printTimestamps_);
256  out << indention_ << indention_ << " starting: begin stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
257  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
258  out << "\n" << sc;
259  out << mcc;
260  }
261 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::preModuleConstruction ( ModuleDescription const &  md)

Definition at line 520 of file Tracer.cc.

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

Referenced by Tracer().

520  {
521  LogAbsolute out("Tracer");
522  out << TimeStamper(printTimestamps_);
523  out << indention_ << indention_ << " starting: constructing module with label '" << desc.moduleLabel() << "' id = " << desc.id();
524  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
525  out << "\n" << desc;
526  }
527 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::preModuleEndJob ( ModuleDescription const &  md)

Definition at line 562 of file Tracer.cc.

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

Referenced by Tracer().

562  {
563  LogAbsolute out("Tracer");
564  out << TimeStamper(printTimestamps_);
565  out << indention_ << indention_;
566  out << " starting: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
567  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
568  out << "\n" << desc;
569  }
570 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::preModuleEndStream ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 276 of file Tracer.cc.

References dumpContextForLabels_, edm::ModuleDescription::id(), indention_, edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), dbtoconf::out, printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

276  {
277  ModuleDescription const& desc = *mcc.moduleDescription();
278  LogAbsolute out("Tracer");
279  out << TimeStamper(printTimestamps_);
280  out << indention_ << indention_ << " starting: end stream for module: stream = " << sc.streamID() << " label = '" << desc.moduleLabel() << "' id = " << desc.id();
281  if(dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
282  out << "\n" << sc;
283  out << mcc;
284  }
285 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::preModuleEvent ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 584 of file Tracer.cc.

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

Referenced by Tracer().

584  {
585  LogAbsolute out("Tracer");
586  out << TimeStamper(printTimestamps_);
587  unsigned int nIndents = mcc.depth() + 4;
588  for(unsigned int i = 0; i < nIndents; ++i) {
589  out << indention_;
590  }
591  out << " starting: processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
592  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
593  out << "\n" << sc;
594  out << mcc;
595  }
596 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::preModuleEventDelayedGet ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 615 of file Tracer.cc.

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

Referenced by Tracer().

615  {
616  LogAbsolute out("Tracer");
617  out << TimeStamper(printTimestamps_);
618  unsigned int nIndents = mcc.depth() + 4;
619  for(unsigned int i = 0; i < nIndents; ++i) {
620  out << indention_;
621  }
622  out << " starting: delayed processing event for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
623  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
624  out << "\n" << sc;
625  out << mcc;
626  }
627 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::preModuleGlobalBeginLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 826 of file Tracer.cc.

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

Referenced by Tracer().

826  {
827  LogAbsolute out("Tracer");
828  out << TimeStamper(printTimestamps_);
829  unsigned int nIndents = mcc.depth() + 3;
830  for(unsigned int i = 0; i < nIndents; ++i) {
831  out << indention_;
832  }
833  out << " starting: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
834  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
835  out << "\n" << gc;
836  out << mcc;
837  }
838 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::preModuleGlobalBeginRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 766 of file Tracer.cc.

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

Referenced by Tracer().

766  {
767  LogAbsolute out("Tracer");
768  out << TimeStamper(printTimestamps_);
769  unsigned int nIndents = mcc.depth() + 3;
770  for(unsigned int i = 0; i < nIndents; ++i) {
771  out << indention_;
772  }
773  out << " starting: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
774  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
775  out << "\n" << gc;
776  out << mcc;
777  }
778 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::preModuleGlobalEndLumi ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 856 of file Tracer.cc.

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

Referenced by Tracer().

856  {
857  LogAbsolute out("Tracer");
858  out << TimeStamper(printTimestamps_);
859  unsigned int nIndents = mcc.depth() + 3;
860  for(unsigned int i = 0; i < nIndents; ++i) {
861  out << indention_;
862  }
863  out << " starting: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
864  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
865  out << "\n" << gc;
866  out << mcc;
867  }
868 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::preModuleGlobalEndRun ( GlobalContext const &  gc,
ModuleCallingContext const &  mcc 
)

Definition at line 796 of file Tracer.cc.

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

Referenced by Tracer().

796  {
797  LogAbsolute out("Tracer");
798  out << TimeStamper(printTimestamps_);
799  unsigned int nIndents = mcc.depth() + 3;
800  for(unsigned int i = 0; i < nIndents; ++i) {
801  out << indention_;
802  }
803  out << " starting: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
804  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
805  out << "\n" << gc;
806  out << mcc;
807  }
808 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::preModuleStreamBeginLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 706 of file Tracer.cc.

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

Referenced by Tracer().

706  {
707  LogAbsolute out("Tracer");
708  out << TimeStamper(printTimestamps_);
709  unsigned int nIndents = mcc.depth() + 3;
710  for(unsigned int i = 0; i < nIndents; ++i) {
711  out << indention_;
712  }
713  out << " starting: begin lumi for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
714  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
715  out << "\n" << sc;
716  out << mcc;
717  }
718 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::preModuleStreamBeginRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 646 of file Tracer.cc.

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

Referenced by Tracer().

646  {
647  LogAbsolute out("Tracer");
648  out << TimeStamper(printTimestamps_);
649  unsigned int nIndents = mcc.depth() + 3;
650  for(unsigned int i = 0; i < nIndents; ++i) {
651  out << indention_;
652  }
653  out << " starting: begin run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
654  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
655  out << "\n" << sc;
656  out << mcc;
657  }
658 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::preModuleStreamEndLumi ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 736 of file Tracer.cc.

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

Referenced by Tracer().

736  {
737  LogAbsolute out("Tracer");
738  out << TimeStamper(printTimestamps_);
739  unsigned int nIndents = mcc.depth() + 3;
740  for(unsigned int i = 0; i < nIndents; ++i) {
741  out << indention_;
742  }
743  out << " starting: end lumi for module: stream = " << sc.streamID() << " label = '"<< mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
744  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
745  out << "\n" << sc;
746  out << mcc;
747  }
748 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::preModuleStreamEndRun ( StreamContext const &  sc,
ModuleCallingContext const &  mcc 
)

Definition at line 676 of file Tracer.cc.

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

Referenced by Tracer().

676  {
677  LogAbsolute out("Tracer");
678  out << TimeStamper(printTimestamps_);
679  unsigned int nIndents = mcc.depth() + 3;
680  for(unsigned int i = 0; i < nIndents; ++i) {
681  out << indention_;
682  }
683  out << " starting: end run for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
684  if(dumpContextForLabels_.find(mcc.moduleDescription()->moduleLabel()) != dumpContextForLabels_.end()) {
685  out << "\n" << sc;
686  out << mcc;
687  }
688 }
int i
Definition: DBlmapReader.cc:9
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
std::set< std::string > dumpContextForLabels_
Definition: Tracer.h:146
void Tracer::preOpenFile ( std::string const &  lfn,
bool  b 
)

Definition at line 221 of file Tracer.cc.

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

Referenced by Tracer().

221  {
222  LogAbsolute out("Tracer");
223  out << TimeStamper(printTimestamps_);
224  out << indention_ << indention_ << " starting: open input file: lfn = " << lfn;
225  if(dumpNonModuleContext_) out << " usedFallBack = " << b;
226 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
double b
Definition: hdecay.h:120
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::prePathEvent ( StreamContext const &  sc,
PathContext const &  pc 
)

Definition at line 498 of file Tracer.cc.

References dumpNonModuleContext_, indention_, dbtoconf::out, edm::PathContext::pathName(), printTimestamps_, and edm::StreamContext::streamID().

Referenced by Tracer().

498  {
499  LogAbsolute out("Tracer");
500  out << TimeStamper(printTimestamps_);
501  out << indention_ << indention_ << indention_ << " starting: processing path '" << pc.pathName() << "' : stream = " << sc.streamID();
503  out << "\n" << sc;
504  out << pc;
505  }
506 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::preSourceConstruction ( ModuleDescription const &  md)

Definition at line 886 of file Tracer.cc.

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

Referenced by Tracer().

886  {
887  LogAbsolute out("Tracer");
888  out << TimeStamper(printTimestamps_);
889  out << indention_;
890  out << " starting: constructing source: " << desc.moduleName();
892  out << "\n" << desc;
893  }
894 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::preSourceEvent ( StreamID  sid)

Definition at line 191 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

191  {
192  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source event";
193 }
std::string indention_
Definition: Tracer.h:145
void Tracer::preSourceLumi ( )

Definition at line 201 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

201  {
202  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source lumi";
203 }
std::string indention_
Definition: Tracer.h:145
void Tracer::preSourceRun ( )

Definition at line 211 of file Tracer.cc.

References indention_, and printTimestamps_.

Referenced by Tracer().

211  {
212  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source run";
213 }
std::string indention_
Definition: Tracer.h:145
void Tracer::preStreamBeginLumi ( StreamContext const &  sc)

Definition at line 432 of file Tracer.cc.

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

Referenced by Tracer().

432  {
433  LogAbsolute out("Tracer");
434  out << TimeStamper(printTimestamps_);
435  out << indention_ << indention_ << " starting: begin lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
436  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
438  out << "\n" << sc;
439  }
440 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::preStreamBeginRun ( StreamContext const &  sc)

Definition at line 344 of file Tracer.cc.

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

Referenced by Tracer().

344  {
345  LogAbsolute out("Tracer");
346  out << TimeStamper(printTimestamps_);
347  out << indention_ << indention_ << " starting: begin run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
348  << " time = " << sc.timestamp().value();
350  out << "\n" << sc;
351  }
352 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::preStreamEndLumi ( StreamContext const &  sc)

Definition at line 454 of file Tracer.cc.

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

Referenced by Tracer().

454  {
455  LogAbsolute out("Tracer");
456  out << TimeStamper(printTimestamps_);
457  out << indention_ << indention_ << " starting: end lumi: stream = " << sc.streamID() << " run = " << sc.eventID().run()
458  << " lumi = " << sc.eventID().luminosityBlock() << " time = " << sc.timestamp().value();
460  out << "\n" << sc;
461  }
462 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147
void Tracer::preStreamEndRun ( StreamContext const &  sc)

Definition at line 366 of file Tracer.cc.

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

Referenced by Tracer().

366  {
367  LogAbsolute out("Tracer");
368  out << TimeStamper(printTimestamps_);
369  out << indention_ << indention_ << " starting: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
370  << " time = " << sc.timestamp().value();
372  out << "\n" << sc;
373  }
374 }
tuple out
Definition: dbtoconf.py:99
std::string indention_
Definition: Tracer.h:145
bool dumpNonModuleContext_
Definition: Tracer.h:147

Member Data Documentation

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