CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/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 <string>
00017 #include <map>
00018 #include "DQMServices/Core/interface/MonitorElement.h"
00019 
00020 class CaloTowerAnalyzer: public edm::EDAnalyzer {
00021 public:
00022 
00023   explicit CaloTowerAnalyzer(const edm::ParameterSet&);
00024 
00025   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00026   virtual void beginRun(const edm::Run& ,const edm::EventSetup&);
00027   //virtual void beginJob();
00028   virtual void endJob();
00029 
00030 private:
00031 
00032   // DAQ Tools
00033   DQMStore* dbe_;
00034 
00035   // Inputs from Configuration
00036   edm::InputTag caloTowersLabel_;
00037   std::vector< edm::InputTag >  HLTBitLabel_ ;
00038   edm::InputTag HLTResultsLabel_;
00039   edm::InputTag HBHENoiseFilterResultLabel_;
00040   bool debug_;
00041   double energyThreshold_;
00042   bool allhist_;
00043   bool finebinning_;
00044   bool hltselection_;
00045   std::string FolderName_;
00046   int Nevents;
00047 
00048 
00049   MonitorElement* hCT_Nevents;
00050   MonitorElement* hCT_et_ieta_iphi;
00051   MonitorElement* hCT_emEt_ieta_iphi;
00052   MonitorElement* hCT_hadEt_ieta_iphi;
00053   MonitorElement* hCT_outerEt_ieta_iphi;
00054   MonitorElement* hCT_Occ_ieta_iphi;
00055   MonitorElement* hCT_Occ_EM_Et_ieta_iphi;
00056   MonitorElement* hCT_Occ_HAD_Et_ieta_iphi;
00057   MonitorElement* hCT_Occ_Outer_Et_ieta_iphi;
00058   MonitorElement* hCT_etvsieta;
00059   MonitorElement* hCT_Minetvsieta;
00060   MonitorElement* hCT_Maxetvsieta;
00061   MonitorElement* hCT_emEtvsieta;
00062   MonitorElement* hCT_hadEtvsieta;
00063   MonitorElement* hCT_outerEtvsieta;
00064   MonitorElement* hCT_Occvsieta;
00065   MonitorElement* hCT_SETvsieta;
00066   MonitorElement* hCT_METvsieta;
00067   MonitorElement* hCT_METPhivsieta;
00068   MonitorElement* hCT_MExvsieta;
00069   MonitorElement* hCT_MEyvsieta;
00070   std::vector<MonitorElement*> hCT_NEvents_HLT;
00071 };
00072 
00073 #endif