Go to the documentation of this file.00001 #ifndef PhysicsTools_UtilAlgos_interface_BasicAnalyzer_h
00002 #define PhysicsTools_UtilAlgos_interface_BasicAnalyzer_h
00003
00004 #include "FWCore/Common/interface/EventBase.h"
00005 #include "FWCore/Utilities/interface/InputTag.h"
00006 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00007 #include "CommonTools/Utils/interface/TFileDirectory.h"
00008
00040 namespace edm {
00041
00042 class BasicAnalyzer {
00043 public:
00045 BasicAnalyzer(const edm::ParameterSet& cfg, TFileDirectory& fileService){};
00047 virtual ~BasicAnalyzer(){};
00048
00056
00057 virtual void beginJob()=0;
00059 virtual void endJob() =0;
00061 virtual void analyze(const edm::EventBase& event)=0;
00062 };
00063
00064 }
00065
00066 #endif