40 staticUpdateFrequency_{ps.getUntrackedParameter<
int>(
"StaticUpdateFrequency", 1)},
41 globalStatusFilling_{ps.getUntrackedParameter<
int>(
"GlobalStatusFilling", 1)},
42 shiftReportFrequency_{ps.getUntrackedParameter<
int>(
"ShiftReportFrequency", 1)},
43 rawDataToken_{consumes<FEDRawDataCollection>(ps.getUntrackedParameter<
edm::InputTag>(
"RawDataTag"))},
44 detCablingToken_(esConsumes<edm::Transition::BeginRun>()),
46 tTopoTokenELB_(esConsumes<edm::Transition::EndLuminosityBlock>()),
47 tTopoTokenBR_(esConsumes<edm::Transition::BeginRun>()),
49 tkDetMapTokenELB_(esConsumes<edm::Transition::EndLuminosityBlock>()),
50 tkDetMapTokenBR_(esConsumes<edm::Transition::BeginRun>()),
51 printFaultyModuleList_{ps.getUntrackedParameter<
bool>(
"PrintFaultyModuleList",
true)} {
52 std::string const localPath{
"DQM/SiStripMonitorClient/test/loader.html"};
56 <<
" could not be opened!" << std::endl;
59 edm::LogInfo(
"SiStripAnalyser") <<
" SiStripAnalyser::Creating SiStripAnalyser ";
67 edm::LogInfo(
"SiStripAnalyser") <<
"SiStripAnalyser:: Error to read configuration file!! Summary will " 73 edm::LogInfo(
"SiStripAnalyser") <<
"SiStripAnalyser:: Begining of Run";
77 edm::LogInfo(
"SiStripAnalyser") <<
"SiStripAnalyser::beginRun: " 78 <<
" Change in Cabling, recrated TrackerMap";
82 edm::LogInfo(
"SiStripAnalyser") <<
"SiStripAnalyser:: Error to read configuration file!! TrackerMap " 83 "will not be produced!!!";
94 edm::LogInfo(
"SiStripAnalyser") <<
"SiStripAnalyser:: Begin of LS transition";
114 edm::LogInfo(
"SiStripAnalyser") <<
"SiStripAnalyser:: End of LS transition, " 115 "performing the DQM client operation";
124 std::cout <<
"====================================================== " << std::endl;
126 std::cout <<
"====================================================== " << std::endl;
136 std::cout <<
" Creating Summary " << std::endl;
143 edm::LogInfo(
"SiStripAnalyser") <<
"SiStripAnalyser:: End of Run";
147 edm::LogInfo(
"SiStripAnalyser") <<
"SiStripAnalyser:: endjob called!";
149 std::ostringstream str_val;
162 auto const& rawDataCollection = *rawDataHandle;
166 for (
int i = siStripFedIdMin;
i <= siStripFedIdMax; ++
i) {
167 auto const& fedData = rawDataCollection.FEDData(
i);
168 if (fedData.size() && fedData.data()) {
SiStripClassToMonitorCondData condDataMon_
void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override
edm::ESWatcher< SiStripFedCablingRcd > fedCablingWatcher_
void beginRun(edm::RunNumber_t iRun, edm::EventSetup const &eSetup)
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoTokenBR_
std::string fullPath() const
#define DEFINE_FWK_MODULE(type)
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
void createSummary(DQMStore &dqm_store)
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoTokenELB_
edm::EDGetTokenT< FEDRawDataCollection > rawDataToken_
~SiStripAnalyser() override
void createDummyShiftReport()
T getUntrackedParameter(std::string const &, T const &) const
SiStripActionExecutor actionExecutor_
edm::ESGetToken< TkDetMap, TrackerTopologyRcd > tkDetMapTokenBR_
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
bool printFaultyModuleList_
edm::ESGetToken< TkDetMap, TrackerTopologyRcd > tkDetMapTokenELB_
bool getData(T &iHolder) const
void fillStatus(DQMStore &dqm_store, const SiStripDetCabling *cabling, const TkDetMap *tkDetMap, const TrackerTopology *tTopo)
edm::ESGetToken< TkDetMap, TrackerTopologyRcd > tkDetMapToken_
Log< level::Info, false > LogInfo
void printFaultyModuleList(DQMStore &dqm_store, std::ostringstream &str_val)
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
const SiStripDetCabling * detCabling_
edm::ESGetToken< SiStripDetCabling, SiStripDetCablingRcd > detCablingToken_
void createStatus(DQMStore &dqm_store)
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &eSetup) override
bool check(const edm::EventSetup &iSetup)
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &eSetup) override
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
int shiftReportFrequency_
SiStripAnalyser(const edm::ParameterSet &ps)
bool readTkMapConfiguration(const SiStripDetCabling *detCabling, const TkDetMap *tkDetMap, const TrackerTopology *tTopo)
void createShiftReport(DQMStore &dqm_store)
LuminosityBlockNumber_t luminosityBlock() const
void checkTrackerFEDs(edm::Event const &e)