Re: Too many Constants

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Aug 26 1999 - 09:11:30 MEST


Thomas Hadig wrote:
> 
> Its a kind of selection string:
> Text_t *Cmc4  = "Weight*((Itrig&2056>0)&&(Ieltyp>0 && Rele>11 && Relth>0.087266463 && Relth<2.6703538)&&(Izvtx == 1)&&(Yjo<0.9)&&(Q2jo<5000 && Q2jo>150)&&(Hfale-Hfalpz+Rele*(1-cos(Relth))>35)&&(Zvtx<34 && Zvtx>-36)&&((Relth<0.61086524) || (Tdist<12))&&((abs(Cjct0-400)<=100)||(abs(Cjct0-900)<=100)||(abs(Cjct0+100)<=100))&&((Hfalmr>=3)||(Hfale/(Hfale+Rele)>=0.1)||(Nhciz+Nhcoz>1))&&(Yjo<0.9 && Yjo>0.7) )";
> 
> (and 2056 should read 2048+8) which adds another constant...
> 
> By the way ... is there a way to introduce Weights in TCuts ?
> How are they handled, when added ?
> 

Hi Thomas,
Yes, you can have weights in TCuts.
In your example above, replace 
   Text_t *Cmc4
by
   TCut cutc4

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:38 MET