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