Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
& ) {
13
algo_
.process( evt );
14
}
15
void
endJob
(
const
edm::EventSetup
& ) {
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::TSelectorAnalyzer
TSelectorAnalyzer(const edm::ParameterSet &cfg)
Definition:
TSelectorAnalyzer.h:9
edm::EventSetup
Definition:
EventSetup.h:44
TSelectorAnalyzer::analyze
void analyze(const edm::Event &evt, const edm::EventSetup &)
Definition:
TSelectorAnalyzer.h:12
edm::EDAnalyzer
Definition:
EDAnalyzer.h:25
EDAnalyzer.h
TSelectorAnalyzer::algo_
Algo algo_
Definition:
TSelectorAnalyzer.h:21
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:62
TSelectorAnalyzer::endJob
void endJob(const edm::EventSetup &)
Definition:
TSelectorAnalyzer.h:15
Algo
Definition:
fakeMenu.h:6
Generated for CMSSW Reference Manual by
1.8.5