CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DQM/Physics/src/QcdHighPtDQM.h

Go to the documentation of this file.
00001 #ifndef QcdHighPtDQM_H
00002 #define QcdHighPtDQM_H
00003 
00004 
00015 #include "FWCore/Framework/interface/Frameworkfwd.h"
00016 #include "FWCore/Framework/interface/EDAnalyzer.h"
00017 #include "FWCore/Utilities/interface/InputTag.h"
00018 #include "DataFormats/JetReco/interface/CaloJet.h"
00019 #include "DataFormats/JetReco/interface/CaloJetCollection.h"
00020 #include "DataFormats/METReco/interface/CaloMETCollection.h"
00021 
00022 
00023 class DQMStore;
00024 class MonitorElement;
00025 
00026 class QcdHighPtDQM : public edm::EDAnalyzer {
00027  public:
00028 
00030   QcdHighPtDQM(const edm::ParameterSet&);
00031   
00033   virtual ~QcdHighPtDQM();
00034   
00036   void beginJob();
00037 
00039   void analyze(const edm::Event&, const edm::EventSetup&);
00040 
00041   void endJob(void);
00042 
00043 
00044 
00045  private:
00046 
00047 
00048   // ----------member data ---------------------------
00049   
00050   DQMStore* theDbe;
00051 
00052   //input tags for Jets/MET
00053   edm::InputTag jetLabel_;
00054   edm::InputTag metLabel1_;
00055   edm::InputTag metLabel2_;
00056   edm::InputTag metLabel3_;
00057   edm::InputTag metLabel4_;
00058   
00059   //map of MEs
00060   std::map<std::string, MonitorElement*> MEcontainer_;
00061 
00062   //methods to calculate MET over SumET and MET over Leading Jet Pt
00063   float movers(const reco::CaloMETCollection& metcollection);
00064   float moverl(const reco::CaloMETCollection& metcollection, float& ljpt);
00065 
00066 };
00067 #endif