Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:10:57

0001 #ifndef QcdHighPtDQM_H
0002 #define QcdHighPtDQM_H
0003 
0004 /** \class QcdHighPtDQM
0005  *
0006  *  DQM Physics Module for High Pt QCD group
0007  *
0008  *  Based on DQM/SiPixel and DQM/Physics code
0009  *  Version 1.0, 7/7/09
0010  *  By Keith Rose
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   // input tags/Tokens for Jets/MET
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   // map of MEs
0037   std::map<std::string, MonitorElement*> MEcontainer_;
0038 
0039   // methods to calculate MET over SumET and MET over Leading Jet Pt
0040   float movers(const reco::CaloMETCollection& metcollection);
0041   float moverl(const reco::CaloMETCollection& metcollection, float& ljpt);
0042 };
0043 #endif
0044 
0045 /* Local Variables: */
0046 /* show-trailing-whitespace: t */
0047 /* truncate-lines: t */
0048 /* End: */