Two run event filter in the simulation following task need to be added into the dst macro.
Here one can find several example for different trigger conditions which were set during the pp runs
M4smart
HTaskSet *evtfilter = new HTaskSet("evtfiltertasks","evtfiltertasks");
HLvl1EvtFilter *evtflt = new HLvl1EvtFilter("eventfilter","eventfilter","sim,metamult,tofinomult,opsec",4,2);
evtfilter->connect(evtflt);
M2
HTaskSet *evtfilter = new HTaskSet("evtfiltertasks","evtfiltertasks");
HLvl1EvtFilter *evtflt = new HLvl1EvtFilter("eventfilter","eventfilter","sim,metamult",2);
evtfilter->connect(evtflt);
M3
HTaskSet *evtfilter = new HTaskSet("evtfiltertasks","evtfiltertasks");
HLvl1EvtFilter *evtflt = new HLvl1EvtFilter("eventfilter","eventfilter","sim,metamult",2);
evtfilter->connect(evtflt);
M2opp
HTaskSet *evtfilter = new HTaskSet("evtfiltertasks","evtfiltertasks");
HLvl1EvtFilter *evtflt = new
HLvl1EvtFilter("eventfilter","eventfilter","sim,metamult,opsec",2);
evtfilter->connect(evtflt);
How to connect it
Later on, the event filter tast need to be connected into the master task set. It is important, that it will be connected
after task of tof and tofino
!!!!!
HTaskSet *masterTaskSet = gHades->!getTaskSet("simulation");
masterTastSet->add(tofTasks);
masterTastSet->add(tofinoTasls);
masterTastSet->add(evtflt);
make sure that in your
MakeFile also tofutil is connected.
--
GosiaSudol - 15 Feb 2008