CMS 3D CMS Logo

BasicAnalyzer.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_UtilAlgos_interface_BasicAnalyzer_h
2 #define PhysicsTools_UtilAlgos_interface_BasicAnalyzer_h
3 
9 
40 namespace edm {
41 
42  class BasicAnalyzer {
43  public:
48  virtual ~BasicAnalyzer(){};
49 
57  virtual void beginJob() = 0;
60  virtual void endJob() = 0;
62  virtual void analyze(const edm::EventBase& event) = 0;
63  };
64 
65 } // namespace edm
66 
67 #endif
BasicAnalyzer(const edm::ParameterSet &cfg, TFileDirectory &fileService, edm::ConsumesCollector &&iC)
Definition: BasicAnalyzer.h:46
virtual void beginJob()=0
everything that needs to be done before the event loop
virtual ~BasicAnalyzer()
default destructor
Definition: BasicAnalyzer.h:48
virtual void endJob()=0
everything that needs to be done after the event loop
BasicAnalyzer(const edm::ParameterSet &cfg, TFileDirectory &fileService)
default constructor
Definition: BasicAnalyzer.h:45
HLT enums.
Definition: event.py:1
virtual void analyze(const edm::EventBase &event)=0
everything that needs to be done during the event loop