Presentation is loading. Please wait.

Presentation is loading. Please wait.

Ajit and Dario ALICE offline week 10th June 2003 1 Dario Favretto Ajit Kumar Mohanty ALICE Raw Data Production.

Similar presentations


Presentation on theme: "Ajit and Dario ALICE offline week 10th June 2003 1 Dario Favretto Ajit Kumar Mohanty ALICE Raw Data Production."— Presentation transcript:

1 Ajit and Dario ALICE offline week 10th June 2003 1 Dario Favretto Ajit Kumar Mohanty ALICE Raw Data Production

2 Ajit and Dario ALICE offline week 10th June 2003 1 Production Files: 15-1005Per5 13-154Per4 11-133Per3 8-112Per2 5-81Per1 0-50Cent1 b (fm)binFile AliFastGlauber: GetRandom(bin,hard) AliFastGlauber: SetHardCrossSection(0.08) Production Files Pb+Pb Collision B=0.4T Event Class: Central Events Minimum Biased Hard Trigger

3 Ajit and Dario ALICE offline week 10th June 2003 1 General strategy For each detector we have to produce as many files as the number of LDCs that are used in the Data Challenge. Since the number of LDCs is different in each Data Challenge to avoid to redo part of the work it is convenient to define a general file structure. At the end there will be as many LDCs as the number of DDLs so it is reasonable to assume a DDL as minimal block and create the files composing the data coming from a DDL block.

4 Ajit and Dario ALICE offline week 10th June 2003 1 File Structure The number of blocks depends on: Detector Number of LDCs assigned to a particular detector Number of DDL of a particular detector TPC: 12 LDCs 36*2+36*4=216 DDLs Number of DDL block per file:216/12=18 ITS SDD: 4 LDCs 12 DDLs Number of DDL block per file: 3 ITS SPD: 2 LDCs 20 DDLs Number of DDL block per file: 10 ITS SSP: 2 LDCs 16 DDLs Number of DDL block per file: 8 MHDATA Raw Data from one DDLMini Header DDL BLOCK

5 Ajit and Dario ALICE offline week 10th June 2003 1 Mini Header The Mini Header is a fixed size block (12 bytes) that contains information on the attached data block It contains to following information (as suggested by Roberto and Fons): 1) 4 bytes Data Block size 2) 3 bytes Magic number (0x123456) used to distinguish between data and garbage. 3) 1 byte Detector 0 for TPC 1 for ITS-SPD 2 for ITS-SDD 3 for ITS-SSD.... 4) 2 bytes DDL number 5) 1 byte Flag for Compressed/Uncompressed data 6) 1 byte Mini Header Version

6 Ajit and Dario ALICE offline week 10th June 2003 1 Block rearrangement MHDATAMHDATAMHDATAMHDATA MH DATAMHDATAMHDATAMHDATAMHDATAMHDATAMHDATAMHDATA MH DATAMHDATAMHDATAMHDATA File1: File2: ITS SSD: 2 LDCs and 8 blocks per file

7 Ajit and Dario ALICE offline week 10th June 2003 1 Block rearrangement MHDATAMHDATAMHDATAMHDATA MH DATAMHDATAMHDATAMHDATAMHDATAMHDATAMHDATAMHDATA MH DATAMHDATAMHDATAMHDATA File1: File2: ITS SSD: 2LDCs and 8 blocks per file ITS SSD: 4LDCs and 4 blocks per file MHDATAMHDATAMHDATAMHDATA MH DATAMHDATAMHDATAMHDATAMHDATAMHDATAMHDATAMHDATA MH DATAMHDATAMHDATAMHDATA File3File2File1File4

8 Ajit and Dario ALICE offline week 10th June 2003 1 Data Block MHDATAMHDATAMHDATAMHDATA Data block from one DDL Uncompressed data The format of the data block depend on a particular detector and it reproduces the data as they come from the electronic ALTRO data format in case of TPC Half stave frame structure in case of ITS-SPD 32 bit word in case of ITS-SDD and ITS-SSD Since data in the simulation is not organized according to the DDL schema it has required a specific mapping for each detector. TPC mapping ITS mapping Compressed data Data is compressed using different techniques according to the detector TPC: Huffman with 5 tables ITS-SDD, ITS-SPD and ITS-SSD: Only zero suppression TPC InnerTPC Outer

9 Ajit and Dario ALICE offline week 10th June 2003 1 TPC Digits Each Pad is sampled by Time Bins For a given Pad: Signals Bunch Length Time Bins (Time Gap)

10 Ajit and Dario ALICE offline week 10th June 2003 1 ALTRO format 3.1 3.7 5.4 9.0 14.2 16.6 17.4 18.0 18.8 19.2 16.6 17.4 18.0 18.8 19.2 63.7 61.5 58.6 53.4 47.4 122 99.8 71.9 41.9 26.6 80K 60k 40k 20k 10k OH (%) T (%) BL (%) Sample (%) Size (Mb) Multiplicity S0S1S2S3 S4TBBLS5 TB BLS6S7 S10TBBL2AA S8S9TBBL Words # Pad # Row # Sec # S18S19S20S21 S11TBBLS12 BL2AA S13S14TBBL Words # Pad # Row # Sec # S15S16S17TB... TRAILER 10 bits words Pad n Pad n+1

11 Ajit and Dario ALICE offline week 10th June 2003 1 Huffman Compression 5 Frequency Tables are used -Bunch Length -Time Gap -Isolated Samples -Border Samples -Central Samples Ref: Compression of TPC data in the ALICE experiment A.Nicolaucig, M. Mattavelli, S. Carrato ALICE-PUB-20010-51 version 1.0

12 Ajit and Dario ALICE offline week 10th June 2003 1 Optimized Huffman Table 50.6 53.6 53.2 Per3 Best Per2 Formulae 51.7 52.2 Per2 Best Per2 Formulae 50.1 53.2 52.9 Per5 Best Per2 Formulae 51.1 51.3 51.8 Per1 Best Per2 Formulae 50.1 53.5 53.1 Per4 Best Formulae 51.1 52.1 52.5 Cent1 Best Per2 Formulae Comp(%)FileComp(%)File Ref 1: ''Existence of Dynamical Scaling in the Temporal Signal of Time Projection Chamber'' A. K. Mohanty, D. Favretto, F. Carminati and K. Safarik. ALICE NOTE 2003 Ref 2: ''Optimization of frequency tables for static Huffman compression of ALTRO raw data'' D. Favretto, A. K. Mohanty, F. Carminati and K. Safarik ALICE NOTE 2003

13 Ajit and Dario ALICE offline week 10th June 2003 1 Raw Data Volume (MB) TPCslice1 9.9 4.87 TPCslice2 9.65 4.75 TPCslice3 10.94 5.42 TPCslice4 10.92 5.41 TPCslice5 6.61 3.46 TPCslice6 6.11 3.22 ------------- TPCslice12 6.81 3.61 -------------------------------- Total 93.44 47.81 (37.9) Compression 51.2% (TPC Central Event)

14 Ajit and Dario ALICE offline week 10th June 2003 1ITS-SPD Silicon pixel detector is composed by 120 half stave module One half stave is composed by two modules (as they are called in the simulation) and in each module there are five chips. Each chip is represented by a matrix of 256*32 elements Half Stave

15 Ajit and Dario ALICE offline week 10th June 2003 1 ITS-SPD data format Pixel hit 0Chip header 2 Chip trailer 2Pixel fill word Pixel hit nPixel hit n-1 Chip trailer 1Pixel hit n Pixel hit 2Pixel hit 1 Chip trailer 0Chip header 0 Pixel hit 0 Pixel hit 2Pixel hit 1 Chip header 1 Chip trailer 9Pixel hit n Pixel hit 0Chip header 2 Pixel hit 0Chip header 3 Pixel hit 2Pixel hit 1 Half Stave Frame 31 16 15 0 000Chip hit count 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Chip Trailer Chip addr 011XX Half stave # 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Chip Header 10XColumnRow 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Pixel hit 110x3EDC 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Pixel fill word Ref.: A. Kluge 15 Nov 2000 Every 16 bits word has a unique prefix !

16 Ajit and Dario ALICE offline week 10th June 2003 1 ITS-SDD/SSD data format 32 bits words are used to describe the digits format of Silicon Drift and Silicon Strip Detector. 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 0 Module IDAnode NumberTime bucketADC Value ITS SDD digits format: 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 0 Module ID N/P Strip NumberADC Value ITS SSD digits format: 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 0 ADC cha.Strip NumberADC ValueADC mod.PEX

17 Ajit and Dario ALICE offline week 10th June 2003 1 Raw Data Volume (MB) SPDslice1 0.092 SSDslice1 0.22 SPDslice2 0.093 SSDslice2 0.25 ------------------------- Total 0.185 (0.24) Total 0.47 (0.20) ------------------------ --------------------------- SDDslice1 0.91 SDDslice2 0.64 SDDslice3 0.45 SDDslice4 0.47 ---------------------------- Total 2.47 (1.5) ITS central Event

18 Ajit and Dario ALICE offline week 10th June 2003 1 How to generate Raw Data TPC Create galice.root Create digits AliTPCHits2Digits.C Create DDL mapping AliTPCDDL.C(''galice.root'') Execute AliTPCDDLRawData.C ITS Create galice.root Create digits AliITSHits2Digits.C Execute AliITSDDLRawData.C Ref: ''Production of Compressed and Uncompressed Raw Data for ALICE Data Challenge'' D. Favretto, A. K. Mohanty

19 Ajit and Dario ALICE offline week 10th June 2003 1 DAQ System Mass Storage System DATE FORMAT Online analysis modules

20 Ajit and Dario ALICE offline week 10th June 2003 1 DATE Format Event HSubEvent HPAYLOADSubEvent HPAYLOAD............. Raw Data from 1 LDC PAYLOAD structure in case of CALIBRATION or PHYSICS Event: MHDATAMHDATAMHDATA.............. PAYLOAD Equip. H MHDATAMHDATA.............. PAYLOAD Equip. H PAYLOAD structure in all the other types of Event: This format can be simulated by raw2date program

21 Ajit and Dario ALICE offline week 10th June 2003 1 To Do Detectors interface TPCRawData2Cluster (Thomas has succesed) ITSRawData2Cluster (To be implemented) Online tools ITS vertex multiplicity TPC noise monitoring ITS-TPC tracking Plus more AliMDC AliEn Interface

22 Ajit and Dario ALICE offline week 10th June 2003 1 Silicon Pixel Detector DDL number modules 0 { 0, 1, 4, 5, 80, 81, 84, 85, 88, 89, 92, 93}, 1 { 2, 3, 6, 7, 82, 83, 86, 87, 90, 91, 94, 95}, 2 { 8, 9,12,13, 96, 97,100,101,104,105,108,109}, 3 {10,11,14,15, 98, 99,102,103,106,107,110,111}, 4 {16,17,20,21,112,113,116,117,120,121,124,125}, 5 {18,19,22,23,114,115,118,119,122,123,126,127}, 6 {24,25,28,29,128,129,132,133,136,137,140,141}, 7 {26,27,30,31,130,131,134,135,138,139,142,143}, 8 {32,33,36,37,144,145,148,149,152,153,156,157}, 9 {34,35,38,39,146,147,150,151,154,155,158,159}, 10 {40,41,44,45,160,161,164,165,168,169,172,173}, 11 {42,43,46,47,162,163,166,167,170,171,174,175}, 12 {48,47,50,51,176,177,180,181,184,185,188,189}, 13 {50,51,54,55,178,179,182,183,186,187,190,191}, 14 {56,57,60,61,192,193,196,197,200,201,204,205}, 15 {58,59,62,63,194,195,198,199,202,203,206,207}, 16 {64,65,68,69,208,209,212,213,216,217,220,221}, 17 {66,67,70,71,210,211,214,215,218,219,222,223}, 18 {72,73,76,77,224,225,228,229,232,233,236,237}, 19 {74,75,78,79,226,227,230,231,234,235,238,239} ITS Mapping 2198 Modules ! CLOSE

23 Ajit and Dario ALICE offline week 10th June 2003 1 TPC Mapping CLOSE


Download ppt "Ajit and Dario ALICE offline week 10th June 2003 1 Dario Favretto Ajit Kumar Mohanty ALICE Raw Data Production."

Similar presentations


Ads by Google