#include <HiGenEvtSelectorFactory.h>
Public Member Functions | |
HiGenEvtSelectorFactory () | |
virtual | ~HiGenEvtSelectorFactory () |
Static Public Member Functions | |
static BaseHiGenEvtSelector * | get (std::string, const edm::ParameterSet &) |
Definition at line 5 of file HiGenEvtSelectorFactory.h.
HiGenEvtSelectorFactory::HiGenEvtSelectorFactory | ( | ) | [inline] |
Definition at line 7 of file HiGenEvtSelectorFactory.h.
{;}
virtual HiGenEvtSelectorFactory::~HiGenEvtSelectorFactory | ( | ) | [inline, virtual] |
Definition at line 8 of file HiGenEvtSelectorFactory.h.
{;}
BaseHiGenEvtSelector * HiGenEvtSelectorFactory::get | ( | std::string | filterType, |
const edm::ParameterSet & | pset | ||
) | [static] |
Definition at line 8 of file HiGenEvtSelectorFactory.cc.
References gather_cfg::cout, and NULL.
{ if(filterType == "None"){ return new BaseHiGenEvtSelector(pset); }else if(filterType == "EcalGenEvtSelector"){ return new EcalGenEvtSelector(pset); }else if(filterType == "MultiCandGenEvtSelector"){ return new MultiCandGenEvtSelector(pset); }else if(filterType == "PartonHadronDecayGenEvtSelector"){ return new PartonHadronDecayGenEvtSelector(pset); }else if(filterType == "HadronDecayGenEvtSelector"){ return new HadronDecayGenEvtSelector(pset); } std::cout<<"Skimmer not recognized. Fail!"<<std::endl; return NULL; }