00001 // -*- C++ -*- 00002 // 00003 // Package: L1RCTRelValAnalyzer 00004 // Class: L1RCTRelValAnalyzer 00005 // 00013 // 00014 // Original Author: pts/47 00015 // Created: Thu Jul 13 21:38:08 CEST 2006 00016 // $Id: L1RCTRelValAnalyzer.h,v 1.1 2008/02/20 17:54:07 jleonard Exp $ 00017 // 00018 // 00019 00020 00021 // system include files 00022 #include <memory> 00023 #include <iostream> 00024 // user include files 00025 #include "FWCore/Framework/interface/Frameworkfwd.h" 00026 #include "FWCore/Framework/interface/EDAnalyzer.h" 00027 00028 #include "FWCore/Framework/interface/Event.h" 00029 #include "FWCore/Framework/interface/MakerMacros.h" 00030 00031 #include "FWCore/ServiceRegistry/interface/Service.h" 00032 #include "PhysicsTools/UtilAlgos/interface/TFileService.h" 00033 00034 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00035 00036 #include "DataFormats/L1CaloTrigger/interface/L1CaloCollections.h" 00037 00038 #include "TH1F.h" 00039 #include "TH2F.h" 00040 00041 // 00042 // class declaration 00043 // 00044 00045 class L1RCTRelValAnalyzer : public edm::EDAnalyzer { 00046 public: 00047 explicit L1RCTRelValAnalyzer(const edm::ParameterSet&); 00048 ~L1RCTRelValAnalyzer(); 00049 00050 00051 virtual void analyze(const edm::Event&, const edm::EventSetup&); 00052 private: 00053 // ----------member data --------------------------- 00054 edm::InputTag rctEmCandsLabel; 00055 edm::InputTag rctRegionsLabel; 00056 00057 TH1F * h_emRank; 00058 TH1F * h_emIeta; 00059 TH1F * h_emIphi; 00060 TH2F * h_emIsoOccIetaIphi; 00061 TH2F * h_emNonIsoOccIetaIphi; 00062 00063 TH1F * h_regionSum; 00064 TH2F * h_regionSumIetaIphi; 00065 TH2F * h_regionOccIetaIphi; 00066 }; 00067 00068 // 00069 // constants, enums and typedefs 00070 // 00071 00072 // 00073 // static data member definitions 00074 //