Primex Bank Definitions

structure: bankHeader_t

NameTypeComment
nrowintnumber of rows
maxrowsintmaximum number of rows
sizeintnumber of 4-byte words in a row
name[16]charbank name
flagsintFlags defined from above enum

structure: primRawDataHit_t

NameTypeComment
idint
valint

structure: primRawData_t

NameTypeComment
bankbankHeader_t
hitprimRawDataHit_t*

bank: hardware

NameTypeComment
rocidunsigned shortread-out controller ID
slotunsigned short
channelunsigned short
valunsigned short

bank: tagt

Use members of non-"bank" structure named in primRawData_t.

bank: tage

Use members of non-"bank" structure named in primRawData_t.

structure: TAG_HIT_t

NameTypeComment
idint
tfloatnanoseconds
tdcintTDC counts
EfloatEnergy in GeV
statusint

bank: tagehit

Use members of structure TAG_HIT_t.

bank: tagthit

Use members of structure TAG_HIT_t.

bank: tagm

NameTypeComment
energyfloatEnergy of the photon in GeV
tfloatT-counter time (ns)
e_tfloatE-counter time (ns)
statusintStatus (not yet used)
tidintT channel Id
eidintE channel Id
Thitintindex of hit in tagt_hit bank
Ehitintindex of hit in tage_hit bank

bank: pst

Use members of non-"bank" structure named in primRawData_t.

bank: psa

Use members of non-"bank" structure named in primRawData_t.

bank: pshit

NameTypeComment
idintdetector ID 1-16=front 17-32=back
tfloattime (ns)
locationintSee enum definition of PS_LOCATION_t in ps.h

bank: psfb

NameTypeComment
frontintindex to PShit bank (starting from 0)
backintindex to PShit bank (starting from 0)
locationintSee enum definition of PS_LOCATION_t in ps.h
tfloatMean FB time in ns

bank: psr

NameTypeComment
leftintindex to PSFB bank (starting from 0)
rightintindex to PSFB bank (starting from 0)
tfloatmean PS time

bank: tact

Use members of non-"bank" structure named in primRawData_t.

bank: taca

Use members of non-"bank" structure named in primRawData_t.

bank: tacr

NameTypeComment
tfloatTime of trigger event in ns
EfloatEnergy of photon in TAC

bank: hycal

Use members of non-"bank" structure named in primRawData_t.

bank: hycalr

NameTypeComment
idintthis structure not yet defined

bank: hycalhit

NameTypeComment
idintHYCAL block ID (G's LT 1000 and W's GT 1000)
Efloatenergy deposited in block (GeV)

bank: hycalcluster

NameTypeComment
typeintcluster types: 0,1,2,3,4;-1
nhitsintNumber of hits in cluster
idintCluster's central cell's ID
EfloatCluster's energy (GeV)
sigma_EfloatUncertainty in Cluster's energy (GeV)
xfloatCluster's x-position (cm)
sigma_xfloatUncertainty in Cluster's x-position (cm)
yfloatCluster's y-position (cm)
sigma_yfloatUncertainty in Cluster's y-position (cm)
zfloatCluster's z-position (cm)
sigma_zfloatUncertainty in Cluster's z-position (cm)
statusintCluster's status --no meaning yet

bank: hycalassoc

NameTypeComment
idintIndividual cell ID used in clustering
cnumintCluster number for this ID

bank: vetoa

Use members of non-"bank" structure named in primRawData_t.

bank: vetot

Use members of non-"bank" structure named in primRawData_t.

bank: trigger

NameTypeComment
latchunsigned int
live1unsigned int
live2unsigned int
timeunsigned int

bank: trigt

Use members of non-"bank" structure named in primRawData_t.

bank: eventid

NameTypeComment
timeunsigned longUnix time of the event (seconds since Jan. 1, 1970)
relative_timeunsigned longReal time passed since begining of this file in seconds
run_start_timeunsigned longStart time of the run from online database in unix time
roc_start_timeunsigned longFirst non-zero value for time as read from ROC
last_timeunsigned longMost recent, valid value of time read from CODA eventid
last_live2unsigned longValue of live2 when last_time was set
event_numberint
event_classint
event_statusint
run_numberint

bank: scaler

NameTypeComment
ts_assign_registerunsigned int
ts_scaler[18]unsigned int
ts_eventunsigned int
ts_live1unsigned int
ts_live2unsigned int
v560E_A[16]unsigned int
v560E_B[16]unsigned int

bank: epics

NameTypeComment
name[32]char
valfloat

bank: beam

Use members of non-"bank" structure named in primRawData_t.

bank: rate

NameTypeComment
typeinttype of detector. See pflux.h for enum
idintdetector id. Meaningful only in context of type
hits_totalinttotal hits so far for this detector surviving time cuts
hitsinthits since last rate calculation surviving time cuts
ratefloatrate for the current time chunk (very inaccurate)
last_ratefloatrate for the previous time chunk (more accurate)
rate_totalfloataverage rate calculated from hits_total
Neventsintnumber of events accumulated this time chunk
Ntotalinttotal number of events accumulated
t_windowfloattime window of sample in TDC counts
chunk_sizeintnumber of events to add before calculating rate
statusint

bank: pflux

NameTypeComment
statusint

structure: vect4_t

NameTypeComment
EfloatGeV
pxfloatGeV/c
pyfloatGeV/c
pzfloatGeV/c

structure: vertex_t

NameTypeComment
xfloatcm
yfloatcm
zfloatcm

bank: particle

NameTypeComment
vvect4_t4-vector E,px,py,pz in GeV
typeintSee kinematics.h: geant_particles_t enum
pfloatGeV/c
mfloatGeV/c^2
thetafloatradians
phifloatradians
creationvertex_tcreation vertex (probably somewhere in target)
detectorvertex_tpoint at which particle entered detector

bank: mchead

NameTypeComment
idint
rcs_string[128]char
activeint

bank: mcpart

NameTypeComment
partparticle_t
stateintunknown=0, initial=1, intermediate=2, final=3

bank: mcgen

NameTypeComment
generatorintUnique identifier of the generator from DB
production_channelintInital mechanism producing event (specific to generator)
decay_channelintDecay channel leading to final state (if applicable)
flagsint= use undefined at present =

bank: mcdeposited

NameTypeComment
systemintDetector system: undefined=0, hycal=1, ps=2, veto=3, tac=4, bpm=5, tagger=6
idintDetector id within the system
EdepositedfloatEnergy deposited in GeV

CVS: $Id: bankdef_mozilla.html,v 1.1 2003/12/10 20:31:01 marki Exp $