File indexing completed on 2024-04-06 12:18:22
0001 #ifndef HLTGetDigi_h
0002 #define HLTGetDigi_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #include "FWCore/Framework/interface/Event.h"
0016 #include "FWCore/Framework/interface/global/EDAnalyzer.h"
0017 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0018 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0019 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
0020
0021 #include "DataFormats/Common/interface/DetSetVector.h"
0022 #include "DataFormats/SiPixelDigi/interface/PixelDigi.h"
0023 #include "DataFormats/SiStripDigi/interface/SiStripDigi.h"
0024 #include "DataFormats/EcalDigi/interface/EcalDigiCollections.h"
0025 #include "DataFormats/EcalDigi/interface/EBDataFrame.h"
0026 #include "DataFormats/EcalDigi/interface/EEDataFrame.h"
0027 #include "DataFormats/EcalDigi/interface/ESDataFrame.h"
0028 #include "DataFormats/HcalDigi/interface/HcalDigiCollections.h"
0029 #include "DataFormats/HcalDigi/interface/HBHEDataFrame.h"
0030 #include "DataFormats/HcalDigi/interface/HODataFrame.h"
0031 #include "DataFormats/HcalDigi/interface/HFDataFrame.h"
0032 #include "DataFormats/MuonData/interface/MuonDigiCollection.h"
0033 #include "DataFormats/CSCDigi/interface/CSCWireDigi.h"
0034 #include "DataFormats/CSCDigi/interface/CSCWireDigiCollection.h"
0035 #include "DataFormats/CSCDigi/interface/CSCStripDigi.h"
0036 #include "DataFormats/CSCDigi/interface/CSCStripDigiCollection.h"
0037 #include "DataFormats/DTDigi/interface/DTDigi.h"
0038 #include "DataFormats/DTDigi/interface/DTDigiCollection.h"
0039 #include "DataFormats/RPCDigi/interface/RPCDigi.h"
0040 #include "DataFormats/RPCDigi/interface/RPCDigiCollection.h"
0041 #include "DataFormats/L1GlobalCaloTrigger/interface/L1GctEtSums.h"
0042 #include "DataFormats/L1GlobalCaloTrigger/interface/L1GctCollections.h"
0043 #include "DataFormats/L1GlobalCaloTrigger/interface/L1GctJetCounts.h"
0044 #include "DataFormats/L1CaloTrigger/interface/L1CaloCollections.h"
0045 #include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutRecord.h"
0046 #include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerEvmReadoutRecord.h"
0047 #include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerObjectMapRecord.h"
0048 #include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerObjectMap.h"
0049 #include "DataFormats/L1GlobalMuonTrigger/interface/L1MuGMTReadoutCollection.h"
0050 #include "DataFormats/L1GlobalMuonTrigger/interface/L1MuGMTCand.h"
0051 #include "DataFormats/L1GlobalMuonTrigger/interface/L1MuGMTExtendedCand.h"
0052 #include "CondFormats/L1TObjects/interface/L1GtParameters.h"
0053 #include "CondFormats/DataRecord/interface/L1GtParametersRcd.h"
0054 #include "DataFormats/L1GlobalMuonTrigger/interface/L1MuGMTCand.h"
0055 #include "DataFormats/L1GlobalMuonTrigger/interface/L1MuGMTExtendedCand.h"
0056 #include "DataFormats/L1GlobalMuonTrigger/interface/L1MuGMTReadoutCollection.h"
0057
0058
0059
0060
0061
0062 class HLTGetDigi : public edm::global::EDAnalyzer<> {
0063 public:
0064 explicit HLTGetDigi(const edm::ParameterSet&);
0065 ~HLTGetDigi() override;
0066 void analyze(edm::StreamID, const edm::Event&, const edm::EventSetup&) const override;
0067 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0068
0069 private:
0070 edm::ESGetToken<L1GtParameters, L1GtParametersRcd> const l1GtParamsToken_;
0071
0072 edm::InputTag EBdigiCollection_;
0073 edm::EDGetTokenT<EBDigiCollection> EBdigiToken_;
0074 edm::InputTag EEdigiCollection_;
0075 edm::EDGetTokenT<EEDigiCollection> EEdigiToken_;
0076 edm::InputTag ESdigiCollection_;
0077 edm::EDGetTokenT<ESDigiCollection> ESdigiToken_;
0078 edm::InputTag HBHEdigiCollection_;
0079 edm::EDGetTokenT<HBHEDigiCollection> HBHEdigiToken_;
0080 edm::InputTag HOdigiCollection_;
0081 edm::EDGetTokenT<HODigiCollection> HOdigiToken_;
0082 edm::InputTag HFdigiCollection_;
0083 edm::EDGetTokenT<HFDigiCollection> HFdigiToken_;
0084 edm::InputTag PXLdigiCollection_;
0085 edm::EDGetTokenT<edm::DetSetVector<PixelDigi> > PXLdigiToken_;
0086 edm::InputTag SSTdigiCollection_;
0087 edm::EDGetTokenT<edm::DetSetVector<SiStripDigi> > SSTdigiToken_;
0088 edm::InputTag CSCStripdigiCollection_;
0089 edm::EDGetTokenT<CSCStripDigiCollection> CSCStripdigiToken_;
0090 edm::InputTag CSCWiredigiCollection_;
0091 edm::EDGetTokenT<CSCWireDigiCollection> CSCWiredigiToken_;
0092 edm::InputTag DTdigiCollection_;
0093 edm::EDGetTokenT<DTDigiCollection> DTdigiToken_;
0094 edm::InputTag RPCdigiCollection_;
0095 edm::EDGetTokenT<RPCDigiCollection> RPCdigiToken_;
0096 edm::InputTag GctCaloEmLabel_;
0097 edm::EDGetTokenT<L1CaloEmCollection> GctCaloEmToken_;
0098 edm::InputTag GctCaloRegionLabel_;
0099 edm::EDGetTokenT<L1CaloRegionCollection> GctCaloRegionToken_;
0100 edm::InputTag GctIsoEmLabel_;
0101 edm::EDGetTokenT<L1GctEmCandCollection> GctIsoEmToken_;
0102 edm::InputTag GctNonIsoEmLabel_;
0103 edm::EDGetTokenT<L1GctEmCandCollection> GctNonIsoEmToken_;
0104 edm::InputTag GctCenJetLabel_;
0105 edm::EDGetTokenT<L1GctJetCandCollection> GctCenJetToken_;
0106 edm::InputTag GctForJetLabel_;
0107 edm::EDGetTokenT<L1GctJetCandCollection> GctForJetToken_;
0108 edm::InputTag GctTauJetLabel_;
0109 edm::EDGetTokenT<L1GctJetCandCollection> GctTauJetToken_;
0110 edm::InputTag GctJetCountsLabel_;
0111 edm::EDGetTokenT<L1GctJetCounts> GctJetCountsToken_;
0112 edm::InputTag GctEtHadLabel_;
0113 edm::EDGetTokenT<L1GctEtHad> GctEtHadToken_;
0114 edm::InputTag GctEtMissLabel_;
0115 edm::EDGetTokenT<L1GctEtMiss> GctEtMissToken_;
0116 edm::InputTag GctEtTotalLabel_;
0117 edm::EDGetTokenT<L1GctEtTotal> GctEtTotalToken_;
0118
0119 edm::InputTag GtEvmRRLabel_;
0120 edm::EDGetTokenT<L1GlobalTriggerEvmReadoutRecord> GtEvmRRToken_;
0121 edm::InputTag GtObjectMapLabel_;
0122 edm::EDGetTokenT<L1GlobalTriggerObjectMapRecord> GtObjectMapToken_;
0123 edm::InputTag GtRRLabel_;
0124 edm::EDGetTokenT<L1GlobalTriggerReadoutRecord> GtRRToken_;
0125
0126 edm::InputTag GmtCandsLabel_;
0127 edm::EDGetTokenT<std::vector<L1MuGMTCand> > GmtCandsToken_;
0128 edm::InputTag GmtReadoutCollection_;
0129 edm::EDGetTokenT<L1MuGMTReadoutCollection> GmtReadoutToken_;
0130
0131 bool getEcalDigis_;
0132 bool getEcalESDigis_;
0133 bool getHcalDigis_;
0134 bool getPixelDigis_;
0135 bool getStripDigis_;
0136 bool getCSCDigis_;
0137 bool getDTDigis_;
0138 bool getRPCDigis_;
0139 bool getL1Calo_;
0140 bool getGctEmDigis_;
0141 bool getGctJetDigis_;
0142 bool getGctJetCounts_;
0143 bool getGctEtDigis_;
0144 bool getGtEvmRR_;
0145 bool getGtObjectMap_;
0146 bool getGtRR_;
0147 bool getGmtCands_;
0148 bool getGmtRC_;
0149 };
0150
0151 #endif