CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 NULL;
26 }
27 
28 
#define NULL
Definition: scimark2.h:8
static BaseHiGenEvtSelector * get(std::string, const edm::ParameterSet &)
tuple cout
Definition: gather_cfg.py:121