00001 int prepass(const char *daqFile,const char *flg)
00002 {
00003 gROOT->ProcessLine(".L bfc.C");
00004 TString opt(flg);
00005 opt += ",SpcChgCalG,MakeEvent,ITTF,OShortR,OSpaceZ2,MuDst,-dstout";
00006 bfc(0,opt,daqFile);
00007 chain->SetAttr(".call","SetActive(0)","MuDst");
00008 chain->SetAttr(".call","SetActive(0)","outputStream");
00009 chain->SetAttr(".call","SetActive(0)","kink2");
00010 chain->SetAttr(".call","SetActive(0)","StTagsMaker::");
00011 chain->SetAttr(".call","SetActive(0)","StStrangeMuDstMaker::");
00012 chain->EventLoop(1,10000);
00013 return 99;
00014 }