From hujl@sitka.triumf.ca Wed Aug 20 14:40:17 2003
Date: Tue, 19 Aug 2003 09:32:39 -0700
From: Jingliang Hu <hujl@sitka.triumf.ca>
To: "Frank, James  S" <frank@bnl.gov>
Cc: "Kettell, Steven" <kettell@bnl.gov>
Subject: RE: beam analysis review

Hi, Jim,
 
> Can you send me a list of the cuts that you apply in order
> to generate the beam-likelihood function with km2? data?

see a list below.
 
> On another matter-
> 
> I looked at the distributions of dtk as a function of
> the number of kaon fibers.  It's pretty clear that events
> with large nk_tg are dominated by backgrounds.  With
> only a cut on itgqualt=0 and using km21 data:
> 
> nk_tg=     <dtk>  sigma dtk
>   3         .352    .272
>   6         .398    .317
>   9         .477    .401
>  12         .633    .823
>  15         .765    .837
>  18         1.13    1.32
> >20         1.72    1.75
> 
> So, the distributions with large number of nk_tg
> are very much dominated by 2-beam backgrounds, like 
> one of the events you showed yesterday.

i will check it later, or you can do a cross-check with 
the following cuts.

if you need cut functions 'b4etcon', 'pvcut_not_bv', please
check the attached files. a note to use delc.f. when i use delc
cut i set the arguement to 1.0 in order to turn off category 6 
where we cut tpi-tk based on the beam-likelihood value.

please let me know if you have any problems. (i will re-send you
the data for the 3 events which i sent to you yesterday.)

best regards,

jingliang
----
*selections for a clean kmu2 sample for bm-likelihood map
      if(cut(6).eq.1)              return !duplication event
      if(ptot.eq.0.or.ptot.eq.300) return
C.. Remove bad runs
c      if(bad_run(0.).ne.1)return
C.. TD quality cut
c      if(bad_stc(0.).ne.1)return
      
      if(cut(16).eq.0)  return ! fitpi
      if (cut(11).or.cut(13).or.cut(15).or.cut(18).or.cut(24)) return 
c                              ! reconstruction cuts
      if(lev0(15).eq.0) return ! km21 trigger
      
* cut to purify the sample (kmu2box)
      if(abs(ptot-236.6).gt.6.)   return
c      if(abs(rtot-50).gt.10.)     return
c      if(etot.lt.85.or.etot.gt.162.) return
      if(.not.(ext(3)))           return  
* consistency cuts
      if(ticcon(0.).lt.0.5)       return
      if(timcon(0.).lt.0.5)       return 
      if(b4etcon(0.).lt.0.5)      return

      if(delc(1.).lt.0.5)         return
* double-beam cuts
      if(b4ccd(0.).lt.0.5)       return
      if(bwtrs(0.).lt.0.5)        return
      if(b4t_rs(0.).lt.0.5)       return
      if(ckt_rs(0.).lt.0.5)       return
      if(cpit_rs(0.).lt.0.5)      return
      if(cktail(0.).lt.0.5)       return
      if(cpitail(0.).lt.0.5)      return
      if(eiccon(0.).lt.0.5)       return

      if(pvcut_not_bv(0.).lt.0.5) return      
      if(drp(0.).lt.0.5)          return
      if(epitg(0.).lt.0.5)        return
      if(rtdif(0.).lt.0.5)        return
      if(tgqualt(0.).lt.0.5)      return
----------


    [ Part 2, ""  Text/PLAIN (Name: "delc.f")  63 lines. ]
    [ Unable to print this part. ]


    [ Part 3, ""  Text/PLAIN (Name: "b4etcon.f")  10 lines. ]
    [ Unable to print this part. ]


    [ Part 4, ""  Text/PLAIN (Name: "pvcut_not_bv.f")  18 lines. ]
    [ Unable to print this part. ]

