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