Go to the documentation of this file.
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;
FEDBufferStatusCode preconstructCheckFEDSpyBuffer(const FEDRawData &fedBuffer)
static const std::string input
Constants and enumerated types for FED/FEC systems.
#define DEFINE_FWK_MODULE(type)
void writeRunInFile(const unsigned int aRunNumber)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
sistrip::SpyIdentifyRunsModule SiStripSpyIdentifyRuns
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
void analyze(const edm::Event &, const edm::EventSetup &) override
SpyIdentifyRunsModule(const edm::ParameterSet &)
edm::EDGetTokenT< FEDRawDataCollection > srcToken_
~SpyIdentifyRunsModule() override