#include <EDAnalyzerWrapper.h>
Public Member Functions | |
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 ignore it | |
AnalyzerWrapper (const edm::ParameterSet &cfg) | |
default contructor | |
virtual void | beginJob () |
everything which has to be done before the event loop | |
virtual void | endJob () |
everything which has to be done after the event loop | |
virtual | ~AnalyzerWrapper () |
default destructor | |
Protected Attributes | |
boost::shared_ptr< T > | analyzer_ |
shared pointer to analysis class of type BasicAnalyzer |
Definition at line 48 of file EDAnalyzerWrapper.h.
edm::AnalyzerWrapper< T >::AnalyzerWrapper | ( | const edm::ParameterSet & | cfg | ) |
default contructor
Definition at line 69 of file EDAnalyzerWrapper.h.
References loadConditions::analyzer_, and fileService.
{ // defined TFileService edm::Service<TFileService> fileService; // create analysis class of type BasicAnalyzer analyzer_ = boost::shared_ptr<T>( new T( cfg, *fileService) ); }
virtual edm::AnalyzerWrapper< T >::~AnalyzerWrapper | ( | ) | [inline, virtual] |
virtual void edm::AnalyzerWrapper< T >::analyze | ( | edm::Event const & | event, |
const edm::EventSetup & | eventSetup | ||
) | [inline, virtual] |
everything which has to be done during the event loop. NOTE: We can't use the eventSetup in FWLite so ignore it
Implements edm::EDAnalyzer.
Definition at line 58 of file EDAnalyzerWrapper.h.
References edm::AnalyzerWrapper< T >::analyzer_.
virtual void edm::AnalyzerWrapper< T >::beginJob | ( | void | ) | [inline, virtual] |
everything which has to be done before the event loop
Reimplemented from edm::EDAnalyzer.
Definition at line 56 of file EDAnalyzerWrapper.h.
References edm::AnalyzerWrapper< T >::analyzer_.
{ analyzer_->beginJob(); }
virtual void edm::AnalyzerWrapper< T >::endJob | ( | void | ) | [inline, virtual] |
everything which has to be done after the event loop
Reimplemented from edm::EDAnalyzer.
Definition at line 60 of file EDAnalyzerWrapper.h.
References edm::AnalyzerWrapper< T >::analyzer_.
{ analyzer_->endJob(); }
boost::shared_ptr<T> edm::AnalyzerWrapper< T >::analyzer_ [protected] |
shared pointer to analysis class of type BasicAnalyzer
Definition at line 64 of file EDAnalyzerWrapper.h.
Referenced by edm::AnalyzerWrapper< T >::analyze(), edm::AnalyzerWrapper< T >::beginJob(), and edm::AnalyzerWrapper< T >::endJob().