70 : fileName_(iConfig.getParameter<
std::
string>(
"OutputTextFile")),
71 srcTag_(iConfig.getParameter<
edm::
InputTag>(
"InputProductLabel")),
82 <<
" -- Cannot open file : " <<
fileName_ <<
" for writting." << std::endl;
83 edm::LogInfo(
"SiStripSpyIdentifyRuns") <<
" *** SPY RUNS *** " << std::endl;
86 outFile_ <<
" *** SPY RUNS *** " << std::endl;
93 uint32_t lRunNum = aEvt.
id().
run();
111 <<
"Exception caught when creating FEDSpyBuffer object for FED " << iFed <<
": " 112 <<
"An exception of category 'FEDBuffer' occurred.\n" 118 edm::LogWarning(
"SiStripSpyIdentifyRuns") <<
" -- this is a spy file, run " << lRunNum << std::endl;
128 edm::LogInfo(
"SiStripSpyIdentifyRuns") << aRunNumber << std::endl;
130 outFile_ << aRunNumber << std::endl;
edm::EDGetTokenT< FEDRawDataCollection > srcToken_
FEDBufferStatusCode preconstructCheckFEDSpyBuffer(const FEDRawData &fedBuffer)
void writeRunInFile(const unsigned int aRunNumber)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Log< level::Error, false > LogError
void analyze(const edm::Event &, const edm::EventSetup &) override
static std::string const input
#define DEFINE_FWK_MODULE(type)
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
~SpyIdentifyRunsModule() override
Log< level::Info, false > LogInfo
Constants and enumerated types for FED/FEC systems.
sistrip::SpyIdentifyRunsModule SiStripSpyIdentifyRuns
SpyIdentifyRunsModule(const edm::ParameterSet &)
Log< level::Warning, false > LogWarning