250 likes | 336 Views
Understanding the data - a first off-line look. Sylvie Dagoret-Campagne. Global look. All packets over all runs, Try to understand the meaning data in the ROOT file, Try to understand the distribution of these data (expected or strange) Try to identify bugs or good data. How it is done.
E N D
Understanding the data - a first off-line look Sylvie Dagoret-Campagne EUSO-BALLOON Analysis Meeting, October 2-3 2014
Global look • All packets over all runs, • Try to understand the meaning data in the ROOT file, • Try to understand the distribution of these data (expected or strange) • Try to identify bugs or good data EUSO-BALLOON Analysis Meeting, October 2-3 2014
How itisdone .ROOT data .DAT data ScurvesMerged Scurves SCurves SCurves ETOT Ana ETOT Acquisition Merged Acquisition Acquisition CPU-Trigger Merged CPU-TRIGGER CPU Trigger EUSO-BALLOON Analysis Meeting, October 2-3 2014
ETOT data Structure 4 Trees : • tevent: Event packettree (physicallyoriented) • One entry is one GTU • televent : Event packettree (electronicsoriented) • One tree entry is one packet • texp : Experimentinformation tree(detector description) • tdataflow : Hardware data flow tree(CPU messages) No information islostfromraw data to ROOT data !!! EUSO-BALLOON Analysis Meeting, October 2-3 2014
ETOT data : televenttree data structure *Tree:televent: Event packettree (electronicsoriented) * *Entries : 2000 : Total = 816822060 bytes File Size = 142746500 * * : : Tree compression factor = 5.72 * ****************************************************************************** *Br 0 :cpu_packet_header : header/I * *Entries : 2000 : Total Size= 8577 bytes File Size = 156 * *Baskets : 1 : Basket Size= 32000 bytes Compression= 51.85 *............................................................................* *Br 1 :cpu_packet_evt_number : evt_number/I * *Entries : 2000 : Total Size= 8597 bytes File Size = 3013 * *Baskets : 1 : Basket Size= 32000 bytes Compression= 2.69 *............................................................................* *Br 2 :cpu_packet_time : time/I * *Entries : 2000 : Total Size= 8567 bytes File Size = 460 * *Baskets : 1 : Basket Size= 32000 bytes Compression= 17.58 *............................................................................* *Br 3 :cpu_packet_pkt_type : pkt_type/s * *Entries : 2000 : Total Size= 4583 bytes File Size = 142 * *Baskets : 1 : Basket Size= 32000 bytes Compression= 28.80 *............................................................................* *Br 4 :cpu_packet_datalength : datalength/i * *Entries : 2000 : Total Size= 8597 bytes File Size = 169 * *Baskets : 1 : Basket Size= 32000 bytes Compression= 47.88 *............................................................................* *Br 5 :cpu_packet_crc : crc/i * *Entries : 2000 : Total Size= 8562 bytes File Size = 8085 * *Baskets : 1 : Basket Size= 32000 bytes Compression= 1.00 *............................................................................* *Br 6 :clkb_event_pkt_number : pkt_number/i * *Entries : 2000 : Total Size= 8597 bytes File Size = 167 * *Baskets : 1 : Basket Size= 32000 bytes Compression= 48.46 *............................................................................* *Br 7 :clkb_event_event_number : event_number/i * *Entries : 2000 : Total Size= 8607 bytes File Size = 2924 * *Baskets : 1 : Basket Size= 32000 bytes Compression= 2.77 *............................................................................* *Br 8 :clkb_event_trigger_time : clkb_trigger_time/i * *Entries : 2000 : Total Size= 8622 bytes File Size = 7352 * *Baskets : 1 : Basket Size= 32000 bytes Compression= 1.10 *............................................................................* *Br 9 :clkb_event_gps_data : gps_data[]/b * *Entries : 2000 : Total Size= 2585 bytes File Size = 128 * *Baskets : 1 : Basket Size= 32000 bytes Compression= 16.33 *............................................................................* Br 10 :clkb_event_live_time : live_time/i * *Entries : 2000 : Total Size= 8592 bytes File Size = 2581 * *Baskets : 1 : Basket Size= 32000 bytes Compression= 3.13 *............................................................................* *Br 11 :clkb_event_dead_time : dead_time[3]/b * *Entries : 2000 : Total Size= 6592 bytes File Size = 2059 * *Baskets : 1 : Basket Size= 32000 bytes Compression= 2.96 *Br 12 :clkb_event_status_register : status_register/s * *Entries : 2000 : Total Size= 4618 bytes File Size = 150 * *Baskets : 1 : Basket Size= 32000 bytes Compression= 27.31 *............................................................................* *Br 13 :clkb_event_crc : clkb_crc/i * *Entries : 2000 : Total Size= 8577 bytes File Size = 8085 * *Baskets : 1 : Basket Size= 32000 bytes Compression= 1.00 Br14 :ccb_event_msg_type : msg_type/b * *Entries : 2000 : Total Size= 2579 bytes File Size = 127 * *Baskets : 1 : Basket Size= 32000 bytes Compression= 16.45 * *.......................................................................* *Br 15 :ccb_event_device_id : device_id/b * *Entries : 2000 : Total Size= 2584 bytes File Size = 128 * *Baskets : 1 : Basket Size= 32000 bytes Compression= 16.33 * *............................................................................* *Br 16 :ccb_event_trigger_time : ccb_trigger_time/i * *Entries : 2000 : Total Size= 8617 bytes File Size = 7337 * *Baskets : 1 : Basket Size= 32000 bytes Compression= 1.10 * *............................................................................* *Br 17 :ccb_event_L2_trigger_counter : L2_trigger_counter/i Entries : 2000 : Total Size= 8635 bytes File Size = 2934 * *............................................................................* EUSO-BALLOON Analysis Meeting, October 2-3 2014
The ROOT DatafromEtot (televent) ............................................................................* Br22 :gain : gain[1][1][2304]/s * *Entries : 2000 : Total Size= 19904040 bytes File Size = 77072 * *Baskets : 334 : Basket Size= 32000 bytes Compression= 258.16 * *............................................................................* *Br 23 :pc_threshold : pc_threshold[1][1][36]/s* *Entries : 2000 : Total Size= 272933 bytes File Size = 1213 * *Baskets : 5 : Basket Size= 32000 bytes Compression= 224.58 * *............................................................................* *Br 24 :ki_threshold: ki_threshold[1][1][36]/s * *Entries : 2000 : Total Size= 272933 bytes File Size = 1207 * *Baskets : 5 : Basket Size= 32000 bytes Compression= 225.70 * *............................................................................* *Br 25 :frame_header: frame_header[1][1][34]/b * *Entries : 2000 : Total Size= 132765 bytes File Size = 644 * *Baskets : 3 : Basket Size= 32000 bytes Compression= 205.36 * *............................................................................* Br26 :photon_count_data : photon_count_data[1][1][128][2304]/b * *Entries : 2000 : Total Size= 654040370 bytes File Size = 141544812 * *Baskets : 2000 : Basket Size= 32000 bytes Compression= 4.62 * *............................................................................* *Br 27 :ki_data: ki_data[1][1][128][288]/b * *Entries : 2000 : Total Size= 137924328 bytes File Size = 713607 * *Baskets : 2000 : Basket Size= 32000 bytes Compression= 193.22 * *............................................................................* *Baskets : 1 : Basket Size= 32000 bytes Compression= 2.76 * *............................................................................* *Br 18 :ccb_event_crc :ccb_crc/i * *Entries : 2000 : Total Size= 8572 bytes File Size = 8084 * *Baskets : 1 : Basket Size= 32000 bytes Compression= 1.00 * * Br19 :pdm_event_event_header: event_header[36]/i * *Entries : 2000 : Total Size= 577470 bytes File Size = 2504 * *Baskets : 10 : Basket Size= 32000 bytes Compression= 230.40 * *............................................................................* *Br 20 :pdm_event_event_summary : event_summary[216]/i * *Entries : 2000 : Total Size= 3494730 bytes File Size = 318037 * *Baskets : 56 : Basket Size= 32000 bytes Compression= 10.98 * *............................................................................* *Br 21 :pdm_event_Errormap : Errormap[17]/B * *Entries : 2000 : Total Size= 66676 bytes File Size = 390 * *Baskets : 2 : Basket Size= 32000 bytes Compression= 169.69 * *............................................................................* * EUSO-BALLOON Analysis Meeting, October 2-3 2014
Packet time distribution Helicopter UTC Times: 0:03 2:50 5:36 7:00 08:23 1:26 4:13 UTC time since 1970 January 1st 00:00:00 EUSO-BALLOON Analysis Meeting, October 2-3 2014
Packetnumber Not veryusefull, severalpacketscould have the samenumber EUSO-BALLOON Analysis Meeting, October 2-3 2014
Trigger time uniformity ? Whyis There this Bump in Cpu trigger ? Alsosmaller bump In acquisition Unit in Microsecond ? EUSO-BALLOON Analysis Meeting, October 2-3 2014 S-Curve flat , probably OK, whypeak on cputrigger
What is the exact definition of An event-life time, Can we understand why it is different For the various types of runs ? EUSO-BALLOON Analysis Meeting, October 2-3 2014
Whatis the definition Of the dead time. Whythistwo structure How itintervene in the flux calculation ? EUSO-BALLOON Analysis Meeting, October 2-3 2014
CPU time vs CLKB time • CPU time provides the CPU time in • UTC second ! • Clkb time unit is in what ? • Clkb time is reset ? When ? EUSO-BALLOON Analysis Meeting, October 2-3 2014
ASIC Threshold vs CPU time EUSO-BALLOON Analysis Meeting, October 2-3 2014
ASIC Threshold vsClkb time EUSO-BALLOON Analysis Meeting, October 2-3 2014
ASIC gain vs CPU time EUSO-BALLOON Analysis Meeting, October 2-3 2014
Photon count data histograms Whichsodifferents ? counts EUSO-BALLOON Analysis Meeting, October 2-3 2014 Acquisition seams to be sensitive to high signal above count 170
PC data vs ASIC thresholds EUSO-BALLOON Analysis Meeting, October 2-3 2014
KI Data I thoughtitwas Switched off EUSO-BALLOON Analysis Meeting, October 2-3 2014 KI seehighsignals on acquisition mode
Correlation PC-KI data KI data vs PC data Whatiswrongwhatis correct ? Use these plots to « trigger » on interesting GTU EUSO-BALLOON Analysis Meeting, October 2-3 2014
Quick analysis of the tree in a ROOT macro Used in the plots usedpreviously EUSO-BALLOON Analysis Meeting, October 2-3 2014
Data structure for a more refined analysis • Seenext EUSO-BALLOON Analysis Meeting, October 2-3 2014
Data structure in memory to get the data from the tree To retrieve info like in standalone-event-dump Claudio code structcpu_packetpacket_; structpayload_full_eventpayloadfullevent_; structccb_eventccbevent_; structclkb_eventclkbevent_; structpdm_eventpdmevent_; UShort_t gain_[MAXCCBCOUNT][MAXPDMCOUNT][2304]; UShort_tpc_threshold_[MAXCCBCOUNT][MAXPDMCOUNT][36]; UShort_tki_threshold_[MAXCCBCOUNT][MAXPDMCOUNT][36]; UShort_tframe_header_[MAXCCBCOUNT][MAXPDMCOUNT][34]; To readteventtree (one GTU per tree entry) UChar_tdataphys_[MAXCCBCOUNT][MAXPDMCOUNT][MAXPDMPIXNUMX][MAXPDMPIXNUMY]; UChar_tki_dataphys_[MAXCCBCOUNT][MAXPDMCOUNT][MAXKICOUNT]; To readteleventtree ( one packet per tree entry) UChar_tdatael_[MAXCCBCOUNT][MAXPDMCOUNT][MAXGTU][MAXPDMPIXNUMX*MAXPDMPIXNUMY]; UChar_tki_datael_[MAXCCBCOUNT][MAXPDMCOUNT][MAXGTU][MAXKICOUNT]; EUSO-BALLOON Analysis Meeting, October 2-3 2014
Decodingrun/event variables EUSO-BALLOON Analysis Meeting, October 2-3 2014
Decoding the data EUSO-BALLOON Analysis Meeting, October 2-3 2014
Few PDM images(GTU snapshot) Need a software trigger EUSO-BALLOON Analysis Meeting, October 2-3 2014