Re: [BLAST_SHIFTS] solution for prot[0][15] error!

From: Chris Crawford (chris2@lns.mit.edu)
Date: Mon Nov 04 2002 - 10:56:09 EST


hi all,
  the problem with
               bash> root -l show_protons.C -c prot[0][15] 2450
is actually a shell problem: tcsh interprets the [] w/o passing them to root.

the solution: put your special characters in single quotes:
               root -l show_protons.C -c 'prot[0][15]' 2450
--chris

Benjamin Clasie wrote:

> We continued taking data using the eep trigger from last night. The event
> rates were ~350Hz at 85mA, and the runs were:
>
> Run# #events
> 2445 274k
> 2446 301k
> 2447 284k
> 2449 345k
> 2450 335k
>
> (trigger = 'elastic_tof10-15.settings')
> Tavi made an access at 14:10 to work on the CC gain matching in the
> D-tunnel. Jason worked on the analysis of the TOF L/R asymmetry using
> show_protons.C. Tried using some of the generic cuts ('padc_cc' and
> 'cc_only') and indeed, as Tancredi mentioned, these introduce
> asymmetries. The file 'show_protons.out' now also outputs the
> asymmetries for the different paddle combinations. The convention is that
> the proton paddle is vertical, and the asymmetry is defined as
> A = (Np_left - Np_right)/(Np_left + Np_right). This may make it a bit
> easier to compare cuts, etc. For some reason, I couldn't get the
> individual cuts ('prot[0][15]' for example) working when i would include
> it as a cut argument to show_protons.C. i.e.
>
> root -l show_protons.C -c prot[0][15] 2450
>
> it gives me 'no match', as in: 'Jason is no match for ROOT'.I'm sure I'm
> just using TCut wrong. Anyway, the global cuts are not so good for
> cutting out the electron/pion spike in the tdc diff spectra, so these
> individual cuts would probably help a lot.
>
> As of 4pm Tavi is still in the D-tunnel working on Cherenkovs.
>
> Have fun,
>
> JS BC



This archive was generated by hypermail 2.1.2 : Mon Feb 24 2014 - 14:07:28 EST