From frank@bnl.gov Wed Aug 20 14:40:04 2003
Date: Tue, 19 Aug 2003 12:45:03 -0400
From: "Frank, James  S" <frank@bnl.gov>
To: 'Jingliang Hu' <hujl@sitka.triumf.ca>
Cc: "Kettell, Steven" <kettell@bnl.gov>, "Frank, James  S" <frank@bnl.gov>
Subject: RE: beam analysis review

    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Jingliang,

Thanks.  Also, please resend the ntuples for those events
because paw cant read them.

I've done a little looking at z vs e as a f(nk_tg),
and some cuts that should mostly remove background
events (many of them are on your list, but I'll
redo after I get all the functions.  I suspect
that after I do this, I will still have the same
question:

When I histogram z vs e as a scatter plot, and do a
projection, so that I plot a slice in z, I see a gaussian 
peak, plus a tail that extends towards low energy values.
An example for 4 target fibers at a z slice near 0:
fit gives <etg>=84.0, with sigma =6.64.  The fit is
ok for 2 decades on the high-e side, but within 1 decade
on the low e side, the data pushes low.  There is significant
data more than 5 sigma below the peak.  So, my question
is....what did you do about this in your combined likelihood
function?  Did you do any 'background' subtraction?  Or will
events get low weighting naturally?  The plots tend towards
being more 'taily' as I look those with 1 or 2 kaon fibers,
so how to handle this within the context of modifications
to the likelihood function get more problematical.

Jim 

> -----Original Message-----
> From: Jingliang Hu [mailto:hujl@sitka.triumf.ca]
> Sent: Tuesday, August 19, 2003 12:33 PM
> To: Frank, James S
> Cc: Kettell, Steven
> 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
> ----------
> 
> 
