CMS 3D CMS Logo

HiGenEvtSelectorFactory.cc
Go to the documentation of this file.
1 
8 
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") {
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
Definition: MultiCandGenEvtSelector.h:6
bJpsiMuMuTrigSettings_cff.filterType
filterType
Definition: bJpsiMuMuTrigSettings_cff.py:3
MultiCandGenEvtSelector.h
EcalGenEvtSelectorFrag.h
gather_cfg.cout
cout
Definition: gather_cfg.py:144
HiGenEvtSelectorFactory::get
static BaseHiGenEvtSelector * get(std::string, const edm::ParameterSet &)
Definition: HiGenEvtSelectorFactory.cc:9
edm::ParameterSet
Definition: ParameterSet.h:47
BaseHiGenEvtSelector
Definition: BaseHiGenEvtSelector.h:8
HadronDecayGenEvtSelector
Definition: HadronDecayGenEvtSelector.h:7
PartonHadronDecayGenEvtSelector
Definition: PartonHadronDecayGenEvtSelector.h:7
EcalGenEvtSelector
Definition: EcalGenEvtSelector.h:7
EcalGenEvtSelector.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HiGenEvtSelectorFactory.h
EcalGenEvtSelectorFrag
Definition: EcalGenEvtSelectorFrag.h:7
PartonHadronDecayGenEvtSelector.h
HadronDecayGenEvtSelector.h
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27