Re: [BLAST_ANAWARE] Electronics map and missing super layers

From: zhangchi (zhangchi@general.lns.mit.edu)
Date: Sun Jan 25 2004 - 16:58:44 EST


Hi, Doug:

I checked, in the latest version, the way WCchamber is handled in TBLRaw
indeed is changed. I am not sure who changed it an when but it handles the
conversion to chamber and superlayer at the time raw is read, and it was
changed within the library consistantly.
TBLRaw.cc: 335
        WCchamber[WCnhits] = chamber/2;
        WCsuperlayer[WCnhits] = chamber%2;
TBLRaw.h: 328:
  int GetWCchamber(int hit) const { return WCchamber[hit];}
  int GetWCsuperlayer(int hit) const { return WCsuperlayer[hit];}

I have changed the wc_quick.C in blast account:
          cham = gRaw->GetWCchamber(id);
          super = gRaw->GetWCsuperlayer(id);
hope it would be fine now.

I guess this is the first time wc_quick.C is run after we installed the
new lib for blast account.

Chi

On Sun, 25 Jan 2004, Douglas Hasell wrote:

> Hi,
>
> I think something has happened to the electronics.map or the way
> TBLRaw decodes it.
> I have tried redirecting to the specific map in the elog/archive but
> that doesn't help.
>
> Anyway, it appears that raw.GetWCchamber(i) returns a value in the
> range 0-2 rather than 0-5.
> The effect is that the superlayer information is lost. This will make
> reconstruction difficult.
>
> I have only done this on runs 4226-4237 but I expect it is general.
> If you run WC_quick.C you should see TDC and wire hits in all chambers,
> all superlayers, all sectors.
>
>
> Cheers,
>
> Douglas
>
> 26-415 M.I.T.
> Tel: +1 (617) 258-7199
> 77 Massachusetts Avenue Fax: +1 (617)
> 258-5440
> Cambridge, MA 02139, USA E-mail:
> hasell@mit.edu
>



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