File indexing completed on 2024-04-06 12:07:31
0001 #ifndef DQM_HcalTasks_NoCQTask_h
0002 #define DQM_HcalTasks_NoCQTask_h
0003
0004 #include "DQM/HcalCommon/interface/DQTask.h"
0005 #include "DQM/HcalCommon/interface/Utilities.h"
0006 #include "DQM/HcalCommon/interface/HashFilter.h"
0007 #include "DQM/HcalCommon/interface/ElectronicsMap.h"
0008 #include "DQM/HcalCommon/interface/Container1D.h"
0009 #include "DQM/HcalCommon/interface/Container2D.h"
0010 #include "DQM/HcalCommon/interface/ContainerProf1D.h"
0011 #include "DQM/HcalCommon/interface/ContainerProf2D.h"
0012 #include "DQM/HcalCommon/interface/ContainerSingle1D.h"
0013 #include "DQM/HcalCommon/interface/ContainerSingle2D.h"
0014 #include "DQM/HcalCommon/interface/ContainerSingleProf2D.h"
0015 #include "DQM/HcalCommon/interface/ContainerXXX.h"
0016
0017 class NoCQTask : public hcaldqm::DQTask {
0018 public:
0019 NoCQTask(edm::ParameterSet const &);
0020 ~NoCQTask() override {}
0021
0022 void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
0023 std::shared_ptr<hcaldqm::Cache> globalBeginLuminosityBlock(edm::LuminosityBlock const &,
0024 edm::EventSetup const &) const override;
0025 void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override;
0026
0027 protected:
0028 void _process(edm::Event const &, edm::EventSetup const &) override;
0029 void _resetMonitors(hcaldqm::UpdateFreq) override;
0030
0031 edm::InputTag _tagHBHE;
0032 edm::InputTag _tagHO;
0033 edm::InputTag _tagHF;
0034 edm::InputTag _tagReport;
0035 edm::EDGetTokenT<HBHEDigiCollection> _tokHBHE;
0036 edm::EDGetTokenT<HODigiCollection> _tokHO;
0037 edm::EDGetTokenT<HFDigiCollection> _tokHF;
0038 edm::EDGetTokenT<HcalUnpackerReport> _tokReport;
0039 edm::ESGetToken<HcalDbService, HcalDbRecord> hcalDbServiceToken_;
0040
0041 double _cutSumQ_HBHE, _cutSumQ_HO, _cutSumQ_HF;
0042
0043 hcaldqm::electronicsmap::ElectronicsMap _ehashmap;
0044
0045 hcaldqm::ContainerProf2D _cTimingCut_depth;
0046 hcaldqm::Container2D _cOccupancy_depth;
0047 hcaldqm::Container2D _cOccupancyCut_depth;
0048 hcaldqm::Container2D _cBadQuality_depth;
0049 };
0050
0051 #endif