CMS 3D CMS Logo

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

#include <FWCore/MessageService/plugins/MessageLogger.h>

Inheritance diagram for edm::service::MessageLogger:
edm::MessageLogger

Public Member Functions

 MessageLogger (ParameterSet const &, ActivityRegistry &)
 
void setThreadContext (ModuleCallingContext const &) final
 
- Public Member Functions inherited from edm::MessageLogger
virtual ~MessageLogger ()
 

Private Member Functions

void establish (const char *whichPhase)
 
void establishModule (const ModuleDescription &desc, const char *whichPhase)
 
void establishModule (unsigned int transitionIndex, const ModuleCallingContext &context, const char *whichPhase)
 
void jobFailure ()
 
void postAccessInputProcessBlock (GlobalContext const &)
 
void postBeginJob ()
 
void postBeginProcessBlock (GlobalContext const &)
 
void postEndJob ()
 
void postEndProcessBlock (GlobalContext const &)
 
void postESModule (eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
 
void postEvent (StreamContext const &)
 
void postFile (std::string const &)
 
void postGlobalBeginLumi (GlobalContext const &)
 
void postGlobalBeginRun (GlobalContext const &)
 
void postGlobalEndLumi (GlobalContext const &)
 
void postGlobalEndRun (GlobalContext const &)
 
void postModuleAccessInputProcessBlock (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleBeginJob (ModuleDescription const &)
 
void postModuleBeginProcessBlock (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleBeginStream (StreamContext const &, ModuleCallingContext const &)
 
void postModuleConstruction (ModuleDescription const &)
 
void postModuleDestruction (ModuleDescription const &)
 
void postModuleEndJob (ModuleDescription const &)
 
void postModuleEndProcessBlock (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleEndStream (StreamContext const &, ModuleCallingContext const &)
 
void postModuleEvent (StreamContext const &, ModuleCallingContext const &)
 
void postModuleEventAcquire (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 postModuleWriteLumi (GlobalContext const &, ModuleCallingContext const &)
 
void postModuleWriteRun (GlobalContext const &, ModuleCallingContext const &)
 
void postPathEvent (StreamContext const &, PathContext const &, HLTPathStatus const &)
 
void postSourceConstruction (ModuleDescription const &)
 
void postSourceEvent (StreamID)
 
void postSourceRunLumi ()
 
void postStreamBeginLumi (StreamContext const &)
 
void postStreamBeginRun (StreamContext const &)
 
void postStreamEndLumi (StreamContext const &)
 
void postStreamEndRun (StreamContext const &)
 
void preAccessInputProcessBlock (GlobalContext const &)
 
void preBeginProcessBlock (GlobalContext const &)
 
void preEndJob ()
 
void preEndProcessBlock (GlobalContext const &)
 
void preESModule (eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
 
void preEvent (StreamContext const &)
 
void preFile (std::string const &)
 
void preFileClose (std::string const &)
 
void preGlobalBeginLumi (GlobalContext const &)
 
void preGlobalBeginRun (GlobalContext const &)
 
void preGlobalEndLumi (GlobalContext const &)
 
void preGlobalEndRun (GlobalContext const &)
 
void preModuleAccessInputProcessBlock (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleBeginJob (ModuleDescription const &)
 
void preModuleBeginProcessBlock (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleBeginStream (StreamContext const &, ModuleCallingContext const &)
 
void preModuleConstruction (ModuleDescription const &)
 
void preModuleDestruction (ModuleDescription const &)
 
void preModuleEndJob (ModuleDescription const &)
 
void preModuleEndProcessBlock (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleEndStream (StreamContext const &, ModuleCallingContext const &)
 
void preModuleEvent (StreamContext const &, ModuleCallingContext const &)
 
void preModuleEventAcquire (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 preModuleWriteLumi (GlobalContext const &, ModuleCallingContext const &)
 
void preModuleWriteRun (GlobalContext const &, ModuleCallingContext const &)
 
void prePathEvent (StreamContext const &, PathContext const &)
 
void preSourceConstruction (ModuleDescription const &)
 
void preSourceEvent (StreamID)
 
void preSourceRunLumi ()
 
void preStreamBeginLumi (StreamContext const &)
 
void preStreamBeginRun (StreamContext const &)
 
void preStreamEndLumi (StreamContext const &)
 
void preStreamEndRun (StreamContext const &)
 
void unEstablish (const char *whichPhase)
 
void unEstablishModule (const ModuleDescription &desc, const char *whichPhase)
 
void unEstablishModule (const ModuleCallingContext &desc, const char *whichPhase)
 

Static Private Member Functions

static void summarizeInJobReport ()
 

Private Attributes

bool debugEnabled_
 
std::set< std::string > debugEnabledModules_
 
unsigned int lumiInfoBegin_ = 0
 
bool messageServicePSetHasBeenValidated_
 
std::string messageServicePSetValidatationResults_
 
bool nonModule_debugEnabled
 
bool nonModule_errorEnabled
 
bool nonModule_infoEnabled
 
bool nonModule_warningEnabled
 
unsigned int processBlockInfoBegin_ = 0
 
unsigned int runInfoBegin_ = 0
 
std::map< std::string,
messagelogger::ELseverityLevel
suppression_levels_
 
std::vector< std::array< char, 64 > > transitionInfoCache_
 

Static Private Attributes

static bool anyDebugEnabled_ = false
 
static bool everyDebugEnabled_ = false
 
static bool fjrSummaryRequested_ = false
 

Additional Inherited Members

- Protected Member Functions inherited from edm::MessageLogger
 MessageLogger ()=default
 

Detailed Description

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

Usage: <usage>

Definition at line 47 of file MessageLogger.h.

Constructor & Destructor Documentation

MessageLogger::MessageLogger ( ParameterSet const &  iPS,
ActivityRegistry iRegistry 
)

Definition at line 115 of file MessageLogger.cc.

References anyDebugEnabled_, edm::MessageDrop::debugEnabled, debugEnabledModules_, dcs_print_summary_cfg::debugModules, edm::ELseverityLevel::ELsev_error, edm::ELseverityLevel::ELsev_fwkInfo, edm::ELseverityLevel::ELsev_info, edm::ELseverityLevel::ELsev_success, edm::ELseverityLevel::ELsev_warning, edm::MessageDrop::errorEnabled, everyDebugEnabled_, fjrSummaryRequested_, edm::ParameterSet::getUntrackedParameter(), edm::MessageDrop::infoEnabled, edm::MessageDrop::instance(), jobFailure(), edm::MessageDrop::jobMode, lumiInfoBegin_, edm::service::SystemBounds::maxNumberOfConcurrentLuminosityBlocks(), edm::service::SystemBounds::maxNumberOfConcurrentRuns(), edm::service::SystemBounds::maxNumberOfStreams(), messageServicePSetValidatationResults_, edm::MessageLoggerQ::MLqCFG(), edm::MessageLoggerQ::MLqMOD(), nonModule_debugEnabled, nonModule_errorEnabled, nonModule_infoEnabled, nonModule_warningEnabled, postAccessInputProcessBlock(), postBeginJob(), postBeginProcessBlock(), postEndJob(), postEndProcessBlock(), postESModule(), postEvent(), postFile(), postGlobalBeginLumi(), postGlobalBeginRun(), postGlobalEndLumi(), postGlobalEndRun(), postModuleAccessInputProcessBlock(), postModuleBeginJob(), postModuleBeginProcessBlock(), postModuleBeginStream(), postModuleConstruction(), postModuleDestruction(), postModuleEndJob(), postModuleEndProcessBlock(), postModuleEndStream(), postModuleEvent(), postModuleEventAcquire(), postModuleGlobalBeginLumi(), postModuleGlobalBeginRun(), postModuleGlobalEndLumi(), postModuleGlobalEndRun(), postModuleStreamBeginLumi(), postModuleStreamBeginRun(), postModuleStreamEndLumi(), postModuleStreamEndRun(), postModuleWriteLumi(), postModuleWriteRun(), postPathEvent(), postSourceConstruction(), postSourceEvent(), postSourceRunLumi(), postStreamBeginLumi(), postStreamBeginRun(), postStreamEndLumi(), postStreamEndRun(), preAccessInputProcessBlock(), preBeginProcessBlock(), preEndJob(), preEndProcessBlock(), preESModule(), preEvent(), preFile(), preFileClose(), preGlobalBeginLumi(), preGlobalBeginRun(), preGlobalEndLumi(), preGlobalEndRun(), preModuleAccessInputProcessBlock(), preModuleBeginJob(), preModuleBeginProcessBlock(), preModuleBeginStream(), preModuleConstruction(), preModuleDestruction(), preModuleEndJob(), preModuleEndProcessBlock(), preModuleEndStream(), preModuleEvent(), preModuleEventAcquire(), preModuleGlobalBeginLumi(), preModuleGlobalBeginRun(), preModuleGlobalEndLumi(), preModuleGlobalEndRun(), preModuleStreamBeginLumi(), preModuleStreamBeginRun(), preModuleStreamEndLumi(), preModuleStreamEndRun(), preModuleWriteLumi(), preModuleWriteRun(), prePathEvent(), preSourceConstruction(), preSourceEvent(), preSourceRunLumi(), preStreamBeginLumi(), preStreamBeginRun(), preStreamEndLumi(), preStreamEndRun(), processBlockInfoBegin_, runInfoBegin_, edm::setMaxLoggedErrorsSummaryIndicies(), AlCaHLTBitMon_QueryRunRegistry::string, MergeJob_cfg::suppressDebug, EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::suppressInfo, suppression_levels_, MergeJob_cfg::suppressWarning, transitionInfoCache_, edm::MessageDrop::warningEnabled, edm::ActivityRegistry::watchJobFailure(), edm::ActivityRegistry::watchPostAccessInputProcessBlock(), edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostBeginProcessBlock(), edm::ActivityRegistry::watchPostCloseFile(), edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostEndProcessBlock(), edm::ActivityRegistry::watchPostESModule(), edm::ActivityRegistry::watchPostEvent(), edm::ActivityRegistry::watchPostGlobalBeginLumi(), edm::ActivityRegistry::watchPostGlobalBeginRun(), edm::ActivityRegistry::watchPostGlobalEndLumi(), edm::ActivityRegistry::watchPostGlobalEndRun(), edm::ActivityRegistry::watchPostModuleAccessInputProcessBlock(), edm::ActivityRegistry::watchPostModuleBeginJob(), edm::ActivityRegistry::watchPostModuleBeginProcessBlock(), edm::ActivityRegistry::watchPostModuleBeginStream(), edm::ActivityRegistry::watchPostModuleConstruction(), edm::ActivityRegistry::watchPostModuleDestruction(), edm::ActivityRegistry::watchPostModuleEndJob(), edm::ActivityRegistry::watchPostModuleEndProcessBlock(), edm::ActivityRegistry::watchPostModuleEndStream(), edm::ActivityRegistry::watchPostModuleEvent(), edm::ActivityRegistry::watchPostModuleEventAcquire(), 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::watchPostModuleWriteLumi(), edm::ActivityRegistry::watchPostModuleWriteRun(), 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::watchPreAccessInputProcessBlock(), edm::ActivityRegistry::watchPreallocate(), edm::ActivityRegistry::watchPreBeginProcessBlock(), edm::ActivityRegistry::watchPreCloseFile(), edm::ActivityRegistry::watchPreEndJob(), edm::ActivityRegistry::watchPreEndProcessBlock(), edm::ActivityRegistry::watchPreESModule(), edm::ActivityRegistry::watchPreEvent(), edm::ActivityRegistry::watchPreGlobalBeginLumi(), edm::ActivityRegistry::watchPreGlobalBeginRun(), edm::ActivityRegistry::watchPreGlobalEndLumi(), edm::ActivityRegistry::watchPreGlobalEndRun(), edm::ActivityRegistry::watchPreModuleAccessInputProcessBlock(), edm::ActivityRegistry::watchPreModuleBeginJob(), edm::ActivityRegistry::watchPreModuleBeginProcessBlock(), edm::ActivityRegistry::watchPreModuleBeginStream(), edm::ActivityRegistry::watchPreModuleConstruction(), edm::ActivityRegistry::watchPreModuleDestruction(), edm::ActivityRegistry::watchPreModuleEndJob(), edm::ActivityRegistry::watchPreModuleEndProcessBlock(), edm::ActivityRegistry::watchPreModuleEndStream(), edm::ActivityRegistry::watchPreModuleEvent(), edm::ActivityRegistry::watchPreModuleEventAcquire(), 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::watchPreModuleWriteLumi(), edm::ActivityRegistry::watchPreModuleWriteRun(), 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().

116  : debugEnabled_(false),
119  nonModule_debugEnabled(false),
120  nonModule_infoEnabled(true),
122  nonModule_errorEnabled(true) // change log 20
123  {
124  // prepare cfg validation string for later use
126  messageServicePSetValidatationResults_ = validator(iPS); // change log 12
127 
128  typedef std::vector<std::string> vString;
129  vString empty_vString;
130  vString debugModules;
131  vString suppressDebug;
132  vString suppressInfo;
133  vString suppressFwkInfo;
134  vString suppressWarning;
135  vString suppressError; // change log 20
136 
137  try { // change log 13
138  // decide whether a summary should be placed in job report
139  fjrSummaryRequested_ = iPS.getUntrackedParameter<bool>("messageSummaryToJobReport", false);
140 
141  // grab list of debug-enabled modules
142  debugModules = iPS.getUntrackedParameter<vString>("debugModules", empty_vString);
143 
144  // grab lists of suppressLEVEL modules
145  suppressDebug = iPS.getUntrackedParameter<vString>("suppressDebug", empty_vString);
146 
147  suppressInfo = iPS.getUntrackedParameter<vString>("suppressInfo", empty_vString);
148 
149  suppressFwkInfo = iPS.getUntrackedParameter<vString>("suppressFwkInfo", empty_vString);
150 
151  suppressWarning = iPS.getUntrackedParameter<vString>("suppressWarning", empty_vString);
152 
153  suppressError = // change log 20
154  iPS.getUntrackedParameter<vString>("suppressError", empty_vString);
155  } catch (cms::Exception& e) { // change log 13
156  }
157 
158  // Use these lists to prepare a map to use in tracking suppression
159 
160  // Do suppressDebug first and suppressError last to get proper order
161  for (vString::const_iterator it = suppressDebug.begin(); it != suppressDebug.end(); ++it) {
163  }
164 
165  for (vString::const_iterator it = suppressInfo.begin(); it != suppressInfo.end(); ++it) {
167  }
168 
169  for (vString::const_iterator it = suppressFwkInfo.begin(); it != suppressFwkInfo.end(); ++it) {
171  }
172 
173  for (vString::const_iterator it = suppressWarning.begin(); it != suppressWarning.end(); ++it) {
175  }
176 
177  for (vString::const_iterator it = suppressError.begin(); // change log 20
178  it != suppressError.end();
179  ++it) {
181  }
182 
183  // set up for tracking whether current module is debug-enabled
184  // (and info-enabled and warning-enabled)
185  if (debugModules.empty()) {
186  anyDebugEnabled_ = false; // change log 11
187  MessageDrop::instance()->debugEnabled = false; // change log 1
188  } else {
189  anyDebugEnabled_ = true; // change log 11
191  // this will be over-ridden when specific modules are entered
192  }
193 
194  // if ( debugModules.empty()) anyDebugEnabled_ = true; // wrong; change log 11
195  for (vString::const_iterator it = debugModules.begin(); it != debugModules.end(); ++it) {
196  if (*it == "*") {
197  everyDebugEnabled_ = true;
198  } else {
199  debugEnabledModules_.insert(*it);
200  }
201  }
202 
203  // change log 7
205  std::string* jm_p = new std::string(jm);
206  MessageLoggerQ::MLqMOD(jm_p); // change log 9
207 
208  MessageLoggerQ::MLqCFG(new ParameterSet(iPS)); // change log 9
209 
210  iRegistry.watchPreallocate([this](edm::service::SystemBounds const& iBounds) {
211  //reserve the proper amount of space to record the transition info
212  constexpr unsigned int maxNumberOfConcurrentProcessBlocks = 1;
213  this->transitionInfoCache_.resize(iBounds.maxNumberOfStreams() +
215  iBounds.maxNumberOfConcurrentRuns() + maxNumberOfConcurrentProcessBlocks);
219 
221  });
222 
224  iRegistry.watchPreEndJob(this, &MessageLogger::preEndJob);
225  iRegistry.watchPostEndJob(this, &MessageLogger::postEndJob);
226  iRegistry.watchJobFailure(this, &MessageLogger::jobFailure); // change log 14
227 
230  // change log 3
231 
234  // change log 3
235 
238 
241 
244 
247  // change log 14:
248  iRegistry.watchPreSourceRun([this](RunIndex) { preSourceRunLumi(); });
249  iRegistry.watchPostSourceRun([this](RunIndex) { postSourceRunLumi(); });
250  iRegistry.watchPreSourceLumi([this](LuminosityBlockIndex) { preSourceRunLumi(); });
252  iRegistry.watchPreOpenFile(this, &MessageLogger::preFile);
253  iRegistry.watchPostOpenFile(this, &MessageLogger::postFile);
256 
257  // change log 13:
258  // change log 15
263 
268 
277 
284 
297 
298  iRegistry.watchPreEvent(this, &MessageLogger::preEvent);
299  iRegistry.watchPostEvent(this, &MessageLogger::postEvent);
300 
309 
316 
325 
328 
331 
332  MessageDrop* messageDrop = MessageDrop::instance();
333  nonModule_debugEnabled = messageDrop->debugEnabled;
334  nonModule_infoEnabled = messageDrop->infoEnabled;
336  nonModule_errorEnabled = messageDrop->errorEnabled;
337  } // ctor
void preModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
void preModuleEvent(StreamContext const &, ModuleCallingContext const &)
std::vector< std::array< char, 64 > > transitionInfoCache_
void watchPostModuleGlobalEndLumi(PostModuleGlobalEndLumi::slot_type const &iSlot)
void watchPostModuleConstruction(PostModuleConstruction::slot_type const &iSlot)
void watchPreModuleGlobalBeginRun(PreModuleGlobalBeginRun::slot_type const &iSlot)
void postModuleEvent(StreamContext const &, ModuleCallingContext const &)
void preModuleEndJob(ModuleDescription const &)
void postGlobalEndRun(GlobalContext const &)
void preFile(std::string const &)
void watchPreEvent(PreEvent::slot_type const &iSlot)
void postStreamBeginLumi(StreamContext const &)
void watchPreAccessInputProcessBlock(PreAccessInputProcessBlock::slot_type const &iSlot)
void preStreamEndLumi(StreamContext const &)
void preStreamBeginLumi(StreamContext const &)
void preModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
void watchPrePathEvent(PrePathEvent::slot_type const &iSlot)
void watchPreallocate(Preallocate::slot_type const &iSlot)
void watchPostModuleEndProcessBlock(PostModuleEndProcessBlock::slot_type const &iSlot)
void postModuleConstruction(ModuleDescription const &)
void watchPreESModule(PreESModule::slot_type const &iSlot)
void watchPreModuleEventAcquire(PreModuleEventAcquire::slot_type const &iSlot)
void watchPostEndJob(PostEndJob::slot_type const &iSlot)
void postModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
void watchPostModuleEndStream(PostModuleEndStream::slot_type const &iSlot)
void watchPreModuleEvent(PreModuleEvent::slot_type const &iSlot)
tuple suppressDebug
Definition: MergeJob_cfg.py:30
void watchPreModuleConstruction(PreModuleConstruction::slot_type const &iSlot)
void watchPreModuleEndProcessBlock(PreModuleEndProcessBlock::slot_type const &iSlot)
void preModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
void postGlobalBeginLumi(GlobalContext const &)
void watchPreGlobalEndLumi(PreGlobalEndLumi::slot_type const &iSlot)
void preEndProcessBlock(GlobalContext const &)
void preModuleBeginJob(ModuleDescription const &)
void postModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
void watchPostEvent(PostEvent::slot_type const &iSlot)
void postGlobalBeginRun(GlobalContext const &)
void preESModule(eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
void watchPreStreamEndRun(PreStreamEndRun::slot_type const &iSlot)
void watchPreSourceConstruction(PreSourceConstruction::slot_type const &iSlot)
void watchPostSourceConstruction(PostSourceConstruction::slot_type const &iSlot)
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void watchPreGlobalBeginLumi(PreGlobalBeginLumi::slot_type const &iSlot)
void watchPostStreamEndLumi(PostStreamEndLumi::slot_type const &iSlot)
void preGlobalEndLumi(GlobalContext const &)
void watchPostEndProcessBlock(PostEndProcessBlock::slot_type const &iSlot)
void preAccessInputProcessBlock(GlobalContext const &)
void watchPreModuleDestruction(PreModuleDestruction::slot_type const &iSlot)
void watchPostPathEvent(PostPathEvent::slot_type const &iSlot)
void watchPostModuleEvent(PostModuleEvent::slot_type const &iSlot)
void watchPostModuleGlobalBeginLumi(PostModuleGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamEndLumi(PostModuleStreamEndLumi::slot_type const &iSlot)
static std::string jobMode
Definition: MessageDrop.h:69
void watchPostGlobalBeginLumi(PostGlobalBeginLumi::slot_type const &iSlot)
void postESModule(eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
void watchPostModuleStreamBeginRun(PostModuleStreamBeginRun::slot_type const &iSlot)
void watchPostSourceEvent(PostSourceEvent::slot_type const &iSlot)
void watchPreModuleAccessInputProcessBlock(PreModuleAccessInputProcessBlock::slot_type const &iSlot)
void preSourceConstruction(ModuleDescription const &)
void watchPreBeginProcessBlock(PreBeginProcessBlock::slot_type const &iSlot)
void watchPreEndProcessBlock(PreEndProcessBlock::slot_type const &iSlot)
void setMaxLoggedErrorsSummaryIndicies(unsigned int iMax)
void watchPreModuleBeginStream(PreModuleBeginStream::slot_type const &iSlot)
void watchPostESModule(PostESModule::slot_type const &iSlot)
void watchPreStreamEndLumi(PreStreamEndLumi::slot_type const &iSlot)
void preGlobalBeginLumi(GlobalContext const &)
void watchPreModuleGlobalEndRun(PreModuleGlobalEndRun::slot_type const &iSlot)
void postModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
void postStreamEndRun(StreamContext const &)
void preModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
void preGlobalBeginRun(GlobalContext const &)
void postModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
void watchPostModuleWriteRun(PostModuleWriteRun::slot_type const &iSlot)
void preModuleDestruction(ModuleDescription const &)
void watchPostModuleWriteLumi(PostModuleWriteLumi::slot_type const &iSlot)
void watchJobFailure(JobFailure::slot_type const &iSlot)
convenience function for attaching to signal
void postModuleWriteRun(GlobalContext const &, ModuleCallingContext const &)
unsigned int maxNumberOfStreams() const
Definition: SystemBounds.h:35
void watchPreOpenFile(PreOpenFile::slot_type const &iSlot)
void preModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
void watchPostGlobalBeginRun(PostGlobalBeginRun::slot_type const &iSlot)
void postFile(std::string const &)
void postEvent(StreamContext const &)
void postModuleEndProcessBlock(GlobalContext const &, ModuleCallingContext const &)
void watchPostCloseFile(PostCloseFile::slot_type const &iSlot)
void watchPreGlobalEndRun(PreGlobalEndRun::slot_type const &iSlot)
void postModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
void preModuleWriteLumi(GlobalContext const &, ModuleCallingContext const &)
void watchPostBeginProcessBlock(PostBeginProcessBlock::slot_type const &iSlot)
void watchPostSourceRun(PostSourceRun::slot_type const &iSlot)
void watchPostStreamBeginLumi(PostStreamBeginLumi::slot_type const &iSlot)
static void MLqCFG(ParameterSet *p)
void watchPreSourceLumi(PreSourceLumi::slot_type const &iSlot)
void prePathEvent(StreamContext const &, PathContext const &)
void watchPreModuleBeginProcessBlock(PreModuleBeginProcessBlock::slot_type const &iSlot)
void watchPostModuleEventAcquire(PostModuleEventAcquire::slot_type const &iSlot)
void postBeginProcessBlock(GlobalContext const &)
void watchPreModuleEndJob(PreModuleEndJob::slot_type const &iSlot)
void preModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
void watchPostGlobalEndLumi(PostGlobalEndLumi::slot_type const &iSlot)
void preFileClose(std::string const &)
void postModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
void preBeginProcessBlock(GlobalContext const &)
unsigned int processBlockInfoBegin_
void watchPreSourceRun(PreSourceRun::slot_type const &iSlot)
void preModuleConstruction(ModuleDescription const &)
void postStreamBeginRun(StreamContext const &)
void watchPreModuleBeginJob(PreModuleBeginJob::slot_type const &iSlot)
void watchPostStreamEndRun(PostStreamEndRun::slot_type const &iSlot)
void postModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
void watchPreModuleGlobalBeginLumi(PreModuleGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamEndRun(PostModuleStreamEndRun::slot_type const &iSlot)
void preModuleBeginProcessBlock(GlobalContext const &, ModuleCallingContext const &)
void watchPostModuleBeginProcessBlock(PostModuleBeginProcessBlock::slot_type const &iSlot)
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
void watchPreModuleStreamBeginLumi(PreModuleStreamBeginLumi::slot_type const &iSlot)
std::map< std::string, messagelogger::ELseverityLevel > suppression_levels_
void postStreamEndLumi(StreamContext const &)
void postPathEvent(StreamContext const &, PathContext const &, HLTPathStatus const &)
void postModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
void watchPostModuleBeginStream(PostModuleBeginStream::slot_type const &iSlot)
void preModuleAccessInputProcessBlock(GlobalContext const &, ModuleCallingContext const &)
void watchPostAccessInputProcessBlock(PostAccessInputProcessBlock::slot_type const &iSlot)
unsigned int maxNumberOfConcurrentLuminosityBlocks() const
Definition: SystemBounds.h:37
std::set< std::string > debugEnabledModules_
void watchPostSourceLumi(PostSourceLumi::slot_type const &iSlot)
void watchPreCloseFile(PreCloseFile::slot_type const &iSlot)
void watchPostModuleGlobalEndRun(PostModuleGlobalEndRun::slot_type const &iSlot)
void watchPostModuleStreamBeginLumi(PostModuleStreamBeginLumi::slot_type const &iSlot)
void postSourceConstruction(ModuleDescription const &)
void watchPreModuleStreamEndLumi(PreModuleStreamEndLumi::slot_type const &iSlot)
void watchPreModuleStreamBeginRun(PreModuleStreamBeginRun::slot_type const &iSlot)
static void MLqMOD(std::string *jm)
void watchPostGlobalEndRun(PostGlobalEndRun::slot_type const &iSlot)
void watchPreStreamBeginLumi(PreStreamBeginLumi::slot_type const &iSlot)
void watchPostOpenFile(PostOpenFile::slot_type const &iSlot)
void watchPreModuleEndStream(PreModuleEndStream::slot_type const &iSlot)
void postModuleEndJob(ModuleDescription const &)
void postModuleDestruction(ModuleDescription const &)
void watchPreModuleWriteRun(PreModuleWriteRun::slot_type const &iSlot)
void preStreamEndRun(StreamContext const &)
void postEndProcessBlock(GlobalContext const &)
void watchPreEndJob(PreEndJob::slot_type const &iSlot)
void postModuleBeginProcessBlock(GlobalContext const &, ModuleCallingContext const &)
void watchPostStreamBeginRun(PostStreamBeginRun::slot_type const &iSlot)
void postModuleAccessInputProcessBlock(GlobalContext const &, ModuleCallingContext const &)
void postModuleBeginJob(ModuleDescription const &)
void watchPreStreamBeginRun(PreStreamBeginRun::slot_type const &iSlot)
void watchPostModuleAccessInputProcessBlock(PostModuleAccessInputProcessBlock::slot_type const &iSlot)
void watchPostModuleDestruction(PostModuleDestruction::slot_type const &iSlot)
void preModuleEndStream(StreamContext const &, ModuleCallingContext const &)
void watchPreModuleStreamEndRun(PreModuleStreamEndRun::slot_type const &iSlot)
void preModuleEndProcessBlock(GlobalContext const &, ModuleCallingContext const &)
void watchPostModuleBeginJob(PostModuleBeginJob::slot_type const &iSlot)
void watchPostModuleGlobalBeginRun(PostModuleGlobalBeginRun::slot_type const &iSlot)
void postAccessInputProcessBlock(GlobalContext const &)
void watchPreModuleWriteLumi(PreModuleWriteLumi::slot_type const &iSlot)
unsigned int maxNumberOfConcurrentRuns() const
Definition: SystemBounds.h:36
void preModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
void postGlobalEndLumi(GlobalContext const &)
void preModuleWriteRun(GlobalContext const &, ModuleCallingContext const &)
void postModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
void watchPreSourceEvent(PreSourceEvent::slot_type const &iSlot)
void postModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
tuple suppressWarning
Definition: MergeJob_cfg.py:28
void preModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
void preGlobalEndRun(GlobalContext const &)
void preEvent(StreamContext const &)
std::string messageServicePSetValidatationResults_
void watchPostModuleEndJob(PostModuleEndJob::slot_type const &iSlot)
void preModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
void preStreamBeginRun(StreamContext const &)
void postModuleEndStream(StreamContext const &, ModuleCallingContext const &)
void watchPreModuleGlobalEndLumi(PreModuleGlobalEndLumi::slot_type const &iSlot)
void postModuleWriteLumi(GlobalContext const &, ModuleCallingContext const &)
void preModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
void watchPostBeginJob(PostBeginJob::slot_type const &iSlot)
convenience function for attaching to signal

Member Function Documentation

void MessageLogger::establish ( const char *  whichPhase)
private

Definition at line 518 of file MessageLogger.cc.

References anyDebugEnabled_, edm::MessageDrop::debugEnabled, debugEnabledModules_, edm::ELseverityLevel::ELsev_error, edm::ELseverityLevel::ELsev_fwkInfo, edm::ELseverityLevel::ELsev_info, edm::ELseverityLevel::ELsev_success, edm::ELseverityLevel::ELsev_warning, edm::MessageDrop::errorEnabled, everyDebugEnabled_, edm::MessageDrop::fwkInfoEnabled, edm::MessageDrop::infoEnabled, edm::MessageDrop::instance(), edm::MessageDrop::setSinglet(), suppression_levels_, and edm::MessageDrop::warningEnabled.

Referenced by preFile(), preFileClose(), preSourceEvent(), and preSourceRunLumi().

518  {
519  MessageDrop* messageDrop = MessageDrop::instance();
520  messageDrop->setSinglet(state); // Change Log 17
521  if (!anyDebugEnabled_) {
522  messageDrop->debugEnabled = false;
523  } else if (everyDebugEnabled_) {
524  messageDrop->debugEnabled = true;
525  } else {
526  messageDrop->debugEnabled = debugEnabledModules_.count(state); // change log 8
527  }
528  std::map<const std::string, ELseverityLevel>::const_iterator it =
529  suppression_levels_.find(state); // change log 8
530  if (it != suppression_levels_.end()) {
531  messageDrop->debugEnabled = messageDrop->debugEnabled && (it->second < ELseverityLevel::ELsev_success);
532  messageDrop->infoEnabled = (it->second < ELseverityLevel::ELsev_info);
533  messageDrop->fwkInfoEnabled = (it->second < ELseverityLevel::ELsev_fwkInfo);
534  messageDrop->warningEnabled = (it->second < ELseverityLevel::ELsev_warning);
535  messageDrop->errorEnabled = (it->second < ELseverityLevel::ELsev_error);
536  } else {
537  messageDrop->infoEnabled = true;
538  messageDrop->fwkInfoEnabled = true;
539  messageDrop->warningEnabled = true;
540  messageDrop->errorEnabled = true;
541  }
542  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::map< std::string, messagelogger::ELseverityLevel > suppression_levels_
std::set< std::string > debugEnabledModules_
void MessageLogger::establishModule ( const ModuleDescription desc,
const char *  whichPhase 
)
private

Definition at line 379 of file MessageLogger.cc.

References anyDebugEnabled_, edm::MessageDrop::debugEnabled, debugEnabledModules_, edm::ELseverityLevel::ELsev_error, edm::ELseverityLevel::ELsev_fwkInfo, edm::ELseverityLevel::ELsev_info, edm::ELseverityLevel::ELsev_success, edm::ELseverityLevel::ELsev_warning, edm::MessageDrop::errorEnabled, everyDebugEnabled_, edm::MessageDrop::fwkInfoEnabled, edm::ModuleDescription::id(), edm::MessageDrop::infoEnabled, edm::MessageDrop::instance(), edm::ModuleDescription::moduleLabel(), edm::ModuleDescription::moduleName(), edm::MessageDrop::setModuleWithPhase(), suppression_levels_, and edm::MessageDrop::warningEnabled.

Referenced by preModuleAccessInputProcessBlock(), preModuleBeginJob(), preModuleBeginProcessBlock(), preModuleBeginStream(), preModuleConstruction(), preModuleDestruction(), preModuleEndJob(), preModuleEndProcessBlock(), preModuleEndStream(), preModuleEvent(), preModuleEventAcquire(), preModuleGlobalBeginLumi(), preModuleGlobalBeginRun(), preModuleGlobalEndLumi(), preModuleGlobalEndRun(), preModuleStreamBeginLumi(), preModuleStreamBeginRun(), preModuleStreamEndLumi(), preModuleStreamEndRun(), preModuleWriteLumi(), preModuleWriteRun(), preSourceConstruction(), setThreadContext(), and unEstablishModule().

381  {
382  MessageDrop* messageDrop = MessageDrop::instance();
383 
384  // std::cerr << "establishModule( " << desc.moduleName() << ")\n";
385  // Change Log 17
386  messageDrop->setModuleWithPhase(desc.moduleName(), desc.moduleLabel(), desc.id(), whichPhase);
387  // Removed caching per change 17 - caching is now done in MessageDrop.cc
388  // in theContext() method, and only happens if a message is actually issued.
389 
390  if (!anyDebugEnabled_) {
391  messageDrop->debugEnabled = false;
392  } else if (everyDebugEnabled_) {
393  messageDrop->debugEnabled = true;
394  } else {
395  messageDrop->debugEnabled = debugEnabledModules_.count(desc.moduleLabel());
396  }
397 
398  auto it = suppression_levels_.find(desc.moduleLabel());
399  if (it != suppression_levels_.end()) {
400  messageDrop->debugEnabled = messageDrop->debugEnabled && (it->second < ELseverityLevel::ELsev_success);
401  messageDrop->infoEnabled = (it->second < ELseverityLevel::ELsev_info);
402  messageDrop->fwkInfoEnabled = (it->second < ELseverityLevel::ELsev_fwkInfo);
403  messageDrop->warningEnabled = (it->second < ELseverityLevel::ELsev_warning);
404  messageDrop->errorEnabled = (it->second < ELseverityLevel::ELsev_error);
405  } else {
406  messageDrop->infoEnabled = true;
407  messageDrop->fwkInfoEnabled = true;
408  messageDrop->warningEnabled = true;
409  messageDrop->errorEnabled = true;
410  }
411  } // establishModule
void setModuleWithPhase(std::string const &name, std::string const &label, unsigned int moduleID, const char *phase)
Definition: MessageDrop.cc:155
static MessageDrop * instance()
Definition: MessageDrop.cc:33
std::string const & moduleName() const
std::string const & moduleLabel() const
std::map< std::string, messagelogger::ELseverityLevel > suppression_levels_
std::set< std::string > debugEnabledModules_
unsigned int id() const
void MessageLogger::establishModule ( unsigned int  transitionIndex,
const ModuleCallingContext context,
const char *  whichPhase 
)
private

Definition at line 413 of file MessageLogger.cc.

References anyDebugEnabled_, edm::MessageDrop::debugEnabled, debugEnabledModules_, submitPVResolutionJobs::desc, edm::ELseverityLevel::ELsev_error, edm::ELseverityLevel::ELsev_fwkInfo, edm::ELseverityLevel::ELsev_info, edm::ELseverityLevel::ELsev_success, edm::ELseverityLevel::ELsev_warning, edm::MessageDrop::errorEnabled, everyDebugEnabled_, edm::MessageDrop::fwkInfoEnabled, edm::MessageDrop::infoEnabled, edm::MessageDrop::instance(), lumiInfoBegin_, SiStripPI::max, edm::ModuleCallingContext::moduleDescription(), edm::MessageDrop::runEvent, edm::MessageDrop::setModuleWithPhase(), edm::MessageDrop::streamID, suppression_levels_, transitionInfoCache_, and edm::MessageDrop::warningEnabled.

416  {
417  MessageDrop* messageDrop = MessageDrop::instance();
418 
419  // std::cerr << "establishModule( " << desc.moduleName() << ")\n";
420  // Change Log 17
421  auto const desc = mod.moduleDescription();
422  messageDrop->runEvent = transitionInfoCache_[transitionIndex].begin();
423  messageDrop->setModuleWithPhase(desc->moduleName(), desc->moduleLabel(), desc->id(), whichPhase);
424  messageDrop->streamID = transitionIndex;
425  if (transitionIndex >= lumiInfoBegin_) {
427  }
428  // Removed caching per change 17 - caching is now done in MessageDrop.cc
429  // in theContext() method, and only happens if a message is actually issued.
430 
431  if (!anyDebugEnabled_) {
432  messageDrop->debugEnabled = false;
433  } else if (everyDebugEnabled_) {
434  messageDrop->debugEnabled = true;
435  } else {
436  messageDrop->debugEnabled = debugEnabledModules_.count(desc->moduleLabel());
437  }
438 
439  auto it = suppression_levels_.find(desc->moduleLabel());
440  if (it != suppression_levels_.end()) {
441  messageDrop->debugEnabled = messageDrop->debugEnabled && (it->second < ELseverityLevel::ELsev_success);
442  messageDrop->infoEnabled = (it->second < ELseverityLevel::ELsev_info);
443  messageDrop->fwkInfoEnabled = (it->second < ELseverityLevel::ELsev_fwkInfo);
444  messageDrop->warningEnabled = (it->second < ELseverityLevel::ELsev_warning);
445  messageDrop->errorEnabled = (it->second < ELseverityLevel::ELsev_error);
446  } else {
447  messageDrop->infoEnabled = true;
448  messageDrop->fwkInfoEnabled = true;
449  messageDrop->warningEnabled = true;
450  messageDrop->errorEnabled = true;
451  }
452  } // establishModule
std::vector< std::array< char, 64 > > transitionInfoCache_
void setModuleWithPhase(std::string const &name, std::string const &label, unsigned int moduleID, const char *phase)
Definition: MessageDrop.cc:155
static MessageDrop * instance()
Definition: MessageDrop.cc:33
unsigned int streamID
Definition: MessageDrop.h:62
std::map< std::string, messagelogger::ELseverityLevel > suppression_levels_
std::set< std::string > debugEnabledModules_
std::string_view runEvent
Definition: MessageDrop.h:61
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::jobFailure ( )
private

Definition at line 976 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageLoggerQ::MLqSUM(), edm::MessageDrop::setSinglet(), and summarizeInJobReport().

Referenced by MessageLogger().

976  {
977  MessageDrop* messageDrop = MessageDrop::instance();
978  messageDrop->setSinglet("jobFailure");
979  summarizeInJobReport(); // Put summary info into Job Rep // change log 10
980  MessageLoggerQ::MLqSUM(); // trigger summary info. // change log 9
981  }
static void summarizeInJobReport()
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
static void MLqSUM()
void MessageLogger::postAccessInputProcessBlock ( GlobalContext const &  gc)
private

Definition at line 887 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

887  {
888  edm::MessageDrop::instance()->runEvent = "PostAccessInputProcessBlock";
889  edm::MessageDrop::instance()->setSinglet("PostAccessInputProcessBlock");
890  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::postBeginJob ( )
private

Definition at line 777 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

777  {
778  MessageDrop::instance()->runEvent = "BeforeEvents";
779  MessageDrop::instance()->setSinglet("AfterBeginJob"); // Change Log 17
780  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::postBeginProcessBlock ( GlobalContext const &  gc)
private

Definition at line 875 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

875  {
876  edm::MessageDrop::instance()->runEvent = "PostBeginProcessBlock";
877  edm::MessageDrop::instance()->setSinglet("PostBeginProcessBlock");
878  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::postEndJob ( )
private

Definition at line 971 of file MessageLogger.cc.

References edm::MessageLoggerQ::MLqSUM(), and summarizeInJobReport().

Referenced by MessageLogger().

971  {
972  summarizeInJobReport(); // Put summary info into Job Rep // change log 10
973  MessageLoggerQ::MLqSUM(); // trigger summary info. // change log 9
974  }
static void summarizeInJobReport()
static void MLqSUM()
void MessageLogger::postEndProcessBlock ( GlobalContext const &  gc)
private

Definition at line 899 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

899  {
900  edm::MessageDrop::instance()->runEvent = "PostEndProcessBlock";
901  edm::MessageDrop::instance()->setSinglet("PostEndProcessBlock");
902  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::postESModule ( eventsetup::EventSetupRecordKey const &  ,
ESModuleCallingContext const &   
)
private

Definition at line 769 of file MessageLogger.cc.

References edm::MessageDrop::instance(), and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

769  {
770  MessageDrop* messageDrop = MessageDrop::instance();
771  messageDrop->setSinglet("@finishedCallESModule"); // Change Log 17
772  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
void MessageLogger::postEvent ( StreamContext const &  iContext)
private

Definition at line 808 of file MessageLogger.cc.

References edm::clearLoggedErrorsSummary(), edm::MessageDrop::instance(), edm::MessageDrop::runEvent, edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by MessageLogger().

808  {
809  edm::MessageDrop::instance()->runEvent = "PostProcessEvent";
810  edm::clearLoggedErrorsSummary(iContext.streamID().value());
811  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void clearLoggedErrorsSummary(unsigned int iStreamID)
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::postFile ( std::string const &  )
private

Definition at line 795 of file MessageLogger.cc.

References unEstablish().

Referenced by MessageLogger().

795 { unEstablish("AfterFile"); }
void unEstablish(const char *whichPhase)
void MessageLogger::postGlobalBeginLumi ( GlobalContext const &  )
private

Definition at line 949 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

949  {
950  edm::MessageDrop::instance()->runEvent = "PostGlobalBeginLumi";
951  edm::MessageDrop::instance()->setSinglet("PostGlobalBeginLumi"); // changelog 17
952  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::postGlobalBeginRun ( GlobalContext const &  )
private

Definition at line 911 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

911  {
912  edm::MessageDrop::instance()->runEvent = "PostGlobalBeginRun";
913  edm::MessageDrop::instance()->setSinglet("PostGlobalBeginRun"); // changelog 17
914  // Note - module name had not been set here
915  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::postGlobalEndLumi ( GlobalContext const &  )
private

Definition at line 961 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

961  {
962  edm::MessageDrop::instance()->runEvent = "PostGlobalEndLumi";
963  edm::MessageDrop::instance()->setSinglet("PostGlobalEndLumi"); // changelog 17
964  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::postGlobalEndRun ( GlobalContext const &  )
private

Definition at line 936 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

936  {
937  edm::MessageDrop::instance()->runEvent = "PostGlobalEndRun";
938  edm::MessageDrop::instance()->setSinglet("PostGlobalEndRun"); // changelog 17
939  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::postModuleAccessInputProcessBlock ( GlobalContext const &  ,
ModuleCallingContext const &  mod 
)
private

Definition at line 673 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

673  {
674  unEstablishModule(mod, "AfterModAccessInputProcessBlock");
675  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleBeginJob ( ModuleDescription const &  iDescription)
private

Definition at line 575 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

575  {
576  unEstablishModule(iDescription, "AfterModBeginJob");
577  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::postModuleBeginProcessBlock ( GlobalContext const &  ,
ModuleCallingContext const &  mod 
)
private

Definition at line 663 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

663  {
664  unEstablishModule(mod, "AfterModBeginProcessBlock");
665  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleBeginStream ( StreamContext const &  stream,
ModuleCallingContext const &  mcc 
)
private

Definition at line 596 of file MessageLogger.cc.

References submitPVResolutionJobs::desc, edm::ModuleCallingContext::moduleDescription(), and unEstablishModule().

Referenced by MessageLogger().

596  {
597  ModuleDescription const& desc = *mcc.moduleDescription();
598  unEstablishModule(desc, "AfterModBeginStream");
599  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::postModuleConstruction ( ModuleDescription const &  iDescription)
private

Definition at line 562 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

562  {
563  unEstablishModule(iDescription, "AfterModConstruction");
564  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::postModuleDestruction ( ModuleDescription const &  iDescription)
private

Definition at line 568 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

568  {
569  unEstablishModule(iDescription, "AfterModDestruction");
570  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::postModuleEndJob ( ModuleDescription const &  iDescription)
private

Definition at line 754 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

754  {
755  unEstablishModule(iDescription, "AfterModEndJob");
756  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::postModuleEndProcessBlock ( GlobalContext const &  ,
ModuleCallingContext const &  mod 
)
private

Definition at line 683 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

683  {
684  unEstablishModule(mod, "AfterModEndProcessBlock");
685  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleEndStream ( StreamContext const &  ,
ModuleCallingContext const &  mcc 
)
private

Definition at line 746 of file MessageLogger.cc.

References submitPVResolutionJobs::desc, edm::ModuleCallingContext::moduleDescription(), and unEstablishModule().

Referenced by MessageLogger().

746  {
747  ModuleDescription const& desc = *mcc.moduleDescription();
748  unEstablishModule(desc, "AfterModEndStream");
749  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::postModuleEvent ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 624 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

624  {
625  unEstablishModule(mod, "PostModuleEvent");
626  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleEventAcquire ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 633 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

633  {
634  unEstablishModule(mod, "PostModuleEventAcquire");
635  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleGlobalBeginLumi ( GlobalContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 701 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

701  {
702  unEstablishModule(mod, "AfterModGlobalBeginLumi");
703  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleGlobalBeginRun ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 692 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

692  {
693  unEstablishModule(mod, "AfterModGlobalBeginRun");
694  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleGlobalEndLumi ( GlobalContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 710 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

710  {
711  unEstablishModule(mod, "AfterModGlobalEndLumi");
712  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleGlobalEndRun ( GlobalContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 728 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

728  {
729  unEstablishModule(mod, "AfterModGlobalEndRun");
730  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleStreamBeginLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 615 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

615  {
616  unEstablishModule(mod, "AfterModStreamBeginLumi");
617  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleStreamBeginRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 606 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

606  {
607  unEstablishModule(mod, "AfterModStreamBeginRun");
608  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleStreamEndLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 642 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

642  {
643  unEstablishModule(mod, "AfterModStreamEndLumi");
644  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleStreamEndRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 651 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

651  {
652  unEstablishModule(mod, "AfterModStreamEndRun");
653  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleWriteLumi ( GlobalContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 719 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

719  {
720  unEstablishModule(mod, "AfterModWriteLumi");
721  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postModuleWriteRun ( GlobalContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 737 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

737  {
738  unEstablishModule(mod, "AfterModWriteRun");
739  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::postPathEvent ( StreamContext const &  ,
PathContext const &  ,
HLTPathStatus const &   
)
private

Definition at line 925 of file MessageLogger.cc.

References edm::MessageDrop::instance(), and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

925  {
926  edm::MessageDrop::instance()->setSinglet("PostProcessPath"); // changelog 17
927  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
void MessageLogger::postSourceConstruction ( ModuleDescription const &  iDescription)
private

Definition at line 588 of file MessageLogger.cc.

References unEstablishModule().

Referenced by MessageLogger().

588  {
589  unEstablishModule(iDescription, "AfterSourceConstruction");
590  }
void unEstablishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::postSourceEvent ( StreamID  )
private

Definition at line 786 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and unEstablish().

Referenced by MessageLogger().

786  {
787  unEstablish("AfterSource");
788  MessageDrop::instance()->runEvent = "AfterSource";
789  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void unEstablish(const char *whichPhase)
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::postSourceRunLumi ( )
private

Definition at line 791 of file MessageLogger.cc.

References unEstablish().

Referenced by MessageLogger().

791 { unEstablish("AfterSource"); }
void unEstablish(const char *whichPhase)
void MessageLogger::postStreamBeginLumi ( StreamContext const &  )
private

Definition at line 849 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

849  {
850  edm::MessageDrop::instance()->runEvent = "PostStreamBeginLumi";
851  edm::MessageDrop::instance()->setSinglet("PostStreamBeginLumi"); // changelog 17
852  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::postStreamBeginRun ( StreamContext const &  )
private

Definition at line 821 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

821  {
822  edm::MessageDrop::instance()->runEvent = "PostStreamBeginRun";
823  edm::MessageDrop::instance()->setSinglet("PostStreamBeginRun"); // changelog 17
824  // Note - module name had not been set here
825  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::postStreamEndLumi ( StreamContext const &  )
private

Definition at line 863 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

863  {
864  edm::MessageDrop::instance()->runEvent = "PostStreamEndLumi";
865  edm::MessageDrop::instance()->setSinglet("PostStreamEndLumi"); // changelog 17
866  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::postStreamEndRun ( StreamContext const &  )
private

Definition at line 835 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

835  {
836  edm::MessageDrop::instance()->runEvent = "PostStreamEndRun";
837  edm::MessageDrop::instance()->setSinglet("PostStreaEndRun"); // changelog 17
838  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::preAccessInputProcessBlock ( GlobalContext const &  gc)
private

Definition at line 880 of file MessageLogger.cc.

References edm::MessageDrop::instance(), processBlockInfoBegin_, edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), transitionInfoCache_, and findQualityFiles::v.

Referenced by MessageLogger().

880  {
882  auto v = fill_buffer(buffer, "pre-events");
884  edm::MessageDrop::instance()->setSinglet("PreAccessInputProcessBlock");
885  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
unsigned int processBlockInfoBegin_
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::preBeginProcessBlock ( GlobalContext const &  gc)
private

Definition at line 868 of file MessageLogger.cc.

References edm::MessageDrop::instance(), processBlockInfoBegin_, edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), transitionInfoCache_, and findQualityFiles::v.

Referenced by MessageLogger().

868  {
870  auto v = fill_buffer(buffer, "pre-events");
872  edm::MessageDrop::instance()->setSinglet("PreBeginProcessBlock");
873  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
unsigned int processBlockInfoBegin_
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::preEndJob ( )
private

Definition at line 966 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageDrop::runEvent, and edm::MessageDrop::setSinglet().

Referenced by MessageLogger().

966  {
967  edm::MessageDrop::instance()->runEvent = "EndJob";
968  edm::MessageDrop::instance()->setSinglet("EndJob"); // changelog
969  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::preEndProcessBlock ( GlobalContext const &  gc)
private

Definition at line 892 of file MessageLogger.cc.

References edm::MessageDrop::instance(), processBlockInfoBegin_, edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), transitionInfoCache_, and findQualityFiles::v.

Referenced by MessageLogger().

892  {
894  auto v = fill_buffer(buffer, "post-events");
896  edm::MessageDrop::instance()->setSinglet("PreEndProcessBlock");
897  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
unsigned int processBlockInfoBegin_
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::preESModule ( eventsetup::EventSetupRecordKey const &  ,
ESModuleCallingContext const &  context 
)
private

Definition at line 758 of file MessageLogger.cc.

References edm::ESModuleCallingContext::componentDescription(), submitPVResolutionJobs::desc, edm::MessageDrop::instance(), label, or, and edm::MessageDrop::setModuleWithPhase().

Referenced by MessageLogger().

758  {
759  MessageDrop* messageDrop = MessageDrop::instance();
760  auto desc = context.componentDescription();
761  // std::cerr << "establishModule( " << desc.moduleName() << ")\n";
762  // Change Log 17
763  auto label = &desc->label_;
764  if (label->empty() or (*label)[0] == '\0') {
765  label = &desc->type_;
766  }
767  messageDrop->setModuleWithPhase(desc->type_, *label, desc->id_, "@callESModule");
768  }
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
void setModuleWithPhase(std::string const &name, std::string const &label, unsigned int moduleID, const char *phase)
Definition: MessageDrop.cc:155
static MessageDrop * instance()
Definition: MessageDrop.cc:33
char const * label
void MessageLogger::preEvent ( StreamContext const &  iContext)
private

Definition at line 797 of file MessageLogger.cc.

References cms::cuda::assert(), edmPickEvents::event, edm::StreamContext::eventID(), edm::MessageDrop::instance(), submitPVValidationJobs::run, edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), edm::StreamContext::streamID(), transitionInfoCache_, findQualityFiles::v, and edm::StreamID::value().

Referenced by MessageLogger().

797  {
798  assert(iContext.streamID().value() < transitionInfoCache_.size());
799  auto& buffer = transitionInfoCache_[iContext.streamID().value()];
800  auto const& id = iContext.eventID();
801  auto v = fill_buffer(buffer, "Run: ", id.run(), " Event: ", id.event());
803  edm::MessageDrop::instance()->setSinglet("PreEventProcessing"); // changelog 17
804  // Note - module name had not been set here Similarly in other places where
805  // RunEvent carries the new information; we add setSinglet for module name.
806  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:33
assert(be >=bs)
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::preFile ( std::string const &  )
private

Definition at line 793 of file MessageLogger.cc.

References establish().

Referenced by MessageLogger().

793 { establish("file_open"); }
void establish(const char *whichPhase)
void MessageLogger::preFileClose ( std::string const &  )
private

Definition at line 794 of file MessageLogger.cc.

References establish().

Referenced by MessageLogger().

794 { establish("file_close"); }
void establish(const char *whichPhase)
void MessageLogger::preGlobalBeginLumi ( GlobalContext const &  iContext)
private

Definition at line 941 of file MessageLogger.cc.

References edm::MessageDrop::instance(), lumiInfoBegin_, edm::GlobalContext::luminosityBlockID(), edm::GlobalContext::luminosityBlockIndex(), submitPVValidationJobs::run, edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), transitionInfoCache_, and findQualityFiles::v.

Referenced by MessageLogger().

941  {
942  auto& buffer = transitionInfoCache_[lumiInfoBegin_ + iContext.luminosityBlockIndex()];
943  auto const& id = iContext.luminosityBlockID();
944  auto v = fill_buffer(buffer, "Run: ", id.run(), " Lumi: ", id.luminosityBlock());
946  edm::MessageDrop::instance()->setSinglet("PreGlobalBeginLumi"); // changelog 17
947  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::preGlobalBeginRun ( GlobalContext const &  iContext)
private

Definition at line 904 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::GlobalContext::luminosityBlockID(), edm::LuminosityBlockID::run(), edm::MessageDrop::runEvent, edm::GlobalContext::runIndex(), runInfoBegin_, edm::MessageDrop::setSinglet(), transitionInfoCache_, and findQualityFiles::v.

Referenced by MessageLogger().

905  {
906  auto& buffer = transitionInfoCache_[runInfoBegin_ + iContext.runIndex()];
907  auto v = fill_buffer(buffer, "Run: ", iContext.luminosityBlockID().run());
909  edm::MessageDrop::instance()->setSinglet("PreGlobalBeginRun"); // changelog 17
910  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::preGlobalEndLumi ( GlobalContext const &  iContext)
private

Definition at line 954 of file MessageLogger.cc.

References edm::MessageDrop::instance(), lumiInfoBegin_, edm::GlobalContext::luminosityBlockID(), edm::GlobalContext::luminosityBlockIndex(), submitPVValidationJobs::run, edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), transitionInfoCache_, and findQualityFiles::v.

Referenced by MessageLogger().

954  {
955  auto& buffer = transitionInfoCache_[lumiInfoBegin_ + iContext.luminosityBlockIndex()];
956  auto const& id = iContext.luminosityBlockID();
957  auto v = fill_buffer(buffer, "Run: ", id.run(), " Lumi: ", id.luminosityBlock());
959  edm::MessageDrop::instance()->setSinglet("PreGlobalEndLumi"); // changelog 17
960  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::preGlobalEndRun ( GlobalContext const &  iContext)
private

Definition at line 929 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::GlobalContext::luminosityBlockID(), edm::LuminosityBlockID::run(), edm::MessageDrop::runEvent, edm::GlobalContext::runIndex(), runInfoBegin_, edm::MessageDrop::setSinglet(), transitionInfoCache_, and findQualityFiles::v.

Referenced by MessageLogger().

929  {
930  auto& buffer = transitionInfoCache_[runInfoBegin_ + iContext.runIndex()];
931  auto v = fill_buffer(buffer, "End Run: ", iContext.luminosityBlockID().run());
933  edm::MessageDrop::instance()->setSinglet("PreGlobalEndRun"); // changelog 17
934  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::preModuleAccessInputProcessBlock ( GlobalContext const &  ,
ModuleCallingContext const &  mod 
)
private

Definition at line 667 of file MessageLogger.cc.

References establishModule(), edm::GlobalContext::kAccessInputProcessBlock, and processBlockInfoBegin_.

Referenced by MessageLogger().

667  {
669  mod,
670  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kAccessInputProcessBlock)]);
671  }
unsigned int processBlockInfoBegin_
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleBeginJob ( ModuleDescription const &  desc)
private

Definition at line 572 of file MessageLogger.cc.

References establishModule().

Referenced by MessageLogger().

572  {
573  establishModule(desc, "@beginJob"); // ChangeLog 13
574  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::preModuleBeginProcessBlock ( GlobalContext const &  ,
ModuleCallingContext const &  mod 
)
private

Definition at line 657 of file MessageLogger.cc.

References establishModule(), edm::GlobalContext::kBeginProcessBlock, and processBlockInfoBegin_.

Referenced by MessageLogger().

657  {
659  mod,
660  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kBeginProcessBlock)]);
661  }
unsigned int processBlockInfoBegin_
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleBeginStream ( StreamContext const &  stream,
ModuleCallingContext const &  mcc 
)
private

Definition at line 592 of file MessageLogger.cc.

References submitPVResolutionJobs::desc, establishModule(), and edm::ModuleCallingContext::moduleDescription().

Referenced by MessageLogger().

592  {
593  ModuleDescription const& desc = *mcc.moduleDescription();
594  establishModule(desc, "@beginStream"); // ChangeLog 13
595  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::preModuleConstruction ( ModuleDescription const &  desc)
private

Definition at line 552 of file MessageLogger.cc.

References edm::errors::Configuration, establishModule(), messageServicePSetHasBeenValidated_, and messageServicePSetValidatationResults_.

Referenced by MessageLogger().

552  {
553  if (!messageServicePSetHasBeenValidated_) { // change log 12
556  }
558  }
559  establishModule(desc, "@ctor"); // ChangeLog 16
560  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
std::string messageServicePSetValidatationResults_
void MessageLogger::preModuleDestruction ( ModuleDescription const &  desc)
private

Definition at line 566 of file MessageLogger.cc.

References establishModule().

Referenced by MessageLogger().

566 { establishModule(desc, "@dtor"); }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::preModuleEndJob ( ModuleDescription const &  desc)
private

Definition at line 751 of file MessageLogger.cc.

References establishModule().

Referenced by MessageLogger().

751  {
752  establishModule(desc, "@endJob"); // ChangeLog 13
753  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::preModuleEndProcessBlock ( GlobalContext const &  ,
ModuleCallingContext const &  mod 
)
private

Definition at line 677 of file MessageLogger.cc.

References establishModule(), edm::GlobalContext::kEndProcessBlock, and processBlockInfoBegin_.

Referenced by MessageLogger().

677  {
679  mod,
680  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kEndProcessBlock)]);
681  }
unsigned int processBlockInfoBegin_
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleEndStream ( StreamContext const &  ,
ModuleCallingContext const &  mcc 
)
private

Definition at line 741 of file MessageLogger.cc.

References submitPVResolutionJobs::desc, establishModule(), and edm::ModuleCallingContext::moduleDescription().

Referenced by MessageLogger().

741  {
742  ModuleDescription const& desc = *mcc.moduleDescription();
743  establishModule(desc, "@endStream"); // ChangeLog 13
744  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
void MessageLogger::preModuleEvent ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 619 of file MessageLogger.cc.

References establishModule(), edm::StreamContext::kEvent, mod(), edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by MessageLogger().

619  {
621  stream.streamID().value(), mod, s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kEvent)]);
622  }
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleEventAcquire ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 628 of file MessageLogger.cc.

References establishModule(), edm::StreamContext::kEvent, mod(), edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by MessageLogger().

628  {
630  stream.streamID().value(), mod, s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kEvent)]);
631  }
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleGlobalBeginLumi ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 696 of file MessageLogger.cc.

References establishModule(), edm::GlobalContext::kBeginLuminosityBlock, lumiInfoBegin_, edm::GlobalContext::luminosityBlockIndex(), mod(), and edm::LuminosityBlockIndex::value().

Referenced by MessageLogger().

696  {
697  establishModule(lumiInfoBegin_ + context.luminosityBlockIndex().value(),
698  mod,
699  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kBeginLuminosityBlock)]);
700  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleGlobalBeginRun ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 687 of file MessageLogger.cc.

References establishModule(), edm::GlobalContext::kBeginRun, mod(), edm::GlobalContext::runIndex(), runInfoBegin_, and edm::RunIndex::value().

Referenced by MessageLogger().

687  {
688  establishModule(runInfoBegin_ + context.runIndex().value(),
689  mod,
690  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kBeginRun)]);
691  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleGlobalEndLumi ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 705 of file MessageLogger.cc.

References establishModule(), edm::GlobalContext::kEndLuminosityBlock, lumiInfoBegin_, edm::GlobalContext::luminosityBlockIndex(), mod(), and edm::LuminosityBlockIndex::value().

Referenced by MessageLogger().

705  {
706  establishModule(lumiInfoBegin_ + context.luminosityBlockIndex().value(),
707  mod,
708  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kEndLuminosityBlock)]);
709  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleGlobalEndRun ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 723 of file MessageLogger.cc.

References establishModule(), edm::GlobalContext::kEndRun, mod(), edm::GlobalContext::runIndex(), runInfoBegin_, and edm::RunIndex::value().

Referenced by MessageLogger().

723  {
724  establishModule(runInfoBegin_ + context.runIndex().value(),
725  mod,
726  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kEndRun)]); // ChangeLog 13
727  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleStreamBeginLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 610 of file MessageLogger.cc.

References establishModule(), edm::StreamContext::kBeginLuminosityBlock, mod(), edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by MessageLogger().

610  {
611  establishModule(stream.streamID().value(),
612  mod,
613  s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kBeginLuminosityBlock)]);
614  }
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleStreamBeginRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 601 of file MessageLogger.cc.

References establishModule(), edm::StreamContext::kBeginRun, mod(), edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by MessageLogger().

601  {
602  establishModule(stream.streamID().value(),
603  mod,
604  s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kBeginRun)]);
605  }
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleStreamEndLumi ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 637 of file MessageLogger.cc.

References establishModule(), edm::StreamContext::kEndLuminosityBlock, mod(), edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by MessageLogger().

637  {
638  establishModule(stream.streamID().value(),
639  mod,
640  s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kEndLuminosityBlock)]);
641  }
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleStreamEndRun ( StreamContext const &  stream,
ModuleCallingContext const &  mod 
)
private

Definition at line 646 of file MessageLogger.cc.

References establishModule(), edm::StreamContext::kEndRun, mod(), edm::StreamContext::streamID(), and edm::StreamID::value().

Referenced by MessageLogger().

646  {
647  establishModule(stream.streamID().value(),
648  mod,
649  s_streamTransitionNames[static_cast<int>(StreamContext::Transition::kEndRun)]); // ChangeLog 13
650  }
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleWriteLumi ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 714 of file MessageLogger.cc.

References establishModule(), edm::GlobalContext::kWriteLuminosityBlock, lumiInfoBegin_, edm::GlobalContext::luminosityBlockIndex(), mod(), and edm::LuminosityBlockIndex::value().

Referenced by MessageLogger().

714  {
715  establishModule(lumiInfoBegin_ + context.luminosityBlockIndex().value(),
716  mod,
717  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kWriteLuminosityBlock)]);
718  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::preModuleWriteRun ( GlobalContext const &  context,
ModuleCallingContext const &  mod 
)
private

Definition at line 732 of file MessageLogger.cc.

References establishModule(), edm::GlobalContext::kWriteRun, mod(), edm::GlobalContext::runIndex(), runInfoBegin_, and edm::RunIndex::value().

Referenced by MessageLogger().

732  {
733  establishModule(runInfoBegin_ + context.runIndex().value(),
734  mod,
735  s_globalTransitionNames[static_cast<int>(GlobalContext::Transition::kWriteRun)]);
736  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
void MessageLogger::prePathEvent ( StreamContext const &  stream,
PathContext const &  iPath 
)
private

Definition at line 917 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::PathContext::pathName(), edm::StreamContext::streamID(), transitionInfoCache_, and edm::StreamID::value().

Referenced by MessageLogger().

918  {
919  auto messageDrop = edm::MessageDrop::instance();
920  messageDrop->runEvent = transitionInfoCache_[stream.streamID().value()].begin();
921  messageDrop->setPath("PreProcPath ", iPath.pathName());
922  // change log 17
923  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:33
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
void MessageLogger::preSourceConstruction ( ModuleDescription const &  desc)
private

Definition at line 579 of file MessageLogger.cc.

References edm::errors::Configuration, establishModule(), messageServicePSetHasBeenValidated_, and messageServicePSetValidatationResults_.

Referenced by MessageLogger().

579  {
580  if (!messageServicePSetHasBeenValidated_) { // change log 12
583  }
585  }
586  establishModule(desc, "@sourceConstruction"); // ChangeLog 16
587  }
void establishModule(const ModuleDescription &desc, const char *whichPhase)
std::string messageServicePSetValidatationResults_
void MessageLogger::preSourceEvent ( StreamID  )
private

Definition at line 782 of file MessageLogger.cc.

References establish(), edm::MessageDrop::instance(), and edm::MessageDrop::runEvent.

Referenced by MessageLogger().

782  {
783  establish("source");
784  MessageDrop::instance()->runEvent = "PreSource";
785  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void establish(const char *whichPhase)
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::preSourceRunLumi ( )
private

Definition at line 790 of file MessageLogger.cc.

References establish().

Referenced by MessageLogger().

790 { establish("source"); }
void establish(const char *whichPhase)
void MessageLogger::preStreamBeginLumi ( StreamContext const &  iContext)
private

Definition at line 840 of file MessageLogger.cc.

References edm::StreamContext::eventID(), edm::MessageDrop::instance(), submitPVValidationJobs::run, edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), edm::StreamContext::streamID(), transitionInfoCache_, findQualityFiles::v, and edm::StreamID::value().

Referenced by MessageLogger().

840  {
841  auto& buffer = transitionInfoCache_[iContext.streamID().value()];
842  auto const& id = iContext.eventID();
843  auto v = fill_buffer(
844  buffer, "Run: ", id.run(), " Lumi: ", id.luminosityBlock(), " Stream: ", iContext.streamID().value());
846  edm::MessageDrop::instance()->setSinglet("PreStreamBeginLumi"); // changelog 17
847  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::preStreamBeginRun ( StreamContext const &  iContext)
private

Definition at line 813 of file MessageLogger.cc.

References edm::StreamContext::eventID(), edm::MessageDrop::instance(), edm::EventID::run(), edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), edm::StreamContext::streamID(), transitionInfoCache_, findQualityFiles::v, and edm::StreamID::value().

Referenced by MessageLogger().

814  {
815  auto& buffer = transitionInfoCache_[iContext.streamID().value()];
816  auto v = fill_buffer(buffer, "Run: ", iContext.eventID().run(), " Stream: ", iContext.streamID().value());
817 
819  edm::MessageDrop::instance()->setSinglet("PreStreamBeginRun"); // changelog 17
820  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::preStreamEndLumi ( StreamContext const &  iContext)
private

Definition at line 854 of file MessageLogger.cc.

References edm::StreamContext::eventID(), edm::MessageDrop::instance(), submitPVValidationJobs::run, edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), edm::StreamContext::streamID(), transitionInfoCache_, findQualityFiles::v, and edm::StreamID::value().

Referenced by MessageLogger().

854  {
855  auto& buffer = transitionInfoCache_[iContext.streamID().value()];
856  auto const& id = iContext.eventID();
857  auto v = fill_buffer(
858  buffer, "Run: ", id.run(), " Lumi: ", id.luminosityBlock(), " Stream: ", iContext.streamID().value());
859 
861  edm::MessageDrop::instance()->setSinglet("PreStreamEndLumi"); // changelog 17
862  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::preStreamEndRun ( StreamContext const &  iContext)
private

Definition at line 827 of file MessageLogger.cc.

References edm::StreamContext::eventID(), edm::MessageDrop::instance(), edm::EventID::run(), edm::MessageDrop::runEvent, edm::MessageDrop::setSinglet(), edm::StreamContext::streamID(), transitionInfoCache_, findQualityFiles::v, and edm::StreamID::value().

Referenced by MessageLogger().

827  {
828  auto& buffer = transitionInfoCache_[iContext.streamID().value()];
829  auto v = fill_buffer(buffer, "End Run: ", iContext.eventID().run(), " Stream: ", iContext.streamID().value());
830 
832  edm::MessageDrop::instance()->setSinglet("PreStreamEndRun"); // changelog 17
833  }
std::vector< std::array< char, 64 > > transitionInfoCache_
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::setThreadContext ( ModuleCallingContext const &  iModContext)
finalvirtual

Implements edm::MessageLogger.

Definition at line 339 of file MessageLogger.cc.

References cms::cuda::assert(), edm::MessageDrop::debugEnabled, edm::MessageDrop::errorEnabled, establishModule(), edm::ModuleCallingContext::getGlobalContext(), edm::ModuleCallingContext::getStreamContext(), edm::ModuleCallingContext::getTopModuleCallingContext(), edm::MessageDrop::infoEnabled, edm::MessageDrop::instance(), edm::GlobalContext::kAccessInputProcessBlock, edm::GlobalContext::kBeginLuminosityBlock, edm::GlobalContext::kBeginProcessBlock, edm::GlobalContext::kBeginRun, edm::GlobalContext::kEndLuminosityBlock, edm::GlobalContext::kEndProcessBlock, edm::GlobalContext::kEndRun, edm::ParentContext::kGlobal, lumiInfoBegin_, SiStripPI::max, nonModule_debugEnabled, nonModule_errorEnabled, nonModule_infoEnabled, nonModule_warningEnabled, or, processBlockInfoBegin_, edm::MessageDrop::runEvent, runInfoBegin_, edm::MessageDrop::setSinglet(), cms::cuda::stream, edm::MessageDrop::streamID, edm::GlobalContext::transition(), and edm::MessageDrop::warningEnabled.

339  {
340  //need to know if we are in a global or stream context
341  auto top = iModContext.getTopModuleCallingContext();
342  assert(nullptr != top);
343  if (ParentContext::Type::kGlobal == top->type()) {
344  auto globalContext = iModContext.getGlobalContext();
345  auto tran = globalContext->transition();
348  establishModule(lumiInfoBegin_ + globalContext->luminosityBlockIndex(),
349  iModContext,
350  s_globalTransitionNames[static_cast<int>(tran)]);
353  runInfoBegin_ + globalContext->runIndex(), iModContext, s_globalTransitionNames[static_cast<int>(tran)]);
357  establishModule(processBlockInfoBegin_, iModContext, s_globalTransitionNames[static_cast<int>(tran)]);
358  } else {
359  MessageDrop* messageDrop = MessageDrop::instance();
361  messageDrop->setSinglet("unknown context");
363  messageDrop->debugEnabled = nonModule_debugEnabled;
364  messageDrop->infoEnabled = nonModule_infoEnabled;
366  messageDrop->errorEnabled = nonModule_errorEnabled;
367  }
368  } else {
369  auto stream = iModContext.getStreamContext();
371  stream->streamID().value(), iModContext, s_streamTransitionNames[static_cast<int>(stream->transition())]);
372  }
373  }
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
static MessageDrop * instance()
Definition: MessageDrop.cc:33
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
assert(be >=bs)
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
unsigned int streamID
Definition: MessageDrop.h:62
unsigned int processBlockInfoBegin_
void establishModule(const ModuleDescription &desc, const char *whichPhase)
std::string_view runEvent
Definition: MessageDrop.h:61
void MessageLogger::summarizeInJobReport ( )
staticprivate

Definition at line 987 of file MessageLogger.cc.

References fjrSummaryRequested_, edm::MessageLoggerQ::MLqJRS(), and edm::JobReport::reportMessageInfo().

Referenced by jobFailure(), and postEndJob().

987  {
988  if (fjrSummaryRequested_) {
989  std::map<std::string, double>* smp = new std::map<std::string, double>();
991  Service<JobReport> reportSvc;
992  reportSvc->reportMessageInfo(*smp);
993  delete smp;
994  }
995  }
static void MLqJRS(std::map< std::string, double > *sum_p)
void reportMessageInfo(std::map< std::string, double > const &messageData)
Definition: JobReport.cc:556
void MessageLogger::unEstablish ( const char *  whichPhase)
private

Definition at line 544 of file MessageLogger.cc.

References edm::MessageDrop::instance(), and edm::MessageDrop::setSinglet().

Referenced by postFile(), postSourceEvent(), and postSourceRunLumi().

544  {
545  MessageDrop::instance()->setSinglet(state); // Change Log 17
546  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
void MessageLogger::unEstablishModule ( const ModuleDescription desc,
const char *  whichPhase 
)
private

Definition at line 454 of file MessageLogger.cc.

References edm::MessageDrop::debugEnabled, edm::MessageDrop::errorEnabled, edm::MessageDrop::infoEnabled, edm::MessageDrop::instance(), nonModule_debugEnabled, nonModule_errorEnabled, nonModule_infoEnabled, nonModule_warningEnabled, edm::MessageDrop::setSinglet(), and edm::MessageDrop::warningEnabled.

Referenced by postModuleAccessInputProcessBlock(), postModuleBeginJob(), postModuleBeginProcessBlock(), postModuleBeginStream(), postModuleConstruction(), postModuleDestruction(), postModuleEndJob(), postModuleEndProcessBlock(), postModuleEndStream(), postModuleEvent(), postModuleEventAcquire(), postModuleGlobalBeginLumi(), postModuleGlobalBeginRun(), postModuleGlobalEndLumi(), postModuleGlobalEndRun(), postModuleStreamBeginLumi(), postModuleStreamBeginRun(), postModuleStreamEndLumi(), postModuleStreamEndRun(), postModuleWriteLumi(), postModuleWriteRun(), and postSourceConstruction().

454  {
455  // std::cerr << "unestablishModule( " << desc.moduleName() << ") "
456  // << "state = " << *state << "\n";
457 
458  MessageDrop* messageDrop = MessageDrop::instance();
459  messageDrop->setSinglet(state); // Change Log 17
460  messageDrop->debugEnabled = nonModule_debugEnabled;
461  messageDrop->infoEnabled = nonModule_infoEnabled;
463  messageDrop->errorEnabled = nonModule_errorEnabled; // change log 20
464  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
void MessageLogger::unEstablishModule ( const ModuleCallingContext desc,
const char *  whichPhase 
)
private

Definition at line 466 of file MessageLogger.cc.

References cms::cuda::assert(), edm::MessageDrop::debugEnabled, edm::MessageDrop::errorEnabled, establishModule(), edm::MessageDrop::infoEnabled, edm::MessageDrop::instance(), edm::GlobalContext::kAccessInputProcessBlock, edm::GlobalContext::kBeginLuminosityBlock, edm::GlobalContext::kBeginProcessBlock, edm::GlobalContext::kBeginRun, edm::GlobalContext::kEndLuminosityBlock, edm::GlobalContext::kEndProcessBlock, edm::GlobalContext::kEndRun, edm::ParentContext::kGlobal, lumiInfoBegin_, SiStripPI::max, nonModule_debugEnabled, nonModule_errorEnabled, nonModule_infoEnabled, nonModule_warningEnabled, or, callgraph::previous, edm::ModuleCallingContext::previousModuleOnThread(), processBlockInfoBegin_, edm::MessageDrop::runEvent, runInfoBegin_, edm::MessageDrop::setSinglet(), cms::cuda::stream, edm::MessageDrop::streamID, and edm::MessageDrop::warningEnabled.

466  {
467  //Need to reset to what was previously being used on this thread
468  auto previous = mod.previousModuleOnThread();
469  if (previous) {
470  //need to know if we are in a global or stream context
471  auto top = previous->getTopModuleCallingContext();
472  assert(nullptr != top);
473  if (ParentContext::Type::kGlobal == top->type()) {
474  auto globalContext = top->globalContext();
475  assert(nullptr != globalContext);
476  auto tran = globalContext->transition();
479  establishModule(lumiInfoBegin_ + globalContext->luminosityBlockIndex(),
480  *previous,
481  s_globalTransitionNames[static_cast<int>(tran)]);
484  runInfoBegin_ + globalContext->runIndex(), *previous, s_globalTransitionNames[static_cast<int>(tran)]);
488  establishModule(processBlockInfoBegin_, *previous, s_globalTransitionNames[static_cast<int>(tran)]);
489  } else {
490  MessageDrop* messageDrop = MessageDrop::instance();
492  messageDrop->setSinglet("unknown context");
494  messageDrop->debugEnabled = nonModule_debugEnabled;
495  messageDrop->infoEnabled = nonModule_infoEnabled;
497  messageDrop->errorEnabled = nonModule_errorEnabled;
498  }
499  } else {
500  auto stream = previous->getStreamContext();
502  stream->streamID().value(), *previous, s_streamTransitionNames[static_cast<int>(stream->transition())]);
503  }
504  } else {
505  MessageDrop* messageDrop = MessageDrop::instance();
507  messageDrop->setSinglet(state); // Change Log 17
508  messageDrop->debugEnabled = nonModule_debugEnabled;
509  messageDrop->infoEnabled = nonModule_infoEnabled;
511  messageDrop->errorEnabled = nonModule_errorEnabled; // change log 20
512  }
513 
514  // std::cerr << "unestablishModule( " << desc.moduleName() << ") "
515  // << "state = " << *state << "\n";
516  }
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
static MessageDrop * instance()
Definition: MessageDrop.cc:33
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
assert(be >=bs)
void setSinglet(const char *sing)
Definition: MessageDrop.cc:168
tuple previous
Definition: callgraph.py:103
unsigned int streamID
Definition: MessageDrop.h:62
unsigned int processBlockInfoBegin_
void establishModule(const ModuleDescription &desc, const char *whichPhase)
std::string_view runEvent
Definition: MessageDrop.h:61
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4

Member Data Documentation

bool MessageLogger::anyDebugEnabled_ = false
staticprivate

Definition at line 181 of file MessageLogger.h.

Referenced by establish(), establishModule(), and MessageLogger().

bool edm::service::MessageLogger::debugEnabled_
private

Definition at line 180 of file MessageLogger.h.

std::set<std::string> edm::service::MessageLogger::debugEnabledModules_
private

Definition at line 178 of file MessageLogger.h.

Referenced by establish(), establishModule(), and MessageLogger().

bool MessageLogger::everyDebugEnabled_ = false
staticprivate

Definition at line 182 of file MessageLogger.h.

Referenced by establish(), establishModule(), and MessageLogger().

bool MessageLogger::fjrSummaryRequested_ = false
staticprivate

Definition at line 184 of file MessageLogger.h.

Referenced by MessageLogger(), and summarizeInJobReport().

unsigned int edm::service::MessageLogger::lumiInfoBegin_ = 0
private
bool edm::service::MessageLogger::messageServicePSetHasBeenValidated_
private

Definition at line 185 of file MessageLogger.h.

Referenced by preModuleConstruction(), and preSourceConstruction().

std::string edm::service::MessageLogger::messageServicePSetValidatationResults_
private

Definition at line 186 of file MessageLogger.h.

Referenced by MessageLogger(), preModuleConstruction(), and preSourceConstruction().

bool edm::service::MessageLogger::nonModule_debugEnabled
private

Definition at line 188 of file MessageLogger.h.

Referenced by MessageLogger(), setThreadContext(), and unEstablishModule().

bool edm::service::MessageLogger::nonModule_errorEnabled
private

Definition at line 191 of file MessageLogger.h.

Referenced by MessageLogger(), setThreadContext(), and unEstablishModule().

bool edm::service::MessageLogger::nonModule_infoEnabled
private

Definition at line 189 of file MessageLogger.h.

Referenced by MessageLogger(), setThreadContext(), and unEstablishModule().

bool edm::service::MessageLogger::nonModule_warningEnabled
private

Definition at line 190 of file MessageLogger.h.

Referenced by MessageLogger(), setThreadContext(), and unEstablishModule().

unsigned int edm::service::MessageLogger::processBlockInfoBegin_ = 0
private
unsigned int edm::service::MessageLogger::runInfoBegin_ = 0
private
std::map<std::string, messagelogger::ELseverityLevel> edm::service::MessageLogger::suppression_levels_
private

Definition at line 179 of file MessageLogger.h.

Referenced by establish(), establishModule(), and MessageLogger().

std::vector<std::array<char, 64> > edm::service::MessageLogger::transitionInfoCache_
private