34 gSystem->Load(
"St_base");
35 gSystem->Load(
"StChain");
36 gSystem->Load(
"StUtilities");
37 gSystem->Load(
"StarClassLibrary");
38 gSystem->Load(
"StEvent");
39 gSystem->Load(
"StStrangeMuDstMaker");
45 const Int_t Nevents = 10000;
56 strangeNewDst.SetWrite(
"newEvMuDst.root");
61 strangeOldDst.SetRead();
65 strangeNewDst.SubDst(&strangeOldDst);
69 strangeNewDst.Cuts().Add(
"Lambda mass",
"1.11 < mass < 1.12");
75 Int_t ierr = chain.Init();
76 if( ierr ) { chain.Fatal(ierr,
"on init");
return; }
79 for( Int_t i=0; i<Nevents; i++ ) {
80 if( chain.
Make() )
break;
83 for( Int_t j=0; j<strangeOldDst.GetNV0(); j++ ) {
86 if ((ml>1.11) && (ml<1.12)) strangeNewDst.SelectV0(j);
91 if( i != Nevents) chain.
Clear();
92 printf(
"*** Finished processing event %d\n",i);
105 void filterStrangeMuDst() {
Float_t massLambda()
Mass assuming lambda hypothesis.
virtual void Clear(Option_t *option="")
User defined functions.