00001 #ifndef HcalSimProducers_HcalDigiAnalyzer_h 00002 #define HcalSimProducers_HcalDigiAnalyzer_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 "SimCalorimetry/HcalSimProducers/src/HcalDigiStatistics.h" 00015 #include "DataFormats/HcalDigi/interface/HcalDigiCollections.h" 00016 #include <string> 00017 00024 class HcalDigiAnalyzer : public edm::EDAnalyzer 00025 { 00026 public: 00027 00028 explicit HcalDigiAnalyzer(edm::ParameterSet const& conf); 00029 virtual void analyze(edm::Event const& e, edm::EventSetup const& c); 00030 00031 00032 private: 00033 std::string hitReadoutName_; 00034 HcalSimParameterMap simParameterMap_; 00035 HBHEHitFilter hbheFilter_; 00036 HOHitFilter hoFilter_; 00037 HFHitFilter hfFilter_; 00038 ZDCHitFilter zdcFilter_; 00039 CaloHitAnalyzer hbheHitAnalyzer_; 00040 CaloHitAnalyzer hoHitAnalyzer_; 00041 CaloHitAnalyzer hfHitAnalyzer_; 00042 CaloHitAnalyzer zdcHitAnalyzer_; 00043 HcalDigiStatistics hbheDigiStatistics_; 00044 HcalDigiStatistics hoDigiStatistics_; 00045 HcalDigiStatistics hfDigiStatistics_; 00046 HcalDigiStatistics zdcDigiStatistics_; 00047 }; 00048 00049 #endif 00050 00051