50 : actionExecutor_{pSet},
52 createSummary_{pSet.getUntrackedParameter<
bool>(
"CreateSummary",
false)},
53 createTkMap_{pSet.getUntrackedParameter<
bool>(
"CreateTkMap",
false)},
54 createTkInfoFile_{pSet.getUntrackedParameter<
bool>(
"CreateTkInfoFile",
false)},
55 inputFileName_{pSet.getUntrackedParameter<
std::string>(
"InputFileName",
"")},
56 outputFileName_{pSet.getUntrackedParameter<
std::string>(
"OutputFileName",
"")},
57 globalStatusFilling_{pSet.getUntrackedParameter<
int>(
"GlobalStatusFilling", 1)},
58 printFaultyModuleList_{pSet.getUntrackedParameter<
bool>(
"PrintFaultyModuleList",
false)},
59 detCablingToken_{globalStatusFilling_ > 0 || createTkMap_
60 ? decltype(detCablingToken_){esConsumes<edm::Transition::EndRun>()}
61 : decltype(detCablingToken_){}},
62 tTopoToken_{globalStatusFilling_ > 0 || createTkMap_
63 ? decltype(tTopoToken_){esConsumes<edm::Transition::EndRun>()}
64 : decltype(tTopoToken_){}},
65 tkDetMapToken_{globalStatusFilling_ > 0 || createTkMap_
66 ? decltype(tkDetMapToken_){esConsumes<edm::Transition::EndRun>()}
67 : decltype(tkDetMapToken_){}},
68 geomDetToken_{createTkMap_ && createTkInfoFile_ ? decltype(geomDetToken_){esConsumes<edm::Transition::EndRun>()}
69 : decltype(geomDetToken_){}},
70 runInfoToken_{esConsumes<edm::Transition::BeginRun>()} {
73 for (
const auto& ps : pSet.getUntrackedParameter<std::vector<edm::ParameterSet>>(
"TkMapOptions")) {
78 auto token = useSSQ ? QualityToken{esConsumes<edm::Transition::EndRun>(
85 if (createTkInfoFile_) {
90 consumes<DQMToken, edm::InRun>(
edm::InputTag(
"siStripQTester",
"DQMGenerationQTestRun"));
91 consumes<DQMToken, edm::InLumi>(
edm::InputTag(
"siStripQTester",
"DQMGenerationQTestLumi"));
92 usesResource(
"DQMStore");
93 produces<DQMToken, edm::Transition::EndRun>(
"DQMGenerationSiStripAnalyserRun");
94 produces<DQMToken, edm::Transition::EndLuminosityBlock>(
"DQMGenerationSiStripAnalyserLumi");
102 edm::LogInfo(
"ReadConfigurationProblem") <<
"SiStripOfflineDQM:: Error to read configuration file!! Summary "
103 "will not be produced!!!";
107 edm::LogInfo(
"BeginJobDone") <<
"SiStripOfflineDQM::beginJob done";
111 edm::LogInfo(
"BeginRun") <<
"SiStripOfflineDQM:: Begining of Run";
119 for (
auto const fedID : sumFED->m_fed_in) {
120 if (fedID >= siStripFedIdMin && fedID <= siStripFedIdMax)
139 edm::LogInfo(
"EndLumiBlock") <<
"SiStripOfflineDQM::endLuminosityBlock";
149 edm::LogInfo(
"EndOfRun") <<
"SiStripOfflineDQM::endRun";
174 std::vector<std::string> mapNames;
179 mapOptions.pset, dqm_store, map_type, mapOptions.useSSQ ? &eSetup.
getData(mapOptions.token) :
nullptr);
180 mapNames.push_back(map_type);
190 edm::LogInfo(
"EndOfJob") <<
"SiStripOfflineDQM::endJob";
195 std::ostringstream str_val;