|
|
Go to the documentation of this file.
56 actionExecutor_{pSet},
58 createSummary_{configPar_.getUntrackedParameter<
bool>(
"CreateSummary",
false)},
59 createTkInfoFile_{configPar_.getUntrackedParameter<
bool>(
"CreateTkInfoFile",
false)},
60 inputFileName_{configPar_.getUntrackedParameter<
std::string>(
"InputFileName",
"")},
61 outputFileName_{configPar_.getUntrackedParameter<
std::string>(
"OutputFileName",
"")},
62 globalStatusFilling_{configPar_.getUntrackedParameter<
int>(
"GlobalStatusFilling", 1)},
63 printFaultyModuleList_{configPar_.getUntrackedParameter<
bool>(
"PrintFaultyModuleList",
false)} {
64 if (createTkInfoFile_) {
66 ->
make<TTree>(
"TkDetIdInfo",
"");
71 consumes<DQMToken, edm::InRun>(
edm::InputTag(
"siStripQTester",
"DQMGenerationQTestRun"));
72 consumes<DQMToken, edm::InLumi>(
edm::InputTag(
"siStripQTester",
"DQMGenerationQTestLumi"));
73 usesResource(
"DQMStore");
74 produces<DQMToken, edm::Transition::EndRun>(
"DQMGenerationSiStripAnalyserRun");
75 produces<DQMToken, edm::Transition::EndLuminosityBlock>(
"DQMGenerationSiStripAnalyserLumi");
83 edm::LogInfo(
"ReadConfigurationProblem") <<
"SiStripOfflineDQM:: Error to read configuration file!! Summary "
84 "will not be produced!!!";
88 edm::LogInfo(
"BeginJobDone") <<
"SiStripOfflineDQM::beginJob done";
92 edm::LogInfo(
"BeginRun") <<
"SiStripOfflineDQM:: Begining of Run";
97 runInfoRec->get(sumFED);
102 for (
auto const fedID : sumFED->
m_fed_in) {
103 if (fedID >= siStripFedIdMin && fedID <= siStripFedIdMax)
122 edm::LogInfo(
"EndLumiBlock") <<
"SiStripOfflineDQM::endLuminosityBlock";
132 edm::LogInfo(
"EndOfRun") <<
"SiStripOfflineDQM::endRun";
161 std::vector<std::string> map_names;
162 for (
auto const& ps : tkMapOptions) {
165 map_names.push_back(map_type);
178 edm::LogInfo(
"EndOfJob") <<
"SiStripOfflineDQM::endJob";
183 std::ostringstream str_val;
void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override
SiStripActionExecutor actionExecutor_
void fillStatusAtLumi(DQMStore &dqm_store)
const bool createTkInfoFile_
bool openInputFile(DQMStore &dqm_store)
void createTkInfoFile(std::vector< std::string > tkhmap_names, TTree *tkinfo_tree, DQMStore &dqm_store)
void augment(ParameterSet const &from)
std::vector< int > m_fed_in
T getUntrackedParameter(std::string const &, T const &) const
void createSummaryOffline(DQMStore &dqm_store)
Log< level::Info, false > LogInfo
void printFaultyModuleList(DQMStore &dqm_store, std::ostringstream &str_val)
void fillStatus(DQMStore &dqm_store, edm::ESHandle< SiStripDetCabling > const &fedcabling, edm::EventSetup const &eSetup)
SiStripOfflineDQM(edm::ParameterSet const &ps)
std::optional< T > tryToGet() const
#define DEFINE_FWK_MODULE(type)
bool usedWithEDMtoMEConverter_
void createOfflineTkMap(const edm::ParameterSet &tkmapPset, DQMStore &dqm_store, std::string &map_type, const edm::EventSetup &eSetup)
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &iSetup) override
void createStatus(DQMStore &dqm_store)
bool printFaultyModuleList_
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
const std::string inputFileName_
bool readTkMapConfiguration(const edm::EventSetup &eSetup)
DQM_DEPRECATED bool open(std::string const &filename, bool overwrite=false, std::string const &path="", std::string const &prepend="", OpenRunDirs stripdirs=KeepRunDirs, bool fileMustExist=true)
const edm::ParameterSet configPar_
void produce(edm::Event &e, edm::EventSetup const &eSetup) override
T * make(const Args &... args) const
make new ROOT object