File indexing completed on 2024-04-06 12:07:31
0001 #ifndef DQM_HcalTasks_TPRunSummary_h
0002 #define DQM_HcalTasks_TPRunSummary_h
0003
0004 #include "DQM/HcalCommon/interface/DQClient.h"
0005 #include "DQM/HcalCommon/interface/ElectronicsMap.h"
0006
0007 namespace hcaldqm {
0008 class TPRunSummary : public DQClient {
0009 public:
0010 TPRunSummary(std::string const &, std::string const &, edm::ParameterSet const &, edm::ConsumesCollector &iC);
0011 ~TPRunSummary() override {}
0012
0013 void beginRun(edm::Run const &, edm::EventSetup const &) override;
0014 void endLuminosityBlock(DQMStore::IBooker &,
0015 DQMStore::IGetter &,
0016 edm::LuminosityBlock const &,
0017 edm::EventSetup const &) override;
0018 std::vector<flag::Flag> endJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
0019
0020 protected:
0021 ContainerSingle2D _cEtMsmFraction_depthlike;
0022 ContainerSingle2D _cFGMsmFraction_depthlike;
0023
0024 double _thresh_FGMsmRate_high, _thresh_FGMsmRate_low;
0025 double _thresh_EtMsmRate_high, _thresh_EtMsmRate_low;
0026
0027 enum TPFlag { fEtMsm = 0, fFGMsm = 1, nTPFlag = 3 };
0028 };
0029 }
0030
0031 #endif