CMS 3D CMS Logo

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 42 of file BasicAnalyzer.h.

Constructor & Destructor Documentation

◆ BasicAnalyzer() [1/2]

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

default constructor

Definition at line 45 of file BasicAnalyzer.h.

45 {}

◆ BasicAnalyzer() [2/2]

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

Definition at line 46 of file BasicAnalyzer.h.

46 {}

◆ ~BasicAnalyzer()

virtual edm::BasicAnalyzer::~BasicAnalyzer ( )
inlinevirtual

default destructor

Definition at line 48 of file BasicAnalyzer.h.

48 {}

Member Function Documentation

◆ analyze()

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.

◆ beginJob()

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.

◆ endJob()

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

everything that needs to be done after the event loop

Implemented in AnalysisTasksAnalyzerBTag, BasicMuonAnalyzer, AnalysisTasksAnalyzerJEC, and PatMuonAnalyzer.