1 #ifndef PhysicsTools_UtilAlgos_interface_EDAnalyzerWrapper_h 2 #define PhysicsTools_UtilAlgos_interface_EDAnalyzerWrapper_h 4 #include <boost/shared_ptr.hpp> virtual ~AnalyzerWrapper()
default destructor
virtual void analyze(edm::Event const &event, const edm::EventSetup &eventSetup)
everything which has to be done during the event loop. NOTE: We can't use the eventSetup in FWLite so...
virtual void endJob()
everything which has to be done after the event loop
TFileDirectory & tFileDirectory()
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
virtual void beginJob()
everything which has to be done before the event loop
edm::Service< TFileService > fileService
AnalyzerWrapper(const edm::ParameterSet &cfg)
default contructor
boost::shared_ptr< T > analyzer_
shared pointer to analysis class of type BasicAnalyzer