src
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
nullptr
;
26
}
MultiCandGenEvtSelector.h
MultiCandGenEvtSelector
Definition:
MultiCandGenEvtSelector.h:6
PartonHadronDecayGenEvtSelector
Definition:
PartonHadronDecayGenEvtSelector.h:7
HadronDecayGenEvtSelector.h
EcalGenEvtSelectorFrag.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
EcalGenEvtSelectorFrag
Definition:
EcalGenEvtSelectorFrag.h:7
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
bJpsiMuMuTrigSettings_cff.filterType
filterType
Definition:
bJpsiMuMuTrigSettings_cff.py:3
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:48
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
PartonHadronDecayGenEvtSelector.h
BaseHiGenEvtSelector
Definition:
BaseHiGenEvtSelector.h:8
Generated for CMSSW Reference Manual by
1.8.14