46 const bool updateRun(
const uint32_t aRun);
74 : fileName_(iConfig.getParameter<
std::
string>(
"OutputTextFile")),
75 runTag_(iConfig.getParameter<
edm::
InputTag>(
"RunNumberTag")),
91 static bool lFirstEvent =
true;
97 if (isUpdated && !lFirstEvent) {
99 <<
" -- Run number changed for event : " << aEvt.
id().
event() <<
" (id().run() = " << aEvt.
id().
run()
114 std::ofstream lOutFile;
116 if (!lOutFile.is_open()) {
118 <<
" -- Cannot open file : " <<
fileName_ <<
" for writting run number " <<
currentRun_ << std::endl;
126 <<
" -- Number of times the run number changed in this job = " <<
errCounter_
#define DEFINE_FWK_MODULE(type)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Log< level::Error, false > LogError
Log< level::Info, false > LogInfo
Constants and enumerated types for FED/FEC systems.
Log< level::Warning, false > LogWarning
EventNumber_t event() const