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 
41 namespace edm {
42 
43  class BasicAnalyzer {
44  public:
49  virtual ~BasicAnalyzer(){};
50 
58  virtual void beginJob()=0;
61  virtual void endJob() =0;
63  virtual void analyze(const edm::EventBase& event)=0;
64  };
65 
66 }
67 
68 #endif
BasicAnalyzer(const edm::ParameterSet &cfg, TFileDirectory &fileService, edm::ConsumesCollector &&iC)
Definition: BasicAnalyzer.h:47
virtual void beginJob()=0
everything that needs to be done before the event loop
virtual ~BasicAnalyzer()
default destructor
Definition: BasicAnalyzer.h:49
virtual void endJob()=0
everything that needs to be done after the event loop
edm::Service< TFileService > fileService
BasicAnalyzer(const edm::ParameterSet &cfg, TFileDirectory &fileService)
default constructor
Definition: BasicAnalyzer.h:46
HLT enums.
Definition: event.py:1
virtual void analyze(const edm::EventBase &event)=0
everything that needs to be done during the event loop