00001 #ifndef TESTECALTPGSCALE_H 00002 #define TESTECALTPGSCALE_H 00003 00004 //Author: Pascal Paganini - LLR 00005 //Date: 2006/07/10 15:58:06 $ 00006 00007 // system include files 00008 #include <memory> 00009 00010 // user include files 00011 #include "FWCore/Framework/interface/Frameworkfwd.h" 00012 #include "FWCore/Framework/interface/EDAnalyzer.h" 00013 #include "FWCore/Framework/interface/Event.h" 00014 #include "FWCore/Framework/interface/MakerMacros.h" 00015 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00016 #include "FWCore/Framework/interface/EventSetup.h" 00017 #include "FWCore/Framework/interface/ESHandle.h" 00018 00019 #include "Geometry/CaloTopology/interface/EcalTrigTowerConstituentsMap.h" 00020 00021 class CaloSubdetectorGeometry ; 00022 00023 class testEcalTPGScale : public edm::EDAnalyzer { 00024 00025 public: 00026 explicit testEcalTPGScale(edm::ParameterSet const& pSet) ; 00027 virtual void analyze(const edm::Event& evt, const edm::EventSetup& evtSetup) ; 00028 virtual void beginJob(const edm::EventSetup& evtSetup) ; 00029 00030 private: 00031 const CaloSubdetectorGeometry * theEndcapGeometry_ ; 00032 const CaloSubdetectorGeometry * theBarrelGeometry_ ; 00033 edm::ESHandle<EcalTrigTowerConstituentsMap> eTTmap_; 00034 00035 }; 00036 #endif