Main Page
Namespaces
Classes
Package Documentation
PhysicsTools
ParallelAnalysis
interface
TSelectorAnalyzer.h
Go to the documentation of this file.
1
#ifndef ParallelAnalysis_TSelectorAnalyzer_h
2
#define ParallelAnalysis_TSelectorAnalyzer_h
3
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
4
#include "TList.h"
5
6
template
<
typename
Algo>
7
class
TSelectorAnalyzer
:
public
edm::EDAnalyzer
{
8
public
:
9
TSelectorAnalyzer
(
const
edm::ParameterSet
&
cfg
) :
10
list_
(),
algo_
( 0,
list_
) {
11
}
12
void
analyze
(
const
edm::Event
& evt,
const
edm::EventSetup
& )
override
{
13
algo_
.process( evt );
14
}
15
void
endJob
()
override
{
16
algo_
.postProcess(
list_
);
17
algo_
.terminate(
list_
);
18
}
19
private
:
20
TList
list_
;
21
Algo
algo_
;
22
};
23
24
#endif
TSelectorAnalyzer::list_
TList list_
Definition:
TSelectorAnalyzer.h:20
TSelectorAnalyzer
Definition:
TSelectorAnalyzer.h:7
TSelectorAnalyzer::analyze
void analyze(const edm::Event &evt, const edm::EventSetup &) override
Definition:
TSelectorAnalyzer.h:12
TSelectorAnalyzer::TSelectorAnalyzer
TSelectorAnalyzer(const edm::ParameterSet &cfg)
Definition:
TSelectorAnalyzer.h:9
TSelectorAnalyzer::endJob
void endJob() override
Definition:
TSelectorAnalyzer.h:15
edm::EventSetup
Definition:
EventSetup.h:45
looper.cfg
cfg
Definition:
looper.py:293
edm::EDAnalyzer
Definition:
EDAnalyzer.h:27
EDAnalyzer.h
TSelectorAnalyzer::algo_
Algo algo_
Definition:
TSelectorAnalyzer.h:21
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:66
Algo
Definition:
fakeMenu.h:6
Generated for CMSSW Reference Manual by
1.8.11