49 : actionExecutor_{pSet},
51 createSummary_{pSet.getUntrackedParameter<
bool>(
"CreateSummary",
false)},
52 createTkMap_{pSet.getUntrackedParameter<
bool>(
"CreateTkMap",
false)},
53 createTkInfoFile_{pSet.getUntrackedParameter<
bool>(
"CreateTkInfoFile",
false)},
54 inputFileName_{pSet.getUntrackedParameter<
std::string>(
"InputFileName",
"")},
55 outputFileName_{pSet.getUntrackedParameter<
std::string>(
"OutputFileName",
"")},
56 globalStatusFilling_{pSet.getUntrackedParameter<
int>(
"GlobalStatusFilling", 1)},
57 printFaultyModuleList_{pSet.getUntrackedParameter<
bool>(
"PrintFaultyModuleList",
false)},
58 detCablingToken_{globalStatusFilling_ > 0 || createTkMap_
59 ? decltype(detCablingToken_){esConsumes<edm::Transition::EndRun>()}
60 : decltype(detCablingToken_){}},
61 tTopoToken_{globalStatusFilling_ > 0 || createTkMap_
62 ? decltype(tTopoToken_){esConsumes<edm::Transition::EndRun>()}
63 : decltype(tTopoToken_){}},
64 tkDetMapToken_{globalStatusFilling_ > 0 || createTkMap_
65 ? decltype(tkDetMapToken_){esConsumes<edm::Transition::EndRun>()}
66 : decltype(tkDetMapToken_){}},
67 geomDetToken_{createTkMap_ && createTkInfoFile_ ? decltype(geomDetToken_){esConsumes<edm::Transition::EndRun>()}
68 : decltype(geomDetToken_){}},
69 runInfoToken_{esConsumes<edm::Transition::BeginRun>()} {
72 for (
const auto& ps : pSet.getUntrackedParameter<std::vector<edm::ParameterSet>>(
"TkMapOptions")) {
77 auto token = useSSQ ? QualityToken{esConsumes<edm::Transition::EndRun>(
84 if (createTkInfoFile_) {
86 ->
make<TTree>(
"TkDetIdInfo",
"");
91 consumes<DQMToken, edm::InRun>(
edm::InputTag(
"siStripQTester",
"DQMGenerationQTestRun"));
92 consumes<DQMToken, edm::InLumi>(
edm::InputTag(
"siStripQTester",
"DQMGenerationQTestLumi"));
93 usesResource(
"DQMStore");
94 produces<DQMToken, edm::Transition::EndRun>(
"DQMGenerationSiStripAnalyserRun");
95 produces<DQMToken, edm::Transition::EndLuminosityBlock>(
"DQMGenerationSiStripAnalyserLumi");
103 edm::LogInfo(
"ReadConfigurationProblem") <<
"SiStripOfflineDQM:: Error to read configuration file!! Summary "
104 "will not be produced!!!";
108 edm::LogInfo(
"BeginJobDone") <<
"SiStripOfflineDQM::beginJob done";
112 edm::LogInfo(
"BeginRun") <<
"SiStripOfflineDQM:: Begining of Run";
120 for (
auto const fedID : sumFED->m_fed_in) {
121 if (fedID >= siStripFedIdMin && fedID <= siStripFedIdMax)
140 edm::LogInfo(
"EndLumiBlock") <<
"SiStripOfflineDQM::endLuminosityBlock";
150 edm::LogInfo(
"EndOfRun") <<
"SiStripOfflineDQM::endRun";
175 std::vector<std::string> mapNames;
180 mapOptions.pset, dqm_store, map_type, mapOptions.useSSQ ? &eSetup.
getData(mapOptions.token) :
nullptr);
181 mapNames.push_back(map_type);
191 edm::LogInfo(
"EndOfJob") <<
"SiStripOfflineDQM::endJob";
196 std::ostringstream str_val;