25 : verbose_(iPS.getUntrackedParameter<
bool>(
"verbose")) {
47 desc.addUntracked<
bool>(
"verbose",
false)->setComment(
"Prints LogAbsolute messages if true");
48 descriptions.
add(
"TestServiceTwo",
desc);
53 edm::LogAbsolute(
"TestServiceTwo") <<
"test message from TestServiceTwo::preBeginProcessBlock";
59 edm::LogAbsolute(
"TestServiceTwo") <<
"test message from TestServiceTwo::preEndProcessBlock";
65 edm::LogAbsolute(
"TestServiceTwo") <<
"test message from TestServiceTwo::preGlobalBeginRun";
71 edm::LogAbsolute(
"TestServiceTwo") <<
"test message from TestServiceTwo::preGlobalEndRun";
77 edm::LogAbsolute(
"TestServiceTwo") <<
"test message from TestServiceTwo::preGlobalBeginLumi";
83 edm::LogAbsolute(
"TestServiceTwo") <<
"test message from TestServiceTwo::preGlobalEndLumi";
90 edm::LogAbsolute(
"TestServiceTwo") <<
"test message from TestServiceTwo::preStreamBeginLumi";
97 edm::LogAbsolute(
"TestServiceTwo") <<
"test message from TestServiceTwo::postStreamBeginLumi";
104 edm::LogAbsolute(
"TestServiceTwo") <<
"test message from TestServiceTwo::preStreamEndLumi";
111 edm::LogAbsolute(
"TestServiceTwo") <<
"test message from TestServiceTwo::postStreamEndLumi";
118 edm::LogAbsolute(
"TestServiceTwo") <<
"test message from TestServiceTwo::preModuleStreamBeginLumi";
125 edm::LogAbsolute(
"TestServiceTwo") <<
"test message from TestServiceTwo::postModuleStreamBeginLumi";
132 edm::LogAbsolute(
"TestServiceTwo") <<
"test message from TestServiceTwo::preModuleStreamEndLumi";
139 edm::LogAbsolute(
"TestServiceTwo") <<
"test message from TestServiceTwo::postModuleStreamEndLumi";
void preStreamBeginLumi(edm::StreamContext const &)
void preStreamEndLumi(edm::StreamContext const &)
void preGlobalBeginLumi(edm::GlobalContext const &)
unsigned int nPreStreamBeginLumi() const
std::atomic< unsigned int > nPreStreamBeginLumi_
unsigned int nPreModuleStreamBeginLumi() const
void preEndProcessBlock(edm::GlobalContext const &)
void preGlobalBeginRun(edm::GlobalContext const &)
std::atomic< unsigned int > nPostStreamEndLumi_
std::atomic< unsigned int > nPostModuleStreamBeginLumi_
void watchPreGlobalEndLumi(PreGlobalEndLumi::slot_type const &iSlot)
std::atomic< unsigned int > nPreStreamEndLumi_
unsigned int nPostStreamBeginLumi() const
void watchPostStreamEndLumi(PostStreamEndLumi::slot_type const &iSlot)
void watchPreGlobalBeginLumi(PreGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamEndLumi(PostModuleStreamEndLumi::slot_type const &iSlot)
void postStreamBeginLumi(edm::StreamContext const &)
void watchPreBeginProcessBlock(PreBeginProcessBlock::slot_type const &iSlot)
void preGlobalEndRun(edm::GlobalContext const &)
std::atomic< unsigned int > nPreModuleStreamEndLumi_
void watchPreEndProcessBlock(PreEndProcessBlock::slot_type const &iSlot)
void watchPreStreamEndLumi(PreStreamEndLumi::slot_type const &iSlot)
std::atomic< unsigned int > nPostModuleStreamEndLumi_
TestServiceTwo(const edm::ParameterSet &, edm::ActivityRegistry &)
void watchPreGlobalEndRun(PreGlobalEndRun::slot_type const &iSlot)
void watchPostStreamBeginLumi(PostStreamBeginLumi::slot_type const &iSlot)
void postModuleStreamEndLumi(edm::StreamContext const &, edm::ModuleCallingContext const &)
unsigned int nPreStreamEndLumi() const
void preModuleStreamBeginLumi(edm::StreamContext const &, edm::ModuleCallingContext const &)
std::atomic< unsigned int > nPreModuleStreamBeginLumi_
void preModuleStreamEndLumi(edm::StreamContext const &, edm::ModuleCallingContext const &)
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
void watchPreModuleStreamBeginLumi(PreModuleStreamBeginLumi::slot_type const &iSlot)
#define DEFINE_FWK_SERVICE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &)
unsigned int nPostModuleStreamEndLumi() const
void watchPostModuleStreamBeginLumi(PostModuleStreamBeginLumi::slot_type const &iSlot)
void watchPreModuleStreamEndLumi(PreModuleStreamEndLumi::slot_type const &iSlot)
unsigned int nPostStreamEndLumi() const
void watchPreStreamBeginLumi(PreStreamBeginLumi::slot_type const &iSlot)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void preBeginProcessBlock(edm::GlobalContext const &)
unsigned int nPreModuleStreamEndLumi() const
void postModuleStreamBeginLumi(edm::StreamContext const &, edm::ModuleCallingContext const &)
Log< level::System, true > LogAbsolute
void preGlobalEndLumi(edm::GlobalContext const &)
void postStreamEndLumi(edm::StreamContext const &)
std::atomic< unsigned int > nPostStreamBeginLumi_
unsigned int nPostModuleStreamBeginLumi() const