File indexing completed on 2023-03-17 10:55:11
0001 #ifndef DQM_L1TMonitor_L1TdeCSCTPGShower_h
0002 #define DQM_L1TMonitor_L1TdeCSCTPGShower_h
0003
0004 #include "FWCore/Framework/interface/Event.h"
0005 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0006 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0007
0008 #include "DQMServices/Core/interface/DQMEDAnalyzer.h"
0009 #include "DQMServices/Core/interface/DQMStore.h"
0010
0011 #include "DataFormats/CSCDigi/interface/CSCShowerDigiCollection.h"
0012
0013 class L1TdeCSCTPGShower : public DQMEDAnalyzer {
0014 public:
0015 L1TdeCSCTPGShower(const edm::ParameterSet& ps);
0016 ~L1TdeCSCTPGShower() override;
0017
0018 protected:
0019 void bookHistograms(DQMStore::IBooker&, const edm::Run&, const edm::EventSetup&) override;
0020 void analyze(const edm::Event&, const edm::EventSetup&) override;
0021
0022 private:
0023 bool areSameShowers(const CSCShowerDigi& lhs, const CSCShowerDigi& rhs) const;
0024
0025 edm::EDGetTokenT<CSCShowerDigiCollection> dataALCTShower_token_;
0026 edm::EDGetTokenT<CSCShowerDigiCollection> emulALCTShower_token_;
0027 edm::EDGetTokenT<CSCShowerDigiCollection> dataCLCTShower_token_;
0028 edm::EDGetTokenT<CSCShowerDigiCollection> emulCLCTShower_token_;
0029 edm::EDGetTokenT<CSCShowerDigiCollection> dataLCTShower_token_;
0030 edm::EDGetTokenT<CSCShowerDigiCollection> emulLCTShower_token_;
0031
0032 std::string monitorDir_;
0033
0034 MonitorElement* lctShowerDataNomSummary_denom_;
0035 MonitorElement* lctShowerDataNomSummary_num_;
0036 MonitorElement* alctShowerDataNomSummary_denom_;
0037 MonitorElement* alctShowerDataNomSummary_num_;
0038 MonitorElement* clctShowerDataNomSummary_denom_;
0039 MonitorElement* clctShowerDataNomSummary_num_;
0040
0041 MonitorElement* lctShowerEmulNomSummary_denom_;
0042 MonitorElement* lctShowerEmulNomSummary_num_;
0043 MonitorElement* alctShowerEmulNomSummary_denom_;
0044 MonitorElement* alctShowerEmulNomSummary_num_;
0045 MonitorElement* clctShowerEmulNomSummary_denom_;
0046 MonitorElement* clctShowerEmulNomSummary_num_;
0047
0048 MonitorElement* lctShowerDataTightSummary_denom_;
0049 MonitorElement* lctShowerDataTightSummary_num_;
0050 MonitorElement* alctShowerDataTightSummary_denom_;
0051 MonitorElement* alctShowerDataTightSummary_num_;
0052 MonitorElement* clctShowerDataTightSummary_denom_;
0053 MonitorElement* clctShowerDataTightSummary_num_;
0054
0055 MonitorElement* lctShowerEmulTightSummary_denom_;
0056 MonitorElement* lctShowerEmulTightSummary_num_;
0057 MonitorElement* alctShowerEmulTightSummary_denom_;
0058 MonitorElement* alctShowerEmulTightSummary_num_;
0059 MonitorElement* clctShowerEmulTightSummary_denom_;
0060 MonitorElement* clctShowerEmulTightSummary_num_;
0061 };
0062
0063 #endif