File indexing completed on 2024-10-25 23:56:58
0001 #ifndef ZDCQIE10Task_h
0002 #define ZDCQIE10Task_h
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include "DQM/HcalCommon/interface/ElectronicsMap.h"
0012 #include "DQM/HcalCommon/interface/DQTask.h"
0013 #include "DataFormats/HcalDigi/interface/HcalDigiCollections.h"
0014 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0015
0016 #include "CondFormats/L1TObjects/interface/CaloParams.h"
0017 #include "CondFormats/DataRecord/interface/L1TCaloParamsRcd.h"
0018
0019 #include "DataFormats/L1TCalorimeter/interface/CaloTower.h"
0020 #include "DataFormats/L1TCalorimeter/interface/CaloCluster.h"
0021 #include "DataFormats/L1Trigger/interface/EGamma.h"
0022 #include "DataFormats/L1Trigger/interface/Tau.h"
0023 #include "DataFormats/L1Trigger/interface/Jet.h"
0024 #include "DataFormats/L1Trigger/interface/EtSum.h"
0025 #include "CondFormats/HcalObjects/interface/HcalLongRecoParams.h"
0026 #include "CondFormats/HcalObjects/interface/HcalLongRecoParam.h"
0027
0028 class ZDCQIE10Task : public hcaldqm::DQTask {
0029 public:
0030 ZDCQIE10Task(edm::ParameterSet const &);
0031 ~ZDCQIE10Task() override {}
0032
0033 void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
0034
0035 protected:
0036 void _process(edm::Event const &, edm::EventSetup const &) override;
0037
0038
0039 edm::InputTag _tagQIE10;
0040 edm::InputTag sumTag;
0041 edm::EDGetTokenT<QIE10DigiCollection> _tokQIE10;
0042 edm::ESGetToken<HcalDbService, HcalDbRecord> hcalDbServiceToken_;
0043 edm::EDGetToken sumToken_;
0044 edm::ESGetToken<HcalTopology, HcalRecNumberingRecord> htopoToken_;
0045 edm::ESGetToken<HcalLongRecoParams, HcalLongRecoParamsRcd> paramsToken_;
0046
0047
0048 hcaldqm::electronicsmap::ElectronicsMap _ehashmap;
0049
0050
0051 std::map<uint32_t, MonitorElement *> _cADC_EChannel;
0052 std::map<uint32_t, MonitorElement *> _cADC_vs_TS_EChannel;
0053 std::map<uint32_t, MonitorElement *> _cDigiSize_Crate;
0054 std::map<uint32_t, MonitorElement *> _cDigiSize_FED;
0055 std::map<uint32_t, MonitorElement *> _cADC_PM;
0056 std::map<uint32_t, MonitorElement *> _cADC_vs_TS_PM;
0057 std::map<uint32_t, MonitorElement *> _cOccupancy_FEDuTCA;
0058 std::map<uint32_t, MonitorElement *> _cOccupancy_ElectronicsuTCA;
0059 std::map<uint32_t, MonitorElement *> _cOccupancy_Crate;
0060 std::map<uint32_t, MonitorElement *> _cOccupancy_CrateSlot;
0061 std::map<uint32_t, MonitorElement *> _cZDC_SUMS;
0062 std::map<uint32_t, MonitorElement *> _cZDC_BXSUMS;
0063 std::map<uint32_t, MonitorElement *> _cZDC_BX_EmuSUMS;
0064 std::map<uint32_t, MonitorElement *> _cZDC_CapIDS;
0065 std::map<uint32_t, MonitorElement *> _cfC_EChannel;
0066 std::map<uint32_t, MonitorElement *> _cTDC_EChannel;
0067 std::map<uint32_t, MonitorElement *> _cfC_vs_TS_EChannel;
0068 std::map<uint32_t, MonitorElement *> _cZDC_HAD_TM;
0069 std::map<uint32_t, MonitorElement *> _cZDC_EM_TM;
0070
0071 std::unique_ptr<HcalLongRecoParams> longRecoParams_;
0072 };
0073
0074 #endif