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;
110 if (isUpdated && !lFirstEvent){
111 edm::LogError(
"SpyExtractRunModule") <<
" -- Run number changed for event : " << aEvt.
id().
event()
112 <<
" (id().run() = " << aEvt.
id().
run()
134 std::ofstream lOutFile;
136 if (!lOutFile.is_open()) {
137 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.