Last update 03/12/2001 SJM: link to calibration banks
added
Main Banks
Main output banks from FTREC - raw data, hits, clusters, segments, tracks.
FTRK FZGM
FCLP FCLQ
FRPE FRQE FRPD FRQD
P-Banks
Banks establishing links between the main output banks.
FTEP FTZP FZCP FCPP
FCQP
X-Banks
Banks establishing links between the main output banks.
FTOX FTQX
FCPX FCQX
FZPX FZQX FTZX
Internal Banks Banks internal to FTREC. Not normally in output.
Segment Banks: FZGF FZZP FZZI FFCP FZQI FZPI
Pattern recognised tracks: FTLR FPLR
FPLX FQLX FSLX
*-- Author : S.Maxfield / E.Rizvi
! BANKname BANKtype
! Comments
!
TABLE FTOX
! Forward Planars Circular Pointers
!
! ATTributes:
! -----------
! COL ATT-name FMT Min Max !Comments
!
1 FTOX I
0 +INF ! pointer to next hit of
same track
2 DTFLAG I 0
1 ! bit 0 = 0: positive driftlength
! bit 0 = 1: negative driftlength
!
! Note that only bit 0 is defined currently, but more information
! may be added in future.
!
! RELations:
! ----------
! COL REL.name TYPE INT.bank ! Comments
!
(COL)
0 FRPE
D1T1
! Pointers parallel to digis in old planars
!
END TABLE
*-- Author : S.Maxfield / E.Rizvi
! BANKname BANKtype
! Comments
!
TABLE FTQX
! Forward Planars Circular Pointers
!
! ATTributes:
! -----------
! COL ATT-name FMT Min Max !Comments
!
1 FTQX
I 0 +INF
! pointer to next hit of same track
2 DTFLAG
I 0 1
! bit 0 = 0: positive driftlength
! bit 0 = 1: negative driftlength
!
! Note that only bit 0 is defined currently, but more information
! may be added in future.
!
! RELations:
! ----------
! COL REL.name TYPE INT.bank ! Comments
!
(COL)
0 FRQE
D1T1
! Pointers parallel to digis in new planars
!
END TABLE
*-- Author : S.Maxfield / E.Rizvi
! BANKname BANKtype
! Comments
!
TABLE FCPX
! Forward Planars Circular Pointers
!
! ATTributes:
! -----------
! COL ATT-name FMT Min Max !Comments
!
1 FCPX
I 0 +INF ! pointer to
next hit of same cluster
2 DTFLAG I 0
1 ! bit 0 = 0: positive
driftlength
! bit 0 = 1: negative driftlength
!
! Note that only bit 0 is defined currently, but more information
! may be added in future.
!
! RELations:
! ----------
! COL REL.name TYPE INT.bank ! Comments
!
(COL)
0 FRPE
D1T1
! Pointers parallel to digis in old planars
!
END TABLE
*-- Author : S.Maxfield / E.Rizvi
! BANKname BANKtype
! Comments
!
TABLE FZQX
! Forward Planars Circular Pointers
!
! ATTributes:
! -----------
! COL ATT-name FMT Min Max !Comments
!
1 FZQX
I 0 +INF ! pointer to
next (new) cluster in segment
!
!
! RELations:
! ----------
! COL REL.name TYPE INT.bank ! Comments
!
(COL)
0 FCLQ
D1T1
! Pointers parallel (new) clusters
!
END TABLE
*-- Author : S. Maxfield/E. Rizvi
!
! BANKname BANKtype
! Comments
!
TABLE FTEP
! Forward Tracker Pointer bank with
! pointers from FTRK to FTiX banks
! ATTributes:
! -----------
! COL ATT-name FMT Min Max !Comments
!
1 NHITFQ I 0
+INF ! Nr of hits on track from new planars
3 NHITFP I 0
+INF ! Nr of hits on track from old planars
!
! RELations:
! ----------
! COL REL.bank TYPE INT.bank !Comments
!
(COL)
2 FTQX
D1TM 1 ! Pointer to first new planar hit of
FTKR track
4 FTOX
D1TM 1 ! Pointer to first old planar hit of
FTKR track
END TABLE
END TABLE
END TABLE
END TABLE
END TABLE
! BANKname BANKtype
!Comments
!
TABLE FTRK
! Forward Tracker Tracks
!
! S.Maxfield / E. Rizvi
!
! ATTributes:
! -----------
!COL ATT-name FMT Min Max !Comments
!
! parameters at start point
!
1 KAPPA
F -INF +INF ! signed inverse radius
2 PHI
F -PI +PI
! track angle in xy-plane
3 THETA
F 0. +PI
! polar angle
4 X
F -99.0 +99.0 ! X
5 Y
F -99.0 +99.0 ! Y
6 Z
F 100.0 300.0 ! Z at which
parameters given
! (NOT a parameter)
7 IPTYP
I 1
2 ! type of parametrization (=2)
8 DKAPPA F
0. +INF
!
9 DPHI
F 0. TWOPI
!
10 DTHETA F
0. +PI
! errors
11 DX
F 0. +9
99. !
12 DY
F 0. +999.
!
13 C1
F -INF +INF !
14 C2
F -INF +INF ! packed covariance (with COVCP)
15 C3
F -INF +INF !
16 C4
F -INF +INF !
17 NDF
I 0 +108
! # degrees of freedom (NOT # of hits)
18 CHSQ
F 0. +INF ! chisquare
19 NX
I -1 +INF ! pointer
to parameterisation at end
20 NHIT
I 0 +INF ! packed nr of hits:
! 65536*NPLNP + 16777216*NPLNQ + MASK
! NOTES:
! NB These tracks always come in pairs, with start and end parameters
! successive. Thus word 19 is alternately (row # + 1) and (-1).
! The parameters are given at the z coordinate of the first and last
! measured points.
!
!
Like old FTKR bank except column20 and no column 21
!
! MASK in col 20 :
! If the row contains track start
parameters (i.e. word 19 is positive,
! row number is odd) then:-
! bits 0-14 bit pattern of used clusters
(orientations)
! ordered so that z increases with
bit number
!
1=present 0,absent
!
! If the row contains track end parameters
(i.e. word 19 is negative,
! row number is even) then:-
! bits 0-14 bit pattern of cluster
quality information
! ordered so that z increases with
bit number
!
0=good, 1=poor
!
! RELations:
! ----------
!COL REL.bank TYPE INT.bank !Comments
!
(COL)
21 FTEP
DMT1
! pointer to hit pointering bank
END TABLE
END TABLE
! BANKname BANKtype
!Comments
!
TABLE FCLP
! Forward Tracker Clusters (old).
!
! S.Maxfield / E. Rizvi
!
! ATTributes:
! -----------
!COL ATT-name FMT Min Max !Comments
!
! parameters at start point
!
1 ALPHA
F -INF +INF ! \
2 BETA
F -INF +INF ! -| w(z)=alpha*z**2+beta*z+gamma
3 GAMMA F
-INF +INF ! /
(see note below)
4 CHISQ
F -INF +INF
5
IFLAG I
0 +INF ! Packed
info: cell num of first hit,
!
! bit pattern representing cluster type
!
! Notes:
! a)z is in the FTD frame i.e. nominal geometry+corrections
for internal alignment
! b) IFLAG: bits
0-3 bit pattern of used hits (1=used 0=absent)
!
z increasing with bit number
!
bits 16-31 cell number of first hit!
! RELations:
! ----------
!COL REL.bank TYPE INT.bank !Comments
!
(COL)
0 FCPP
D1T1
! pointer to hit pointering bank
END TABLE
END TABLE
*-- Author :
! BANKname BANKtype
!Comments
!
TABLE FRPE
B16 ! Forward_Response_Planar_Event
bank
! (digitisations)
! ATTributes:
! -----------
!COL ATT-name FMT Min Max !Comments
!
1 CELLNUM I 0
1151 ! Cell Number
2 DRIFT
I
! Drift time/length (.04 ns/ 10 micron)
3 QPLUS
I
! charge at + wire end (eV)
! integral (dE/dx)*dx over path in cell
4 IFLAG0
I
! set to zero
5 IFLAG1
I
! FADC pulse information (MC = 0)
6 IFLAG2
I
! FADC pulse information
END TABLE
!
! NOTES:
!
! IFLAG0 bits 0 - 7 DOS sum of
hit.
!
bits 8 - 15 Number of time slices to previous hit.
!
Actually number of time slices between
!
the centres of the hits.
!
! IFLAG1 bits 0 - 7 (Re-linearised
pedestal)/2 for this FRPD block.
!
bits 8 - 15 DOS sum of previous hit.
!
! IFLAG2 bits 0 - 6 Number
of time slices from start of hit
!
cluster to end of this hit. The planar QT
!
makes two passes through the data; first looking
!
for regions above threshold in the non-linear
!
data to define hit clusters, then looking for
!
hits above threshold in DOS within these hit
!
clusters.
!
bits 7 - 10 Number of adjacent bins above threshold in DOS.
!
bits 11 - 14 Number of previous hits found within this hit
!
cluster.
!
bit 15
Set when raw data has been kept for this FRPD
!
block. Raw data is only kept when too many hits
!
have been detected, namely 16 on-line (about 10%
!
for ep data) and 32 off-line (about 0.1% for
!
ep data).
END TABLE
!
! NOTES:
!
! IFLAG0 bits 0 - 7 DOS sum of
hit.
!
bits 8 - 15 Number of time slices to previous hit.
!
Actually number of time slices between
!
the centres of the hits.
!
! IFLAG1 bits 0 - 7 (Re-linearised
pedestal)/2 for this FRPD block.
!
bits 8 - 15 DOS sum of previous hit.
!
! IFLAG2 bits 0 - 6 Number
of time slices from start of hit
!
cluster to end of this hit. The planar QT
!
makes two passes through the data; first looking
!
for regions above threshold in the non-linear
!
data to define hit clusters, then looking for
!
hits above threshold in DOS within these hit
!
clusters.
!
bits 7 - 10 Number of adjacent bins above threshold in DOS.
!
bits 11 - 14 Number of previous hits found within this hit
!
cluster.
!
bit 15 Set
when raw data has been kept for this FRPD
!
block. Raw data is only kept when too many hits
!
have been detected, namely 16 on-line (about 10%
!
for ep data) and 32 off-line (about 0.1% for ep data).
Raw Data
*-- Author : Scott Kolya
!
! BANK: FRPD
!
! Source: Master (concatenated from FEP banks)
! Status: Fixed
! When: Event
! Length: Variable
! Type: Unsigned short
! Number: Event Number
!
! Contents: A number of data blocks.
!
! Each data block consists of a header+ data. Header contains
a total
! word count, a flag word indicating type of data, the channel
number,
! and the start time of the data in clock counts. The MSB of the
flag
! word is set for special blocks - currently:
!
! $8000 => End Block, $8001 => Pad block, $8002 =>Swap block.
!
! Special blocks have a truncated (2 word) header. Special blocks should
! be ingnored in analysis. If the upper byte of a data block (ie
with
! positive IFLAG) is not zero then this indicates padding in the
data.
! Bit 2 of this byte is set if the padding is at the start of the data.
! Bit field 0:1 indicates the number of padding bytes. The data follows
! the header as a number of timeslices, each timeslice being long
size
! and containing bytes from four FADC channels connected to the wires of
! a single planar cell.
!
! Feb 92: TYPE byte now used as Qt return code when online Qt
running,
! set to 0 in all other cases. Three bits in upper byte of flags
word
! previously used for Qt return code now reserved.
!
! BANKname BANKtype
!Comments
BANK FRPD B16
! Forward_Response_Planar_raw_Data
! (digitisations)
!COL ATT-name FMT Min Max !Comments
1 w00001 I
! 1. word
2 w00002 I
! 2. word
! ........
END BANK
!
! BANKname BANKtype
!Comments
BANK FRQD B16
! Forward_Response_Planar_raw_Data
! (digitisations)
!COL ATT-name FMT Min Max !Comments
1 w00001 I
! 1. word
2 w00002 I
! 2. word
! ........
END BANK
a) Segments: Connected Set
*-- Author : S. Maxfield
! BANKname BANKtype
!Comments
!
TABLE FZGF
! Forward tracker ZeGments.
!
! (Full set of segments including
connected segments)
! S.Maxfield / E. Rizvi
***Modified to include full cov matrix***
!
! ATTributes:
! -----------
!COL ATT-name FMT Min Max !Comments
!
! parameters at start point
!
1 KAPPA F
-INF +INF ! signed inverse radius
2 PHI
F -PI +PI
! track angle in xy-plane
3 THETA F
0. +PI
! polar angle
4 X
F -99.0 +99.0 ! X
5 Y
F -99.0 +99.0 ! Y
6 Z
F 100.0 300.0 ! Z at which parameters
given
! (NOT a parameter)
7 IPTYP
I 1
2 ! type of parametrization (=?)
8 DKAPPA F 0.
+INF !
9 DPHI
F 0. TWOPI !
10 DTHETA F 0.
+PI ! errors
11 DX
F 0. +999.
!
12 DY
F 0. +999.
!
13 Ckphi
F -INF +INF !
14 Cktheta F
-INF +INF !
15 Ckx
F -INF +INF !
16 Cky
F -INF +INF !
17 Cphitheta F -INF
+INF ! full covariance matrix
18 Cphix
F -INF +INF !
19 Cphiy
F -INF +INF !
20 Cthetax F -INF
+INF !
21 Cthetay F -INF
+INF !
22 Cxy F
-INF +INF !
23 NDF
I 0 +108
! # degrees of freedom (NOT # of hits)
24 CHSQ F
0. +INF
! chisquare
25 IFLAG I
0 3
! packed nr of hits:
! 65536*NPLNP + 16777216*NPLNQ + MASK
26 IFLAG2 I 0
+INF ! connection information
!
!
! Notes:
! MASK: bits 0-4
bit pattern of used orientations (z increasing with bit number)
!
bits 5-9 corresponding bit pattern of cluster
quality (0=good, 1=poor)
!
bits 10-11 supermodule number 0-2
! IFLAG2 bit 0
0 in final disconnected set (may have had shared clusters)
!
1 in final connected set
!
bit 1 0 disconnected
(never had shared clusters)
!
1 connected
!
bits 15-31 disconnection quality information!
!
!
! RELations:
! ----------
!COL REL.bank TYPE INT.bank !Comments
!
(COL)
0 FFCP
D1T1
! pointer to cluster pointering bank
END TABLE
*-- Author : S. Maxfield
!
! BANKname BANKtype
! Comments
!
TABLE FZZP
! Forward Zegment-to-Zegment
! Pointers
! ATTributes:
! -----------
! COL ATT-name FMT Min Max !Comments
!
1 NSEGC
I 0 INF
! Nr of segments connected to this
!
! RELations:
! ----------
! COL REL.bank TYPE INT.bank !Comments
!
(COL)
2 FZGF
D1IM FZZI
! Relation to segments
!
via intermediate bank
! Notes: One to many with intermediate bank. This relates
!
connected segments (i.e.. all segments which share a
!
cluster
END TABLE
END TABLE
*-- Author : S.Maxfield
! descriptive only NOT
part of the DDL
! BANKname BANKtype
! Comments
!
!TABLE FZPI
! Forward Zegment new Planar Intermediate
!
bank for full segment to cluster link
! ATTributes:
! -----------
! COL ATT-name FMT Min Max !Comments
!
! 1 ICLUS
I 0
INF ! Pointer to cluster
!
!
! RELations:
! ----------
! COL REL.name TYPE INT.bank ! Comments
!
(COL)
!
!END TABLE
b) Pattern Recognised Tracks
! BANKname BANKtype
!Comments
!
TABLE FTLR
! Forward Tracker Pattern Recon.
!
! Stephen Maxfield
! TEMPORARY bank - not normally in
!
Output.
! ATTributes:
! -----------
!COL ATT-name FMT Min Max !Comments
!
!
1 KAPPA
F -INF +INF !
signed inverse radius
2 PHI
F -PI +PI
! track angle in xy-plane
3 THETA
F 0.
+PI ! polar angle
4 X
F -99.0 +99.0
! X
5 Y
F -99.0 +99.0
! Y
6 Z
F 100.0 300.0
! Z at which parameters given
! (NOT a parameter)
7 IPTYP
I 1
2
! type of parametrization (=2)
8 DKAPPA F
0. +INF !
9 DPHI
F 0.
TWOPI !
10 DTHETA F
0. +PI !
errors
11 DX
F 0.
+999. !
12 DY
F 0.
+999. !
13 C1
F -INF +INF
!
14 C2
F -INF +INF
! packed covariance (with COVCP)
15 C3
F -INF +INF
!
16 C4
F -INF +INF
!
17 NDF
I 0
+108 ! # degrees of freedom (NOT
# of hits)
18 CHSQ
F 0.
+INF ! chisquare
19 NX
I -1
+INF ! (always 0 in this bank)
20 NHIT
I 0
+INF ! packed nr of hits:
! 65536*NOldplanrs + 16777216*NNewplanars
!
! NB Format mimics that of FTKR. There is only one set of parameters
! for each pattern recognised track however. These are usually
given
! near the track beginning.
!
! RELations:
! ----------
!COL REL.bank TYPE INT.bank !Comments
!
(COL)
21 FPLR
D1T1
! pointer to pointering bank
END TABLE
END TABLE
END TABLE
END TABLE
END TABLE