doocs daq software for the eudet prototype valeria bartsch (ucl) andrzej misiejuk (rhul) tao wu...

17
DOOCS DAQ software for the EUDET prototype Valeria Bartsch (UCL) Andrzej Misiejuk (RHUL) Tao Wu (RHUL)

Upload: kevin-fleming

Post on 25-Dec-2015

234 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: DOOCS DAQ software for the EUDET prototype Valeria Bartsch (UCL) Andrzej Misiejuk (RHUL) Tao Wu (RHUL)

DOOCS DAQ software for the EUDET prototype

Valeria Bartsch (UCL)

Andrzej Misiejuk (RHUL)

Tao Wu (RHUL)

Page 2: DOOCS DAQ software for the EUDET prototype Valeria Bartsch (UCL) Andrzej Misiejuk (RHUL) Tao Wu (RHUL)

Overview over the task - DOOCS software -

hardware

UserInterface

Program Interface

Middle Layer

Hardwareinterface

http://tesla.desy.de/doocs/doocs.html

Page 3: DOOCS DAQ software for the EUDET prototype Valeria Bartsch (UCL) Andrzej Misiejuk (RHUL) Tao Wu (RHUL)

Overview over the task- ENS naming service -

hardware

UserInterface

Program Interface

Middle Layer

Hardwareinterface

provided by DOOCS and

already in use for RPC

communication between client

and server

Page 4: DOOCS DAQ software for the EUDET prototype Valeria Bartsch (UCL) Andrzej Misiejuk (RHUL) Tao Wu (RHUL)

ENS Naming Service

• Naming convention is already specified (similar for LDA, DIF and ASICS) • Properties need input from hardware programmers

Screenshot of the rpc_util GUI

Page 5: DOOCS DAQ software for the EUDET prototype Valeria Bartsch (UCL) Andrzej Misiejuk (RHUL) Tao Wu (RHUL)

Overview over the task

hardware

UserInterface

Program Interface

Middle Layer

Hardwareinterface

Hardware interface most important at

this stage

Page 6: DOOCS DAQ software for the EUDET prototype Valeria Bartsch (UCL) Andrzej Misiejuk (RHUL) Tao Wu (RHUL)

Hardware interface

LDALDA

e.g. e.g. ECALECALSlabSlab

DIFDIF

ODRODR

DriverDriver

OptoOpto

OptoOpto

Concentrating on the ODR interface:• because it is the first hardware layer to talk to• the device is close to be ready • easy communication with colleagues at UCL and RHUL

Plan:• start with the LDA and DIF in September• have the interfaces ready about end of the year

DOOCShardwareinterface

PC

DOOCS

Page 7: DOOCS DAQ software for the EUDET prototype Valeria Bartsch (UCL) Andrzej Misiejuk (RHUL) Tao Wu (RHUL)

Overview over the ODR interface

ODR Control Interface

Sockets

DOOCS device server

ENSnaming service

RPC

GUIsRPC

store to disk

ODR

DAQ PC

Control Room PC

• communication between different parts of DOOCS by RPCs• configuration files used to find different parts of the system

Page 8: DOOCS DAQ software for the EUDET prototype Valeria Bartsch (UCL) Andrzej Misiejuk (RHUL) Tao Wu (RHUL)

Overview over the ODR interface

ODR Control Interface

SocketsENS

naming service

RPC

store to disk

• one device server can have many instance all connecting to different ports and hostnames

• using 2 threads: one for receiving, one for sending on the socket

• sockets format chosen to build an interface to the ODR and the LDA

ODR

DOOCS device server

Build Socket StreamSend configurationRecv dataSend & Recv in 2 threads

Page 9: DOOCS DAQ software for the EUDET prototype Valeria Bartsch (UCL) Andrzej Misiejuk (RHUL) Tao Wu (RHUL)

Check out our demonstrator

ODR interface at work- screenshot -

Page 10: DOOCS DAQ software for the EUDET prototype Valeria Bartsch (UCL) Andrzej Misiejuk (RHUL) Tao Wu (RHUL)

ODR interface at work- screenshot -

Check out our demonstrator

Page 11: DOOCS DAQ software for the EUDET prototype Valeria Bartsch (UCL) Andrzej Misiejuk (RHUL) Tao Wu (RHUL)

Overview over the task

hardware

UserInterface

Program Interface

Middle Layer

Hardwareinterface

•important •ramps the whole DAQ system up and down•will be started after the hardware interfaces are ready(Jan-Mar 2009)

Page 12: DOOCS DAQ software for the EUDET prototype Valeria Bartsch (UCL) Andrzej Misiejuk (RHUL) Tao Wu (RHUL)

Overview over the task

hardware

UserInterface

Program Interface

Middle Layer

Hardwareinterface

DAQ:•Event collection•Event building•LCIO conversion (to be implemented)

Importance: low, can be done at the end of the software project;

Alternatively this can be done offline

Page 13: DOOCS DAQ software for the EUDET prototype Valeria Bartsch (UCL) Andrzej Misiejuk (RHUL) Tao Wu (RHUL)

suggested timeline

Sept Oct Nov Dec Jan Feb Mar2009

LDA and DIF interface

State Machine

GUI, alarm handling, logging

event building, etc.

ODR, LDA, DIF test bench at UCL

Configuration database

Page 14: DOOCS DAQ software for the EUDET prototype Valeria Bartsch (UCL) Andrzej Misiejuk (RHUL) Tao Wu (RHUL)

backup slides

Page 15: DOOCS DAQ software for the EUDET prototype Valeria Bartsch (UCL) Andrzej Misiejuk (RHUL) Tao Wu (RHUL)

State Analysis

State = Dead

Transition = PowerUpsuceed failed

State = Ready

State = Running

State = Configured

State = InBunchTrain

Transition = PowerDown

Transition = StartRun Transition = EndRun

Transition = StartConfiguration Transition = EndConfiguration

Transition = BunchTrainStart Transition = BunchTrainEnd

Page 16: DOOCS DAQ software for the EUDET prototype Valeria Bartsch (UCL) Andrzej Misiejuk (RHUL) Tao Wu (RHUL)

DAQ systemFC/SC: Fast/Slow Collector

BM:Buffer Manager

EVB:Event Builder

Example with dummy data has been successfully tested

Page 17: DOOCS DAQ software for the EUDET prototype Valeria Bartsch (UCL) Andrzej Misiejuk (RHUL) Tao Wu (RHUL)

Alarm handling