Primex Bank Definitions
structure: bankHeader_t
Name | Type | Comment |
nrow | int | number of rows |
maxrows | int | maximum number of rows |
size | int | number of 4-byte words in a row |
name[16] | char | bank name |
flags | int | Flags defined from above enum |
structure: primRawDataHit_t
Name | Type | Comment |
id | int | |
val | int | |
structure: primRawData_t
Name | Type | Comment |
bank | bankHeader_t | |
hit | primRawDataHit_t* | |
bank: hardware
Name | Type | Comment |
rocid | unsigned short | read-out controller ID |
slot | unsigned short | |
channel | unsigned short | |
val | unsigned 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
Name | Type | Comment |
id | int | |
t | float | nanoseconds |
tdc | int | TDC counts |
E | float | Energy in GeV |
status | int | |
bank: tagehit
Use members of structure TAG_HIT_t.
bank: tagthit
Use members of structure TAG_HIT_t.
bank: tagm
Name | Type | Comment |
energy | float | Energy of the photon in GeV |
t | float | T-counter time (ns) |
e_t | float | E-counter time (ns) |
status | int | Status (not yet used) |
tid | int | T channel Id |
eid | int | E channel Id |
Thit | int | index of hit in tagt_hit bank |
Ehit | int | index 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
Name | Type | Comment |
id | int | detector ID 1-16=front 17-32=back |
t | float | time (ns) |
location | int | See enum definition of PS_LOCATION_t in ps.h |
bank: psfb
Name | Type | Comment |
front | int | index to PShit bank (starting from 0) |
back | int | index to PShit bank (starting from 0) |
location | int | See enum definition of PS_LOCATION_t in ps.h |
t | float | Mean FB time in ns |
bank: psr
Name | Type | Comment |
left | int | index to PSFB bank (starting from 0) |
right | int | index to PSFB bank (starting from 0) |
t | float | mean 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
Name | Type | Comment |
t | float | Time of trigger event in ns |
E | float | Energy of photon in TAC |
bank: hycal
Use members of non-"bank" structure named in primRawData_t.
bank: hycalr
Name | Type | Comment |
id | int | this structure not yet defined |
bank: hycalhit
Name | Type | Comment |
id | int | HYCAL block ID (G's LT 1000 and W's GT 1000) |
E | float | energy deposited in block (GeV) |
bank: hycalcluster
Name | Type | Comment |
type | int | cluster types: 0,1,2,3,4;-1 |
nhits | int | Number of hits in cluster |
id | int | Cluster's central cell's ID |
E | float | Cluster's energy (GeV) |
sigma_E | float | Uncertainty in Cluster's energy (GeV) |
x | float | Cluster's x-position (cm) |
sigma_x | float | Uncertainty in Cluster's x-position (cm) |
y | float | Cluster's y-position (cm) |
sigma_y | float | Uncertainty in Cluster's y-position (cm) |
z | float | Cluster's z-position (cm) |
sigma_z | float | Uncertainty in Cluster's z-position (cm) |
status | int | Cluster's status --no meaning yet |
bank: hycalassoc
Name | Type | Comment |
id | int | Individual cell ID used in clustering |
cnum | int | Cluster 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
Name | Type | Comment |
latch | unsigned int | |
live1 | unsigned int | |
live2 | unsigned int | |
time | unsigned int | |
bank: trigt
Use members of non-"bank" structure named in primRawData_t.
bank: eventid
Name | Type | Comment |
time | unsigned long | Unix time of the event (seconds since Jan. 1, 1970) |
relative_time | unsigned long | Real time passed since begining of this file in seconds |
run_start_time | unsigned long | Start time of the run from online database in unix time |
roc_start_time | unsigned long | First non-zero value for time as read from ROC |
last_time | unsigned long | Most recent, valid value of time read from CODA eventid |
last_live2 | unsigned long | Value of live2 when last_time was set |
event_number | int | |
event_class | int | |
event_status | int | |
run_number | int | |
bank: scaler
Name | Type | Comment |
ts_assign_register | unsigned int | |
ts_scaler[18] | unsigned int | |
ts_event | unsigned int | |
ts_live1 | unsigned int | |
ts_live2 | unsigned int | |
v560E_A[16] | unsigned int | |
v560E_B[16] | unsigned int | |
bank: epics
Name | Type | Comment |
name[32] | char | |
val | float | |
bank: beam
Use members of non-"bank" structure named in primRawData_t.
bank: rate
Name | Type | Comment |
type | int | type of detector. See pflux.h for enum |
id | int | detector id. Meaningful only in context of type |
hits_total | int | total hits so far for this detector surviving time cuts |
hits | int | hits since last rate calculation surviving time cuts |
rate | float | rate for the current time chunk (very inaccurate) |
last_rate | float | rate for the previous time chunk (more accurate) |
rate_total | float | average rate calculated from hits_total |
Nevents | int | number of events accumulated this time chunk |
Ntotal | int | total number of events accumulated |
t_window | float | time window of sample in TDC counts |
chunk_size | int | number of events to add before calculating rate |
status | int | |
bank: pflux
Name | Type | Comment |
status | int | |
structure: vect4_t
Name | Type | Comment |
E | float | GeV |
px | float | GeV/c |
py | float | GeV/c |
pz | float | GeV/c |
structure: vertex_t
Name | Type | Comment |
x | float | cm |
y | float | cm |
z | float | cm |
bank: particle
Name | Type | Comment |
v | vect4_t | 4-vector E,px,py,pz in GeV |
type | int | See kinematics.h: geant_particles_t enum |
p | float | GeV/c |
m | float | GeV/c^2 |
theta | float | radians |
phi | float | radians |
creation | vertex_t | creation vertex (probably somewhere in target) |
detector | vertex_t | point at which particle entered detector |
bank: mchead
Name | Type | Comment |
id | int | |
rcs_string[128] | char | |
active | int | |
bank: mcpart
Name | Type | Comment |
part | particle_t | |
state | int | unknown=0, initial=1, intermediate=2, final=3 |
bank: mcgen
Name | Type | Comment |
generator | int | Unique identifier of the generator from DB |
production_channel | int | Inital mechanism producing event (specific to generator) |
decay_channel | int | Decay channel leading to final state (if applicable) |
flags | int | = use undefined at present = |
bank: mcdeposited
Name | Type | Comment |
system | int | Detector system: undefined=0, hycal=1, ps=2, veto=3, tac=4, bpm=5, tagger=6 |
id | int | Detector id within the system |
Edeposited | float | Energy deposited in GeV |
CVS: $Id: bankdef_mozilla.html,v 1.1 2003/12/10 20:31:01 marki Exp $