00001 #ifndef CastorSim_CastorHitAnalyzer_h 00002 #define CastorSim_CastorHitAnalyzer_h 00003 00004 #include "SimCalorimetry/CaloSimAlgos/interface/CaloHitAnalyzer.h" 00005 #include "FWCore/Framework/interface/EDAnalyzer.h" 00006 #include "FWCore/Framework/interface/Event.h" 00007 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00008 #include "FWCore/Framework/interface/EventSetup.h" 00009 #include "SimCalorimetry/CastorSim/src/CastorSimParameterMap.h" 00010 #include "SimCalorimetry/CastorSim/src/CastorHitFilter.h" 00011 #include <string> 00012 00018 class CastorHitAnalyzer : public edm::EDAnalyzer 00019 { 00020 public: 00021 00022 explicit CastorHitAnalyzer(edm::ParameterSet const& conf); 00023 virtual void analyze(edm::Event const& e, edm::EventSetup const& c); 00024 00025 00026 private: 00027 std::string hitReadoutName_; 00028 CastorSimParameterMap simParameterMap_; 00029 CastorHitFilter castorFilter_; 00030 CaloHitAnalyzer castorAnalyzer_; 00031 }; 00032 00033 #endif 00034 00035