00001 #ifndef CastorSim_CastorDigiAnalyzer_h 00002 #define CastorSim_CastorDigiAnalyzer_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 "SimCalorimetry/CastorSim/plugins/CastorDigiStatistics.h" 00012 #include "DataFormats/HcalDigi/interface/HcalDigiCollections.h" 00013 #include <string> 00014 00020 class CastorDigiAnalyzer : public edm::EDAnalyzer 00021 { 00022 public: 00023 00024 explicit CastorDigiAnalyzer(edm::ParameterSet const& conf); 00025 virtual void analyze(edm::Event const& e, edm::EventSetup const& c); 00026 00027 00028 private: 00029 std::string hitReadoutName_; 00030 CastorSimParameterMap simParameterMap_; 00031 CastorHitFilter castorFilter_; 00032 CaloHitAnalyzer castorHitAnalyzer_; 00033 CastorDigiStatistics castorDigiStatistics_; 00034 }; 00035 00036 #endif 00037 00038