daq system at the 2002 atlas muon test beam g. avolio – univ. della calabria e. pasqualucci - infn...

18
DAQ System at the 2002 DAQ System at the 2002 ATLAS Muon Test Beam ATLAS Muon Test Beam G. Avolio – Univ. della Calabria E. Pasqualucci - INFN Roma

Upload: garey-curtis

Post on 28-Dec-2015

215 views

Category:

Documents


1 download

TRANSCRIPT

DAQ System at the 2002DAQ System at the 2002ATLAS Muon Test BeamATLAS Muon Test Beam

G. Avolio – Univ. della CalabriaE. Pasqualucci - INFN Roma

2nd Sept. 2002 CERN - ATLAS Muon Week 2

Hardware and Software Hardware and Software Configuration (1)Configuration (1)

Hardware: Three VME crates:

BEAM CRATE Read-out via S-Link 1 RIO-II (CC and ROD emulator) 1 I/O Register (Trigger purpose) 3 KLOE TDCs for tracker readout 1 CAMAC/VME interface for hodoscope readout

2 MDT CRATES 1 Read-out via S-Link, 1 read-out via Ethernet 1 RIO-II (CC and ROD emulator) 3 CSMs for chambers readout each 1 VME Corbo

2nd Sept. 2002 CERN - ATLAS Muon Week 3

Hardware and Software Hardware and Software Configuration (2)Configuration (2)

Hardware: 3 RIOs Six PCs:

One running the online software (RunControl, etc…)2 ROS

One receives data via S-LinkOne receives data via EthBoth have a CORBO PCI

1 for monitoring tasks and DFM1 for EB, SFI/O and data collection1 used as GW + DNS of the private network

DAQ farm for Event Filter Fast ethernet network for control messages and ROD

data Gigabit ethernet for data and connection to the EF farm

2nd Sept. 2002 CERN - ATLAS Muon Week 4

Hardware and Software Hardware and Software Configuration (3)Configuration (3)

Software: DAQ –1 environment

Online software release 0.0.17 + patchesROS software release 2_22 with Linux kernel

updateOBK upgraded to MySQL database version

KLOE softwarekIPC, VME libraries, TDC libraries

Specific modules libraries Rod emulator and crate controller (running on

RIO-II) Online monitoring and EF

2nd Sept. 2002 CERN - ATLAS Muon Week 5

The DAQ SchemaThe DAQ SchemaADCs, TDCs

C.C.

ROD

TDCs Reg

Beam Crate

C.C.

ROD

Corbo

CSM

MDT_1 Crate C.

C.

ROD

Corbo

CSM

MDT_2 Crate

OnlinePC

MonitoringCalibration

PC

PC

PVSS / DCS

GEthFEth

PC ROS 1

GEthFEthPCROS 2

GW

GEth

FEth

GEth SFI SFO

PC

Sw

itch

GE

th

Data Flow

Barrel Endcap

CDR

Event Filter

Control

Switch FEth

Ethernet

2nd Sept. 2002 CERN - ATLAS Muon Week 6

New Features:New Features:Programmable TriggerProgrammable Trigger

Trigger selectionthrough RunControl

IGUIInformation

stored in the IS

Trigger controller

Reads trigger type from

the IS

C.C.

ROD

TDCs Reg Programs the

I/O Register

Signals sent tothe trigger

logic

2nd Sept. 2002 CERN - ATLAS Muon Week 7

Pctbmu04

Event

Frag

men

tsFr

om

RO

Ss

QuadPC Farm

Calib Online

New Features:New Features:Event Filter (1)Event Filter (1)

SFOSFI

Event FilterTask

CDR

SFI: SubFarmInput – It receives andbuffers the events fragments from ROSs, builds a full event and sendsit to the EF

SFO: SubFarmOutput – It receivescomplete events accepted by the EFand writes all data to disk

2nd Sept. 2002 CERN - ATLAS Muon Week 8

New Features:New Features:Event Filter (2)Event Filter (2)

TDCs Spectra

Channel Map

Nowadays the EF produces online histos such as TDCs spectra,channel maps, residuals (this means on-line tracking!)

2nd Sept. 2002 CERN - ATLAS Muon Week 9

New Features:New Features:DataFlow Manager (DFM)DataFlow Manager (DFM)

The DFM informs ROSs where they have to send their data fragment

It also receives messages if SFI is not ready to accept a new event

Why DFM at H8 test beam? It’s a very useful test It avoids fragment misalignment because of

the difference in speed between the two ROSs (one receiving data via S-Link and the other one via Fast Ethernet)

2nd Sept. 2002 CERN - ATLAS Muon Week 10

New Features:New Features:Monitoring TasksMonitoring Tasks

They are the same program

They run in the on-line environment and are automatically controlled by a controller

It’s possible to control them “by hand” and then give the control back to the controller

Temporary histos files are created

Histos are automatically saved at the end of run

C.C.

ROD

Corbo

CSM

MDT_1 Crate

Sampler atcrate level

(Barrel Event)

Monitoring Task 1

Monitoringfactory

Pctbmu04SFI SFO

Monitoring Task 2

Sampler atSFI level

(Complete Event)

Monitoringfactory

2nd Sept. 2002 CERN - ATLAS Muon Week 11

New Features:New Features:Online Event Display (1)Online Event Display (1)

GEthFEth

PC ROS 1

GEthFEthPCROS 2

GEth

FEth

GEth SFI SFO

PC

Switch

Persint reads the eventat the SFI level…

…and displaysit

2nd Sept. 2002 CERN - ATLAS Muon Week 12

New Features:New Features:Online Event Display (2)Online Event Display (2)

2nd Sept. 2002 CERN - ATLAS Muon Week 13

This Java panel is executed at the end of each run

New Features:New Features:OBK InterfaceOBK Interface

Shifter commentto the run

From the IS

From theconfiguration DB

Informations sentto the OBK to be

displayed ascomments

2nd Sept. 2002 CERN - ATLAS Muon Week 14

DAQ – DAQ – DCS (1)DCS (1)

DCS achievements: End Cap Alignment Bar and MDTs (EOL-EOS)

Temperature Monitoring Barrel MDTs Temperature Monitoring Chamber Gas System Monitoring Acquiring SPS-H8 Accelerator Data using PVSSII Integrate new CAEN SY2527 HV system in PVSSII New DAQ-DCS Communication to Exchange Data

Information Service used to publish informations as gas parameters and magnet current

2nd Sept. 2002 CERN - ATLAS Muon Week 15

DAQ – DAQ – DCS (2)DCS (2)

Daq – DCS communication: Alignment

EndCapDCS implemented with a PVSS applicationDDC (DAQ to DCS Communication) package

used to implement a communication system from and to DAQ (Start/End of Run, Run Number)

BarrelDCS uses ICARAS softwareNo DAQ communication

TemperatureTemperature data sent to the DAQ and

recorded in an ascii file along with the DAQ main stream of data

2nd Sept. 2002 CERN - ATLAS Muon Week 16

AchievementsAchievements

Full system working with good stability The system has been able to handle a

rate of ~ 5 KHz System limit has not been reached Sometimes low rate because of electronics problems

Very complete configuration: 3 crates (2 read-out via S-Link and 1 via Ethernet) 2 ROSs EB, SFI/O, DFM, EF Online monitoring Online event display DAQ to DCS communication

2nd Sept. 2002 CERN - ATLAS Muon Week 17

ProblemsProblemsMain Problems

Missing fragmentNot frequentPossible random fragment

size bigger than the page size due to chamber noise

Recovery time about 3 minutes

RIO CPUs OS not handling well system resources

PC ROS 1

ADCs, TDCs

C.C.

ROD

TDCs Reg

Beam Crate

C.C.

ROD

Corbo

CSM

MDT_1 Crate

Other Problems DCS communication

Application not killed at the DAQ shutdown Just kill the application “by hand” and restart

OBK browser not showing comments

2nd Sept. 2002 CERN - ATLAS Muon Week 18

Many feedbacks to DAQMany feedbacks to DAQ Database

Interface Schema

DFM Protocol ? Buffer levels

Architecture Trigger distribution ?

RIO ROS

Compiler Logical ID