PhysicsTools
UtilAlgos
interface
BasicAnalyzer.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_UtilAlgos_interface_BasicAnalyzer_h
2
#define PhysicsTools_UtilAlgos_interface_BasicAnalyzer_h
3
4
#include "
FWCore/Common/interface/EventBase.h
"
5
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
6
#include "
FWCore/Utilities/interface/InputTag.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include "
CommonTools/Utils/interface/TFileDirectory.h
"
9
40
namespace
edm
{
41
42
class
BasicAnalyzer
{
43
public
:
45
BasicAnalyzer
(
const
edm::ParameterSet
&
cfg
,
TFileDirectory
& fileService){};
46
BasicAnalyzer
(
const
edm::ParameterSet
&
cfg
,
TFileDirectory
& fileService,
edm::ConsumesCollector
&& iC){};
48
virtual
~BasicAnalyzer
(){};
49
57
virtual
void
beginJob
() = 0;
60
virtual
void
endJob
() = 0;
62
virtual
void
analyze
(
const
edm::EventBase
&
event
) = 0;
63
};
64
65
}
// namespace edm
66
67
#endif
edm::BasicAnalyzer::BasicAnalyzer
BasicAnalyzer(const edm::ParameterSet &cfg, TFileDirectory &fileService, edm::ConsumesCollector &&iC)
Definition:
BasicAnalyzer.h:46
edm
HLT enums.
Definition:
AlignableModifier.h:19
TFileDirectory
Definition:
TFileDirectory.h:24
EventBase.h
TFileDirectory.h
edm::BasicAnalyzer::analyze
virtual void analyze(const edm::EventBase &event)=0
everything that needs to be done during the event loop
edm::BasicAnalyzer::~BasicAnalyzer
virtual ~BasicAnalyzer()
default destructor
Definition:
BasicAnalyzer.h:48
edm::BasicAnalyzer::endJob
virtual void endJob()=0
everything that needs to be done after the event loop
edm::BasicAnalyzer::beginJob
virtual void beginJob()=0
everything that needs to be done before the event loop
edm::ParameterSet
Definition:
ParameterSet.h:47
InputTag.h
looper.cfg
cfg
Definition:
looper.py:297
edm::BasicAnalyzer
Definition:
BasicAnalyzer.h:42
edm::EventBase
Definition:
EventBase.h:46
edm::BasicAnalyzer::BasicAnalyzer
BasicAnalyzer(const edm::ParameterSet &cfg, TFileDirectory &fileService)
default constructor
Definition:
BasicAnalyzer.h:45
ConsumesCollector.h
ParameterSet.h
event
Definition:
event.py:1
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.16