TWIST BOS Data Banks

EVID

C --> Fill EVID bank (bank format is INTEGER)     
C
C     Word   Value
C     ----   -----
C      1     ???
C      2     ???
C      3     time stamp
C      4     run number
C      5     creator id, (geant="MCPR")
C

TDCP

C --> Fill TDCP bank (bank format is INTEGER)     
C
C     Word   Value
C     ----   -----
C      1     version number
C      2     max number of tdc words
C      3     ??? (geant=0)
C      4     ??? (geant=0)
C      5     ??? (geant=0)
C      6     ??? (geant=0)
C      7     ??? (geant=0)
C      8     ??? (geant=0)
C      9     number of tdcs in use (geant=64)
C     10+islot   slot number of tdc to use, islot=0,63
C

MCTR

C --> Fill MCTR bank
C     
C     MCTR bank format  (INTEGER)
C
C     Word   Value
C     ----   -----
C      1     E614VRN (E614GEANT version number)
C      2     idrun
C      3     ievent
C      4     nrndm(1)
C      5     nrndm(2)
C      6     spin(3)*p_scale
C-----------------------
C      ptr         itrack1
C      ptr+1       pid1
C      ptr+2,3,4   vert(3) (0.1 um)
C      ptr+5,6,7   pmom(3) (100 eV)
C      ptr+8       particle vertex time (0.1 ns)
C-----------------------
C      ptr=ptr+nwt itrack2
C     ...    etc.
C

MCSP

C     MCSP bank format  (FLOAT)
C
C     Word      Value
C     ----      -----
C      1        (plane-1)*80  + cell       (for DC hits)
C        or     (plane-1)*160 + cell       (for PC hits)
C      2        x coord at min drift time  (global coords)
C      3        y coord at min drift time  (global coords)
C      4        z coord at min drift time  (global coords)
C      5        min drift time (ns)
C      6        min drift distance
C      7        ambiguity: +1, -1          (for DC hits)
C        or     ambiguity: +2, -2          (for PC hits)
C

MCS2

C     MCS2 bank format  (FLOAT)
C
C     Word      Value
C     ----      -----
C      1        geant track number
C      2        plane*160 + cell
C      3        x coord at min drift time  (global coords)
C      4        y coord at min drift time  (global coords)
C      5        z coord at min drift time  (global coords)
C      6        x momentum (MeV/c)
C      7        y momentum
C      8        z momentum
C      9        time of flight (ns)
C     10        min drift time (ns)
C     11        min drift distance
C     12        ambiguity: +1, -1          (for DC hits)
C        or     ambiguity: +2, -2          (for PC hits)
C

MCS3

C     MCS3 bank format  (FLOAT)
C
C     Word      Value
C     ----      -----
C      1        geant track number
C      2        plane*#NPC_cells + cell
C      3        x coord at min drift time  (global coords)
C      4        y coord at min drift time  (global coords)
C      5        z coord at min drift time  (global coords)
C      6        x coord of geant step
C      7        y coord of geant step
C      8        z coord of geant step
C      9        Px [MeV/c] of geant step
C     10        Py [MeV/c] of geant step
C     11        Pz [MeV/c] of geant step
C     12        Time-of-Flight (ns)
C     13        min drift time after smearing and signal prop. time (ns)
C     14        min drift distance
C     15        ambiguity: +1, -1          (for DC hits)
C        or     ambiguity: +2, -2          (for PC hits)
C

MCWI

C --> Fill MCWI bank (bank format is INTEGER)     
C
C     Word   Value
C     ----   -----
C      1     ievent
C      2     # of wire hits
C----------------------------------------
C     For each track hitting a wire
C
C      3     track #
C      4     # of wires hit by this track
C----------------------------------------
C     For each wire hit
C
C      5     names(nlevel)
C      6     number(nlevel-1)
C      7     number(nlevel-2)
C----------------------------------------

Konstantin Olchanski
Last modified: Tue Apr 18 19:55:33 PDT 2006