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