TObjArray* HList=new TObjArray;
StTriggerSimuMaker *simuTrig = new StTriggerSimuMaker("StarTrigSimu");
simuTrig->setHList(HList);
simuTrig->setMC(true); // must be before individual detectors, to be passed
simuTrig->useBbc();
simuTrig->useBemc();
simuTrig->useEemc(0);
simuTrig->bemc->setConfig(StBemcTriggerSimu::kOffline);
StGenericL2Emulator* simL2Mk = new StL2_2006EmulatorMaker;
assert(simL2Mk);
simL2Mk->setSetupPath("/afs/rhic.bnl.gov/star/users/kocolosk/public/StarTrigSimuSetup/");
simL2Mk->setOutPath("/star/institutions/iucf/IlyaSelyuzhenkov/data/MCFilter/StGenericL2Emulator_log/");
simuTrig->useL2(simL2Mk);