4-Dec-97 Kevin Pitts COT online database needs -assumes split wires, SL1 and SL2 => 34560 channels, 1440 ASD boards, 360 TDCs FE electronics (ASD) per superlayer: superlayer I 1 byte discriminator thresh R 4 bytes (by quadrant => 4/SL) dE/dx drain current R 4 bytes dE/dx enable I 1 byte attenuator I 1 byte global (all COT) Vref even I 1 byte Vref odd I 1 byte calib pulse width I 1 byte dE/dx calib sequence I 1 byte -------- total (all *8) 92 bytes note: Vref even, Vref odd, and calib pulse width all refer to the "timing" calibration. dE/dx calib sequence would be an identifier which would be associated with a specific sequence of Vrefs and pulse widths for the dE/dx calibration. i.e. somewhere we would have it documented that for example sequence 2 was the following sequence with n (15) pulses at each point): 1. Vref=1V, width=20nsec 2. Vref=1V, width=30nsec 3. Vref=1.5V, width=20nsec ... Then if we wanted to change the sequence at some point during the run, we would identify the new sequence in the database with a new number. TDC global (all TDCs) DSP program 4K bytes per TDC max drift time I 2 bytes max hits/chan I 1 byte enable/dead/skip I 96 byte -------- total (360 TDCs) 36K bytes note: I believe TDC FRAM data will be stored in a separate database at the University of Michigan and does not have to be part of the online database. FE calibration (timing and dE/dx) per channel superlayer I 1 byte wire(0-5760 in SL8) I 2 bytes timing slope R 4 bytes timing offset R 4 bytes dE/dx slope R 4 bytes dE/dx offset R 4 bytes dE/dx nolinearity R 4 bytes -------- total (34,650 channels) 797K bytes High Voltage per channel superlayer I 1 byte wire(0-24) I 1 byte voltage R 4 bytes current limit R 4 bytes v limit ? R 4 bytes -------- total (all*200) 2.8K bytes note: Need to check on V_limit, but likely not necessary. Environment temperature pressure drift gas mixture (e.g. Ar:Et 50:50, etc.) drift gas flow rate alcohol temperature note: Temperature and pressure will go into the event stream, although it is possible that we may want to archive some temperatures (e.g. cooling water temp?) in the database. Drift constants (Stage 0/Post 0) global t0 drift velocity lorentz angle Alignment wire positions note: Alignment is still a database issue for us, but is categorized under Level 3.