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"){
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 }
27 
28 
static BaseHiGenEvtSelector * get(std::string, const edm::ParameterSet &)