46 virtual void endJob()
override;
49 const bool updateRun(
const uint32_t aRun);
78 : fileName_(iConfig.getParameter<std::
string>(
"OutputTextFile")),
79 runTag_(iConfig.getParameter<edm::InputTag>(
"RunNumberTag")),
103 static bool lFirstEvent =
true;
109 if (isUpdated && !lFirstEvent){
110 edm::LogError(
"SpyExtractRunModule") <<
" -- Run number changed for event : " << aEvt.
id().
event()
111 <<
" (id().run() = " << aEvt.
id().
run()
133 std::ofstream lOutFile;
135 if (!lOutFile.is_open()) {
136 edm::LogError(
"SiStripSpyExtractRun") <<
" -- Cannot open file : " <<
fileName_ <<
" for writting run number "
EventNumber_t event() const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
Constants and enumerated types for FED/FEC systems.