CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/DQMOffline/JetMET/interface/SUSYDQMAnalyzer.h

Go to the documentation of this file.
00001 //authors:  Francesco Costanza (DESY)
00002 //          Dirk Kruecker (DESY)
00003 //date:     05/05/11
00004 
00005 #ifndef DQMOFFLINE_JETMET_SUSYDQM_ANALYZER_H
00006 #define DQMOFFLINE_JETMET_SUSYDQM_ANALYZER_H (1)
00007 
00008 #include "DataFormats/Common/interface/Handle.h"
00009 #include "DQMServices/Core/interface/DQMStore.h"
00010 #include "DQMServices/Core/interface/MonitorElement.h"
00011 #include "FWCore/Framework/interface/EDAnalyzer.h"
00012 #include "FWCore/Framework/interface/Event.h"
00013 #include "FWCore/Framework/interface/EventSetup.h"
00014 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00015 
00016 #include <string>
00017 
00018 class SUSYDQMAnalyzer: public edm::EDAnalyzer {
00019  public:
00020   explicit SUSYDQMAnalyzer(const edm::ParameterSet&);
00021   ~SUSYDQMAnalyzer();
00022  
00023  private:
00024   edm::ParameterSet iConfig;
00025 
00026   virtual void beginJob();
00027   virtual void beginRun(const edm::Run&, const edm::EventSetup& iSetup);
00028   virtual void analyze(const edm::Event& , const edm::EventSetup&);
00029 //  virtual void endJob();
00030   virtual void endRun(const edm::Run&, const edm::EventSetup&); //{ if (OutputFileName!="") dqm->save(OutputFileName);}
00031 
00032   //  edm::InputTag IT_L1MuGMTReadout;
00033 
00034   edm::InputTag theCaloMETCollectionLabel;
00035   edm::InputTag thePFMETCollectionLabel;
00036   edm::InputTag theTCMETCollectionLabel;
00037 
00038   edm::InputTag theCaloJetCollectionLabel;
00039   edm::InputTag thePFJetCollectionLabel;
00040   edm::InputTag theJPTJetCollectionLabel;
00041 
00042   double _ptThreshold;
00043   double _maxNJets;
00044   double _maxAbsEta;
00045 
00046   //std::string OutputFileName;
00047   //std::string TextFileName;
00048   std::string SUSYFolder;
00049   //std::string _source;
00050 
00051   //ofstream* out;
00052   //double DumpMET;
00053 
00054   //bool StandardDQM;
00055 
00056   // DAQ Tools
00057   DQMStore* dqm;
00058 
00059 
00060   //Susy DQM
00061 
00062   MonitorElement* hCaloHT;
00063   MonitorElement* hJPTHT;
00064   MonitorElement* hPFHT;
00065 
00066   MonitorElement* hCaloMET;
00067   MonitorElement* hPFMET;
00068   MonitorElement* hTCMET;
00069   
00070   MonitorElement* hCaloMHT;
00071   MonitorElement* hJPTMHT;
00072   MonitorElement* hPFMHT;  
00073 
00074   MonitorElement* hCaloAlpha_T;
00075   MonitorElement* hJPTAlpha_T;
00076   MonitorElement* hPFAlpha_T;
00077   
00078 };
00079 
00080 #endif