1 #ifndef PhysicsTools_UtilAlgos_interface_BasicAnalyzer_h 2 #define PhysicsTools_UtilAlgos_interface_BasicAnalyzer_h
BasicAnalyzer(const edm::ParameterSet &cfg, TFileDirectory &fileService, edm::ConsumesCollector &&iC)
virtual void beginJob()=0
everything that needs to be done before the event loop
virtual ~BasicAnalyzer()
default destructor
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
virtual void analyze(const edm::EventBase &event)=0
everything that needs to be done during the event loop