File indexing completed on 2024-04-06 12:08:05
0001 #ifndef QcdHighPtDQM_H
0002 #define QcdHighPtDQM_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #include "DQMServices/Core/interface/DQMEDAnalyzer.h"
0014 #include "FWCore/Framework/interface/Frameworkfwd.h"
0015 #include "FWCore/Utilities/interface/InputTag.h"
0016 #include "DataFormats/JetReco/interface/CaloJet.h"
0017 #include "DataFormats/JetReco/interface/CaloJetCollection.h"
0018 #include "DataFormats/METReco/interface/CaloMETCollection.h"
0019 #include "DQMServices/Core/interface/DQMStore.h"
0020
0021 class QcdHighPtDQM : public DQMEDAnalyzer {
0022 public:
0023 QcdHighPtDQM(const edm::ParameterSet&);
0024 ~QcdHighPtDQM() override;
0025 void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
0026 void analyze(const edm::Event&, const edm::EventSetup&) override;
0027
0028 private:
0029
0030 edm::EDGetTokenT<reco::CaloJetCollection> jetToken_;
0031 edm::EDGetTokenT<reco::CaloMETCollection> metToken1_;
0032 edm::EDGetTokenT<reco::CaloMETCollection> metToken2_;
0033 edm::EDGetTokenT<reco::CaloMETCollection> metToken3_;
0034 edm::EDGetTokenT<reco::CaloMETCollection> metToken4_;
0035
0036
0037 std::map<std::string, MonitorElement*> MEcontainer_;
0038
0039
0040 float movers(const reco::CaloMETCollection& metcollection);
0041 float moverl(const reco::CaloMETCollection& metcollection, float& ljpt);
0042 };
0043 #endif
0044
0045
0046
0047
0048