Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:12:44

0001 //authors:  Francesco Costanza (DESY)
0002 //          Dirk Kruecker (DESY)
0003 //date:     05/05/11
0004 
0005 #ifndef DQMOFFLINE_JETMET_SUSYDQM_ANALYZER_H
0006 #define DQMOFFLINE_JETMET_SUSYDQM_ANALYZER_H (1)
0007 
0008 #include "DataFormats/Common/interface/Handle.h"
0009 #include "DQMServices/Core/interface/DQMStore.h"
0010 #include "FWCore/Framework/interface/EDAnalyzer.h"
0011 #include "FWCore/Framework/interface/Event.h"
0012 #include "FWCore/Framework/interface/EventSetup.h"
0013 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0014 #include "DataFormats/JetReco/interface/PFJet.h"
0015 #include "FWCore/Framework/interface/ConsumesCollector.h"
0016 #include <DQMServices/Core/interface/DQMEDAnalyzer.h>
0017 
0018 #include "DataFormats/JetReco/interface/CaloJetCollection.h"
0019 #include "DataFormats/METReco/interface/PFMETCollection.h"
0020 #include "DataFormats/METReco/interface/CaloMETCollection.h"
0021 
0022 #include <string>
0023 
0024 class SUSYDQMAnalyzer : public DQMEDAnalyzer {
0025 public:
0026   explicit SUSYDQMAnalyzer(const edm::ParameterSet&);
0027   ~SUSYDQMAnalyzer() override;
0028 
0029 private:
0030   edm::ParameterSet iConfig;
0031 
0032   void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
0033   void analyze(const edm::Event&, const edm::EventSetup&) override;
0034 
0035   edm::EDGetTokenT<reco::PFMETCollection> thePFMETCollectionToken;
0036   edm::EDGetTokenT<std::vector<reco::PFJet> > thePFJetCollectionToken;
0037   edm::EDGetTokenT<reco::CaloJetCollection> theCaloJetCollectionToken;
0038 
0039   edm::EDGetTokenT<reco::CaloMETCollection> theCaloMETCollectionToken;
0040   //edm::EDGetTokenT<reco::JPTJetCollection> theJPTJetCollectionToken;
0041   //edm::EDGetTokenT<reco::METCollection> theTCMETCollectionToken;
0042 
0043   double _ptThreshold;
0044   double _maxNJets;
0045   double _maxAbsEta;
0046 
0047   std::string SUSYFolder;
0048   static const char* messageLoggerCatregory;
0049 
0050   //Susy DQM storing elements
0051   //remove TCMET and JPT related variables
0052 
0053   MonitorElement* hCaloHT;
0054   //MonitorElement* hJPTHT;
0055   MonitorElement* hPFHT;
0056 
0057   MonitorElement* hCaloMET;
0058   MonitorElement* hPFMET;
0059   //MonitorElement* hTCMET;
0060 
0061   MonitorElement* hCaloMHT;
0062   //MonitorElement* hJPTMHT;
0063   MonitorElement* hPFMHT;
0064 
0065   MonitorElement* hCaloAlpha_T;
0066   //MonitorElement* hJPTAlpha_T;
0067   MonitorElement* hPFAlpha_T;
0068 };
0069 
0070 #endif