Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
GeneratorInterface
HiGenCommon
src
HiGenEvtSelectorFactory.cc
Go to the documentation of this file.
1
2
#include "
GeneratorInterface/HiGenCommon/interface/HiGenEvtSelectorFactory.h
"
3
#include "
GeneratorInterface/HiGenCommon/interface/EcalGenEvtSelector.h
"
4
#include "
GeneratorInterface/HiGenCommon/interface/EcalGenEvtSelectorFrag.h
"
5
#include "
GeneratorInterface/HiGenCommon/interface/MultiCandGenEvtSelector.h
"
6
#include "
GeneratorInterface/HiGenCommon/interface/PartonHadronDecayGenEvtSelector.h
"
7
#include "
GeneratorInterface/HiGenCommon/interface/HadronDecayGenEvtSelector.h
"
8
9
BaseHiGenEvtSelector
*
HiGenEvtSelectorFactory::get
(std::string filterType,
const
edm::ParameterSet
& pset){
10
if
(filterType ==
"None"
){
11
return
new
BaseHiGenEvtSelector
(pset);
12
}
else
if
(filterType ==
"EcalGenEvtSelector"
){
13
return
new
EcalGenEvtSelector
(pset);
14
}
else
if
(filterType ==
"EcalGenEvtSelectorFrag"
){
15
return
new
EcalGenEvtSelectorFrag
(pset);
16
}
else
if
(filterType ==
"MultiCandGenEvtSelector"
){
17
return
new
MultiCandGenEvtSelector
(pset);
18
}
else
if
(filterType ==
"PartonHadronDecayGenEvtSelector"
){
19
return
new
PartonHadronDecayGenEvtSelector
(pset);
20
}
else
if
(filterType ==
"HadronDecayGenEvtSelector"
){
21
return
new
HadronDecayGenEvtSelector
(pset);
22
}
23
24
std::cout
<<
"Skimmer not recognized. Fail!"
<<std::endl;
25
return
NULL
;
26
}
27
28
MultiCandGenEvtSelector.h
MultiCandGenEvtSelector
Definition:
MultiCandGenEvtSelector.h:6
PartonHadronDecayGenEvtSelector
Definition:
PartonHadronDecayGenEvtSelector.h:7
HadronDecayGenEvtSelector.h
EcalGenEvtSelectorFrag.h
NULL
#define NULL
Definition:
scimark2.h:8
EcalGenEvtSelectorFrag
Definition:
EcalGenEvtSelectorFrag.h:7
EcalGenEvtSelector
Definition:
EcalGenEvtSelector.h:7
HiGenEvtSelectorFactory::get
static BaseHiGenEvtSelector * get(std::string, const edm::ParameterSet &)
Definition:
HiGenEvtSelectorFactory.cc:9
HiGenEvtSelectorFactory.h
HadronDecayGenEvtSelector
Definition:
HadronDecayGenEvtSelector.h:7
EcalGenEvtSelector.h
edm::ParameterSet
Definition:
ParameterSet.h:35
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:121
PartonHadronDecayGenEvtSelector.h
BaseHiGenEvtSelector
Definition:
BaseHiGenEvtSelector.h:8
Generated for CMSSW Reference Manual by
1.8.5