From chensm@sitka.triumf.ca Tue Aug 26 18:44:23 2003
Date: Fri, 22 Aug 2003 08:38:28 -0700
From: Shaomin Chen <chensm@sitka.triumf.ca>
To: "Frank, James  S" <frank@bnl.gov>
Cc: 'Jingliang Hu' <hujl@sitka.triumf.ca>, "Kettell, Steven" <kettell@bnl.gov>
Subject: RE: beam analysis review

Jim,

On Fri, 22 Aug 2003, Frank, James  S wrote:

> Shaomin,
> 
> OK, I see the programs, but what cut do you impose?
> Do you demand utc_fit=0 return for success?  And,
> what about utcqual3.f  It looks like utcqual3
> calls other routines, and comes up with some log
> likelihood.  Have you set a cut on this?

Yes, you can get the cut positions from utc_qual.f

--shaomin


> > 
> > Yes, I did. The cut is given in utcqual3.f and utc_fit.f.
> > 
> > --shaomin
> > 
> > > > -----Original Message-----
> > > > From: Shaomin Chen [mailto:chensm@sitka.triumf.ca]
> > > > Sent: Thursday, August 21, 2003 4:33 PM
> > > > To: Frank, James S
> > > > Cc: 'Jingliang Hu'; Kettell, Steven
> > > > Subject: RE: beam analysis review
> > > > 
> > > > 
> > > > Jim,
> > > > 
> > > > On Thu, 21 Aug 2003, Frank, James  S wrote:
> > > > 
> > > > > Another question....
> > > > > 
> > > > > It also seems like one would want to impose some
> > > > > utc reconstruction quality cuts.  For too-few z-hits, I imagine
> > > > > the probability of getting a very bad z reconstruction
> > > > > is high, so this would lead to artificially filling some
> > > > > tgz vs ek bins due to nonsensical tgz.  Are there
> > > > > cuts that are imposed by the kinematics cuts that have
> > > > > been developed that will almost certainly be applied
> > > > > in the pnn1 analysis in order to get rid of lousy
> > > > > utc reconstructions?
> > > > 
> > > > The kinematic cuts have no requirement on the tgz value.
> > > > It is true that we need a safety cut on it.
> > > > 
> > > > --shaomin
> > > > 
> > > > 
> > > > > 
> > > > > > -----Original Message-----
> > > > > > From: Frank, James S 
> > > > > > Sent: Thursday, August 21, 2003 4:01 PM
> > > > > > To: 'Jingliang Hu'
> > > > > > Cc: Kettell, Steven
> > > > > > Subject: RE: beam analysis review
> > > > > > 
> > > > > > 
> > > > > > Jingliang,
> > > > > > 
> > > > > > OK, I think I've installed the list of cuts.  I
> > > > > > did it locally here, because I already had the
> > > > > > merged function for many of the variables.
> > > > > > 
> > > > > > I have 2 questions at this time-
> > > > > > 1) when you did the beam likelihood, what were the
> > > > > > edges and width  and number of the bins you
> > > > > > used for the tgz vs ek?
> > > > > > 2) I don't understand the pv cut that is imposed.
> > > > > > It seems like, for km21, you want to block off
> > > > > > the BVL system, but include the cuts on the
> > > > > > BV system.  From the printout, it looks like
> > > > > > you turn off the BV system.  Am I missing
> > > > > > something here?
> > > > > > 
> > > > > > Thanks,  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
> > > > > > > ----------
> > > > > > > 
> > > > > > > 
> > > > > > 
> > > > > 
> > > > 
> > > 
> > 
> 

