test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
edm::BasicAnalyzer Class Referenceabstract

#include <BasicAnalyzer.h>

Inheritance diagram for edm::BasicAnalyzer:
AnalysisTasksAnalyzerBTag AnalysisTasksAnalyzerJEC BasicMuonAnalyzer PatMuonAnalyzer

Public Member Functions

virtual void analyze (const edm::EventBase &event)=0
 everything that needs to be done during the event loop More...
 
 BasicAnalyzer (const edm::ParameterSet &cfg, TFileDirectory &fileService)
 default constructor More...
 
 BasicAnalyzer (const edm::ParameterSet &cfg, TFileDirectory &fileService, edm::ConsumesCollector &&iC)
 
virtual void beginJob ()=0
 everything that needs to be done before the event loop More...
 
virtual void endJob ()=0
 everything that needs to be done after the event loop More...
 
virtual ~BasicAnalyzer ()
 default destructor More...
 

Detailed Description

Definition at line 43 of file BasicAnalyzer.h.

Constructor & Destructor Documentation

edm::BasicAnalyzer::BasicAnalyzer ( const edm::ParameterSet cfg,
TFileDirectory fileService 
)
inline

default constructor

Definition at line 46 of file BasicAnalyzer.h.

46 {};
edm::BasicAnalyzer::BasicAnalyzer ( const edm::ParameterSet cfg,
TFileDirectory fileService,
edm::ConsumesCollector &&  iC 
)
inline

Definition at line 47 of file BasicAnalyzer.h.

47 {};
virtual edm::BasicAnalyzer::~BasicAnalyzer ( )
inlinevirtual

default destructor

Definition at line 49 of file BasicAnalyzer.h.

49 {};

Member Function Documentation

virtual void edm::BasicAnalyzer::analyze ( const edm::EventBase event)
pure virtual

everything that needs to be done during the event loop

Implemented in AnalysisTasksAnalyzerBTag, BasicMuonAnalyzer, AnalysisTasksAnalyzerJEC, and PatMuonAnalyzer.

virtual void edm::BasicAnalyzer::beginJob ( )
pure virtual

everything that needs to be done before the event loop

The following functions have to be implemented for any class derived from BasicAnalyzer; these functions are called in the EDAnalyzerWrapper class or in the FWLiteAnalyzerWrapper class.

Implemented in AnalysisTasksAnalyzerBTag, BasicMuonAnalyzer, AnalysisTasksAnalyzerJEC, and PatMuonAnalyzer.

virtual void edm::BasicAnalyzer::endJob ( )
pure virtual

everything that needs to be done after the event loop

Implemented in AnalysisTasksAnalyzerBTag, BasicMuonAnalyzer, AnalysisTasksAnalyzerJEC, and PatMuonAnalyzer.