![]() |
![]() |
00001 00002 00003 #ifndef PFTESTER_H 00004 #define PFTESTER_H 00005 00006 // author: Mike Schmitt (The University of Florida) 00007 // date: 11/7/2007 00008 00009 #include "DQMServices/Core/interface/DQMStore.h" 00010 #include "DQMServices/Core/interface/MonitorElement.h" 00011 00012 #include "FWCore/Framework/interface/Frameworkfwd.h" 00013 #include "FWCore/Framework/interface/EDAnalyzer.h" 00014 00015 #include <string> 00016 #include <map> 00017 00018 class PFTester: public edm::EDAnalyzer { 00019 public: 00020 00021 explicit PFTester(const edm::ParameterSet&); 00022 virtual ~PFTester(); 00023 00024 virtual void analyze(const edm::Event&, const edm::EventSetup&); 00025 virtual void beginJob(const edm::EventSetup&) ; 00026 virtual void endJob() ; 00027 00028 private: 00029 00030 // DAQ Tools 00031 DQMStore* dbe_; 00032 std::map<std::string, MonitorElement*> me; 00033 00034 // Inputs from Configuration File 00035 std::string outputFile_; 00036 std::string inputPFlowLabel_; 00037 00038 }; 00039 00040 #endif // PFTESTER_H