83 if(createTkInfoFile_) {
110 edm::LogInfo (
"ReadConfigurationProblem") <<
"SiStripOfflineDQM:: Error to read configuration file!! Summary will not be produced!!!";
114 edm::LogInfo(
"BeginJobDone") <<
"SiStripOfflineDQM::beginJob done";
126 edm::LogInfo (
"BeginRun") <<
"SiStripOfflineDQM:: Begining of Run";
130 if( eSetup.
find( recordKey ) !=
nullptr) {
139 std::vector<int> FedsInIds= sumFED->
m_fed_in;
140 for(
unsigned int it = 0; it < FedsInIds.size(); ++it) {
141 int fedID = FedsInIds[it];
143 if(fedID>=siStripFedIdMin && fedID<=siStripFedIdMax) ++nFEDs;
175 edm::LogInfo(
"EndLumiBlock") <<
"SiStripOfflineDQM::endLuminosityBlock";
188 edm::LogInfo(
"EndOfRun") <<
"SiStripOfflineDQM::endRun";
215 std::vector<std::string> map_names;
217 for(std::vector<edm::ParameterSet>::iterator it = tkMapOptions.begin(); it != tkMapOptions.end(); ++it) {
220 map_names.push_back(map_type);
240 edm::LogInfo(
"EndOfJob") <<
"SiStripOfflineDQM::endJob";
243 std::ostringstream str_val;
T getUntrackedParameter(std::string const &, T const &) const
SiStripActionExecutor * actionExecutor_
void createOfflineTkMap(const edm::ParameterSet &tkmapPset, DQMStore *dqm_store, std::string &map_type, const edm::EventSetup &eSetup)
SiStripOfflineDQM(const edm::ParameterSet &ps)
Constructor.
#define DEFINE_FWK_MODULE(type)
void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override
EndRun.
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
Analyze.
void fillStatus(DQMStore *dqm_store, const edm::ESHandle< SiStripDetCabling > &fedcabling, const edm::EventSetup &eSetup)
static HCTypeTag findType(char const *iTypeName)
find a type based on the types name, if not found will return default HCTypeTag
T * make(const Args &...args) const
make new ROOT object
std::string outputFileName_
bool readTkMapConfiguration(const edm::EventSetup &eSetup)
void createStatus(DQMStore *dqm_store)
bool printFaultyModuleList_
const eventsetup::EventSetupRecord * find(const eventsetup::EventSetupRecordKey &) const
void augment(ParameterSet const &from)
std::vector< int > m_fed_in
std::string inputFileName_
void endJob() override
Endjob.
void fillStatusAtLumi(DQMStore *dqm_store)
bool usedWithEDMtoMEConverter_
~SiStripOfflineDQM() override
Destructor.
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &iSetup) override
End Of Luminosity.
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
BeginRun.
void beginJob() override
BeginJob.
bool openInputFile()
Open Input File.
void createTkInfoFile(std::vector< std::string > tkhmap_names, TTree *tkinfo_tree, DQMStore *dqm_store)
void createSummaryOffline(DQMStore *dqm_store)
bool open(const std::string &filename, bool overwrite=false, const std::string &path="", const std::string &prepend="", OpenRunDirs stripdirs=KeepRunDirs, bool fileMustExist=true)
void printFaultyModuleList(DQMStore *dqm_store, std::ostringstream &str_val)
edm::ParameterSet configPar_