00001 #ifndef CSCRecHitValidation_h 00002 #define CSCRecHitValidation_h 00003 00004 // user include files 00005 00006 #include "FWCore/Framework/interface/Event.h" 00007 #include "FWCore/Framework/interface/ESHandle.h" 00008 #include "FWCore/Framework/interface/EDAnalyzer.h" 00009 #include "FWCore/Utilities/interface/InputTag.h" 00010 00011 #include "DQMServices/Core/interface/DQMStore.h" 00012 #include "SimMuon/MCTruth/interface/PSimHitMap.h" 00013 #include "Geometry/CSCGeometry/interface/CSCGeometry.h" 00014 #include "Validation/CSCRecHits/src/CSCRecHit2DValidation.h" 00015 #include "Validation/CSCRecHits/src/CSCSegmentValidation.h" 00016 00017 00018 00019 class CSCRecHitValidation : public edm::EDAnalyzer { 00020 public: 00021 explicit CSCRecHitValidation(const edm::ParameterSet&); 00022 ~CSCRecHitValidation(); 00023 virtual void analyze(const edm::Event&, const edm::EventSetup&); 00024 virtual void beginJob(){} 00025 virtual void endJob() ; 00026 00027 00028 private: 00029 00030 DQMStore* dbe_; 00031 std::string theOutputFile; 00032 PSimHitMap theSimHitMap; 00033 const CSCGeometry * theCSCGeometry; 00034 00035 CSCRecHit2DValidation the2DValidation; 00036 CSCSegmentValidation theSegmentValidation; 00037 }; 00038 00039 #endif 00040