CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch12/src/DQMOffline/JetMET/interface/CaloTowerAnalyzer.h

Go to the documentation of this file.
00001 #ifndef CALOTOWERANALYZER_H
00002 #define CALOTOWERANALYZER_H
00003 
00004 // author: Bobby Scurlock (The University of Florida)
00005 // date: 8/24/2006
00006 // modification: Mike Schmitt
00007 // date: 02.28.2007
00008 // note: code rewrite
00009 
00010 #include "DQMServices/Core/interface/DQMStore.h"
00011 
00012 #include "FWCore/Framework/interface/Frameworkfwd.h"
00013 #include "FWCore/Framework/interface/EDAnalyzer.h"
00014 #include "FWCore/Utilities/interface/InputTag.h"
00015 
00016 #include "DataFormats/METReco/interface/HcalNoiseSummary.h"
00017 
00018 #include <string>
00019 #include <map>
00020 #include "DQMServices/Core/interface/MonitorElement.h"
00021 
00022 class CaloTowerAnalyzer: public edm::EDAnalyzer {
00023 public:
00024 
00025   explicit CaloTowerAnalyzer(const edm::ParameterSet&);
00026 
00027   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00028   virtual void beginRun(const edm::Run& ,const edm::EventSetup&);
00029   //virtual void beginJob();
00030   virtual void endJob();
00031 
00032 private:
00033 
00034   // DAQ Tools
00035   DQMStore* dbe_;
00036 
00037   // Inputs from Configuration
00038   edm::InputTag caloTowersLabel_;
00039   std::vector< edm::InputTag >  HLTBitLabel_ ;
00040   edm::InputTag HLTResultsLabel_;
00041   edm::InputTag HcalNoiseSummaryTag_;
00042   bool debug_;
00043   double energyThreshold_;
00044   bool allhist_;
00045   bool finebinning_;
00046   bool hltselection_;
00047   std::string FolderName_;
00048   int Nevents;
00049 
00050 
00051   MonitorElement* hCT_Nevents;
00052   MonitorElement* hCT_et_ieta_iphi;
00053   MonitorElement* hCT_emEt_ieta_iphi;
00054   MonitorElement* hCT_hadEt_ieta_iphi;
00055   MonitorElement* hCT_outerEt_ieta_iphi;
00056   MonitorElement* hCT_Occ_ieta_iphi;
00057   MonitorElement* hCT_etvsieta;
00058   MonitorElement* hCT_Minetvsieta;
00059   MonitorElement* hCT_Maxetvsieta;
00060   MonitorElement* hCT_emEtvsieta;
00061   MonitorElement* hCT_hadEtvsieta;
00062   MonitorElement* hCT_outerEtvsieta;
00063   MonitorElement* hCT_Occvsieta;
00064   MonitorElement* hCT_SETvsieta;
00065   MonitorElement* hCT_METvsieta;
00066   MonitorElement* hCT_METPhivsieta;
00067   MonitorElement* hCT_MExvsieta;
00068   MonitorElement* hCT_MEyvsieta;
00069   std::vector<MonitorElement*> hCT_NEvents_HLT;
00070 };
00071 
00072 #endif