|
|
Go to the documentation of this file.
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()) {
bool check(const edm::EventSetup &iSetup)
void beginRun(edm::RunNumber_t iRun, edm::EventSetup const &eSetup)
edm::ESGetToken< SiStripDetCabling, SiStripDetCablingRcd > detCablingToken_
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoTokenELB_
const SiStripDetCabling * detCabling_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoTokenBR_
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &eSetup) override
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
T getUntrackedParameter(std::string const &, T const &) const
Log< level::Info, false > LogInfo
~SiStripAnalyser() override
void checkTrackerFEDs(edm::Event const &e)
void printFaultyModuleList(DQMStore &dqm_store, std::ostringstream &str_val)
edm::ESGetToken< TkDetMap, TrackerTopologyRcd > tkDetMapToken_
void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override
edm::ESWatcher< SiStripFedCablingRcd > fedCablingWatcher_
#define DEFINE_FWK_MODULE(type)
LuminosityBlockNumber_t luminosityBlock() const
void createShiftReport(DQMStore &dqm_store)
bool readTkMapConfiguration(const SiStripDetCabling *detCabling, const TkDetMap *tkDetMap, const TrackerTopology *tTopo)
SiStripClassToMonitorCondData condDataMon_
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
void createStatus(DQMStore &dqm_store)
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &eSetup) override
bool getData(T &iHolder) const
void fillStatus(DQMStore &dqm_store, const SiStripDetCabling *cabling, const TkDetMap *tkDetMap, const TrackerTopology *tTopo)
void createDummyShiftReport()
bool printFaultyModuleList_
SiStripAnalyser(const edm::ParameterSet &ps)
edm::ESGetToken< TkDetMap, TrackerTopologyRcd > tkDetMapTokenELB_
SiStripActionExecutor actionExecutor_
void createSummary(DQMStore &dqm_store)
edm::ESGetToken< TkDetMap, TrackerTopologyRcd > tkDetMapTokenBR_
edm::EDGetTokenT< FEDRawDataCollection > rawDataToken_
std::string fullPath() const
int shiftReportFrequency_