File indexing completed on 2024-08-30 02:10:34
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 #include <memory>
0021 #include <string>
0022
0023 #include "DQMServices/Core/interface/DQMStore.h"
0024 #include "DQMServices/Core/interface/DQMEDAnalyzer.h"
0025
0026
0027 #include "FWCore/Framework/interface/Frameworkfwd.h"
0028 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0029
0030 #include "FWCore/Framework/interface/Event.h"
0031 #include "FWCore/Framework/interface/MakerMacros.h"
0032
0033 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0034 #include "FWCore/Utilities/interface/InputTag.h"
0035
0036 #include "FWCore/ServiceRegistry/interface/Service.h"
0037
0038 #include "DataFormats/L1CaloTrigger/interface/CICADA.h"
0039 #include "DataFormats/L1CaloTrigger/interface/L1CaloCollections.h"
0040 #include "DataFormats/FEDRawData/interface/FEDRawDataCollection.h"
0041 #include "EventFilter/L1TXRawToDigi/interface/UCTDAQRawData.h"
0042 #include "EventFilter/L1TXRawToDigi/interface/UCTAMCRawData.h"
0043 #include "DataFormats/FEDRawData/interface/FEDNumbering.h"
0044
0045 class L1TCaloLayer1Summary : public DQMEDAnalyzer {
0046 public:
0047 explicit L1TCaloLayer1Summary(const edm::ParameterSet&);
0048
0049 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0050
0051 private:
0052 void analyze(const edm::Event&, const edm::EventSetup&) override;
0053 void bookHistograms(DQMStore::IBooker&, const edm::Run&, const edm::EventSetup&) override;
0054
0055
0056 edm::EDGetTokenT<l1t::CICADABxCollection> caloLayer1CICADAScoreToken_;
0057 edm::EDGetTokenT<l1t::CICADABxCollection> gtCICADAScoreToken_;
0058 edm::EDGetTokenT<l1t::CICADABxCollection> simCICADAScoreToken_;
0059 edm::EDGetTokenT<L1CaloRegionCollection> caloLayer1RegionsToken_;
0060 edm::EDGetTokenT<L1CaloRegionCollection> simRegionsToken_;
0061 edm::EDGetTokenT<FEDRawDataCollection> fedRawData_;
0062
0063 dqm::reco::MonitorElement* histoCaloLayer1CICADAScore;
0064 dqm::reco::MonitorElement* histoGtCICADAScore;
0065 dqm::reco::MonitorElement* histoSimCICADAScore;
0066 dqm::reco::MonitorElement* histoCaloMinusSim;
0067 dqm::reco::MonitorElement* histoCaloMinusGt;
0068 dqm::reco::MonitorElement* histoSlot7MinusDaqBxid;
0069 dqm::reco::MonitorElement* histoCaloRegions;
0070 dqm::reco::MonitorElement* histoSimRegions;
0071 dqm::reco::MonitorElement* histoCaloMinusSimRegions;
0072
0073 std::string histFolder_;
0074 };