00001 #ifndef HcalSimProducers_HcalHitAnalyzer_h 00002 #define HcalSimProducers_HcalHitAnalyzer_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/HcalSimAlgos/interface/HcalSimParameterMap.h" 00010 #include "SimCalorimetry/HcalSimAlgos/interface/HBHEHitFilter.h" 00011 #include "SimCalorimetry/HcalSimAlgos/interface/HOHitFilter.h" 00012 #include "SimCalorimetry/HcalSimAlgos/interface/HFHitFilter.h" 00013 #include "SimCalorimetry/HcalSimAlgos/interface/ZDCHitFilter.h" 00014 #include <string> 00015 00022 class HcalHitAnalyzer : public edm::EDAnalyzer 00023 { 00024 public: 00025 00026 explicit HcalHitAnalyzer(edm::ParameterSet const& conf); 00027 virtual void analyze(edm::Event const& e, edm::EventSetup const& c); 00028 00029 00030 private: 00031 std::string hitReadoutName_; 00032 HcalSimParameterMap simParameterMap_; 00033 HBHEHitFilter hbheFilter_; 00034 HOHitFilter hoFilter_; 00035 HFHitFilter hfFilter_; 00036 ZDCHitFilter zdcFilter_; 00037 CaloHitAnalyzer hbheAnalyzer_; 00038 CaloHitAnalyzer hoAnalyzer_; 00039 CaloHitAnalyzer hfAnalyzer_; 00040 CaloHitAnalyzer zdcAnalyzer_; 00041 }; 00042 00043 #endif 00044 00045