ICAL PROTOTYPE DETECTOR DATA FORMAT +++++++++++++++++++++++++++++++++++ Created (BKN) Corrected on 12th July 2007 (BSN) Modified on 11th April 2008 (BKN) Corrected on 17th April 2008 (BSN) Event data:: Packet size = 167 words 01 0xAAAA 02 0x5555 03 Year 04 Run number 05-06 32-bit event counter 05 Event number_1 (Lower word) 06 Event number_2 (Higher word) 07-11 PC time (Binary) RTC time (BCD) 07 RT_1 [N.A] [Microsecs – 3,2,1] 08 RT_2 [0.1secs] [Millisecs - 3,2,1] 09 RT_3 [M2M1S2S1] [M2M1S2S1] 10 RT_4 [D2D1H2H1] [D2D1H2H1] 11 RT_5 [Y2Y1m2m1] [ D4D3] 12 Data size (155 from here on) 13-14 Two word Event Counter - Master trigger scaler counter (Hardware) 15-16 Two word Event Counter - Scintillator trigger counter (Hardware) 17-28 6 Spare scalers data (two words/channel) 29-44 TDC-1 to TDC-14, Cal 1, Cal 2 (X-plane) 45-60 TDC-1 to TDC-14, Cal 1, Cal 2 (Y-plane) 61-108 Latch information from 16 front end boards of X-plane { 1st word: |6 bits board Id|6 bits mon counter|1F|2F|3F|4F| (Board Id : MSB=0 -> X-plane, MSB=1 -> Y-plane) 2nd word: 32 to 17 RPC latch information 3rd word: 16 to 1 RPC latch information } 109-156 Latch information from 16 front end boards of Y-plane { Same as in X-Plane } 157-167 11 words of information from final trigger module Monitor data:: Packet size = 52 words 01 0x5555 02 0xAAAA 03 Run number 04 Year 05 Monitor Record number 06-10 PC time (Binary) RTC time (BCD) 06 RT_1 [N.A] [Microsecs - 3,2,1] 07 RT_2 [0.1secs] [Millisecs - 3,2,1] 08 RT_3 [M2M1S2S1] [M2M1S2S1] 09 RT_4 [D2D1H2H1] [D2D1H2H1] 10 RT_5 [Y2Y1m2m1] [ D4D3] 11 Monitor time duration (in 1/10th of secs) 12 Data size (40 from here on) 13-20 Final trigger module scaler data F1X to F4X and F1Y to F4Y 21-36 X-plane monitor data: 21 Board code and Channel code (Higher byte: Board Id = 0 to 15, MSB=0 -> X-plane, MSB=1 -> Y-plane) (Lower byte: Channel number 0 to 39) 22 Monitor scaler data 23-36 SrNo 21 & 22 repeated 7 times 37-52 Y-plane monitor data: 37 Board code and Channel code (Higher byte: Board Id = 0 to 15, MSB=0 -> X-plane, MSB=1 -> Y-plane) (Lower byte: Channel number 0 to 39) 38 Monitor scaler data 39-52 SrNo 37 & 38 repeated 7 times