CMS 3D CMS Logo

Public Member Functions

edm::BasicAnalyzer Class Reference

#include <BasicAnalyzer.h>

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

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 42 of file BasicAnalyzer.h.


Constructor & Destructor Documentation

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

default constructor

Definition at line 45 of file BasicAnalyzer.h.

{};
virtual edm::BasicAnalyzer::~BasicAnalyzer ( ) [inline, virtual]

default destructor

Definition at line 47 of file BasicAnalyzer.h.

{};

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, AnalysisTasksAnalyzerJEC, PatMuonAnalyzer, and BasicMuonAnalyzer.

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, AnalysisTasksAnalyzerJEC, PatMuonAnalyzer, and BasicMuonAnalyzer.

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

everything that needs to be done after the event loop

Implemented in AnalysisTasksAnalyzerBTag, AnalysisTasksAnalyzerJEC, PatMuonAnalyzer, and BasicMuonAnalyzer.