The ALICE Data-Acquisition Software Framework DATE V5 F. Carena, W. Carena, S. Chapeland, R. Divià, I. Makhlyueva, J-C. Marin, K. Schossmaier , C. Soós, P. Vande Vyvre, A. Vascotto for the ALICE collaboration CHEP06 13 – 17 February 2006 T.I.F.R. Mumbai, India
12
Embed
The ALICE Data-Acquisition Software Framework DATE V5 F. Carena, W. Carena, S. Chapeland, R. Divià, I. Makhlyueva, J-C. Marin, K. Schossmaier, C. Soós,
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
The ALICE Data-Acquisition Software Framework DATE V5
F. Carena, W. Carena, S. Chapeland, R. Divià, I. Makhlyueva, J-C. Marin, K. Schossmaier, C. Soós, P. Vande Vyvre, A. Vascotto
Testing:reference system, on-line data challenges, test beams
DATE V5
Packages
CHEP06, 13 - 17 February 2006
4ALICE DAQ Software Framework DATE V5
Architecture
CTPFEEs
HLT Farm
DDLs
TTC
CTP = Central Trigger Processor
TTC = Trigger, Timing, and ControlFEE = Front-End Electronics
HLT = High-Level Trigger
DDL = Detector Data Link
StorageNetwork
PDS
TDS
10Gb Ethern
et
TDS = Transient Data Storage
PDS = Permanent Data Storage
SoftwareFramework
DATE V5
LDCs
GDCs
Event-BuildingNetwork
Servers
LDC = Local Data Concentrator
GDC = Global Data Collector
~200
~50
~10
CHEP06, 13 - 17 February 2006
5ALICE DAQ Software Framework DATE V5
LDC Dataflow
equ. header
LDC header
equ. header
sub-event
payload
CDH
fragment
fragment
fragment
LDCs
DDLs
payload
CDH
fragment
payload
CDH
fragment
readout
recorder
edmAgent
htlAgent
readout process:- an “equipment” handles one data source- equipment library for DDL, VMEbus, etc.- merges fragments into sub-events - checks the Common Data Header (CDH)
recorder process: - streamlines sub-events- writes sub-events onto local disks - sends sub-events to GDCs
edmAgent process:- dispatches the sub-event to the GDCs- guided by the Event Distribution Manager (EDM)
htlAgent process:- handles the HLT decision and data- instructs to drop/keep the sub-event
eventBuilder process:- handles incoming sub-events- assembles the full events- guided by event-building rules + LDC headers- tells its load to the EDM
mStreamRecorder process: - get full events via a memory mapped scheme- records with multiple stream- data formats: raw binary, ROOT tree- transmission protocol: standard, RFIO, ROOTd
CHEP06, 13 - 17 February 2006
8ALICE DAQ Software Framework DATE V5
Control
LDCs
GDCs
Servers
rcServer
rcServer
runControl
rcServer process:- launched by the xinetd daemon- starts/stops DATE processes- gets commands via DIM- shared memory control region
runControl process:- one per data acquisition; several are allowed- interface to get commands from operator or ECS
logic engine process:- hosts finite state machines (SMI)- communicates with the rcServer processes (DIM)
runControl, Status display, SMI
display Experiment
Control System
(ECS)
logicEngine
CHEP06, 13 - 17 February 2006
9ALICE DAQ Software Framework DATE V5
Static Database
Servers
Roles: LDC, GDC, EDM, detectors, trigger mask Trigger: relationship detector and trigger mask Detectors: composition of detectors/sub-
detectors Memory banks: type, size, name per role Event building: policies for build, no-build, partial Readout equipments: type, parameter per LDC
MySQLor
text files
graphical tools for
configuration configuration
files >EQTYPES
>Rand 1 GENDATA
EvMinSize %ld
EvMaxSize %ld
EqId %hd
triggerPattern %hd
>Timer 4 TRIGGER
EvInterval %ld
>GLOBALPARAMS
>LDCS
>pcald10
+ Timer (TimerAsTrigger)
1000
+ Rand (1stRand)
10000 10000000 13 4
>pcald12
...
CHEP06, 13 - 17 February 2006
10ALICE DAQ Software Framework DATE V5
Monitoring statsBrowser + infoLogger:
- collect and display statistics of the runs- Web access
DATE V5: - covers the whole range of DAQ tasks for ALICE- satisfies the functional + performance requirements- runs on single machine and large-scale setups- is available as kits (RPM package) - user’s guide: ALICE-INT-2005-015- regular training courses - is tested at reference system, data challenges, test beams - is ready for the test and commissioning phase- homepage: http://cern.ch/alice-daq
Future work (DATE V6):- port to 64-bit platforms- port to SLC4 using a 2.6 kernel- electronic logbook- Transient Data Storage Manager (TDSM)- new upcoming requests