CMS 3D CMS Logo

BasicAnalyzer.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_UtilAlgos_interface_BasicAnalyzer_h
2 #define PhysicsTools_UtilAlgos_interface_BasicAnalyzer_h
3 
9 
40 namespace edm {
41 
42  class BasicAnalyzer {
43  public:
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:296
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