implementation of on-line analysis library in narval: the ...basic ingredients narval’s basic...

17
Outline Implementation of on-line analysis library in NARVAL: the PRISMA case E. Calore 1 , E. Farnea 2 , D. Mengoni 3 1 INFN Laboratori Nazionali di Legnaro, 2 INFN Sezione di Padova, 3 Università e Sezione INFN di Padova AGATA Week 2008

Upload: others

Post on 21-Jul-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Implementation of on-line analysis library in NARVAL: the ...Basic ingredients NARVAL’s basic concepts PRISMA data acquisition NARVAL NARVAL Nouvelle Acquisition temps-Réel Version

Outline

Implementation of on-line analysis library inNARVAL: the PRISMA case

E. Calore1, E. Farnea2, D. Mengoni3

1INFN Laboratori Nazionali di Legnaro, 2INFN Sezione di Padova,3Università e Sezione INFN di Padova

AGATA Week 2008

Page 2: Implementation of on-line analysis library in NARVAL: the ...Basic ingredients NARVAL’s basic concepts PRISMA data acquisition NARVAL NARVAL Nouvelle Acquisition temps-Réel Version

Outline

Outline

1 Basic ingredientsThe NARVAL data acquisition systemThe libPRISMA library

2 NARVAL’s basic conceptsOverviewThe actors

3 PRISMA data acquisitionThe first PrototypeIntegration in the AGATA DAQ

Page 3: Implementation of on-line analysis library in NARVAL: the ...Basic ingredients NARVAL’s basic concepts PRISMA data acquisition NARVAL NARVAL Nouvelle Acquisition temps-Réel Version

Basic ingredients NARVAL’s basic concepts PRISMA data acquisition

Outline

1 Basic ingredientsThe NARVAL data acquisition systemThe libPRISMA library

2 NARVAL’s basic conceptsOverviewThe actors

3 PRISMA data acquisitionThe first PrototypeIntegration in the AGATA DAQ

Page 4: Implementation of on-line analysis library in NARVAL: the ...Basic ingredients NARVAL’s basic concepts PRISMA data acquisition NARVAL NARVAL Nouvelle Acquisition temps-Réel Version

Basic ingredients NARVAL’s basic concepts PRISMA data acquisition

NARVAL

NARVALNouvelle Acquisition temps-Réel Version 1.2 Avec Linux

It is a distributed data acquisition system, written in Ada95It is currently being developed in OrsayIt will be used to manage the AGATA DAQIt is needed to distribute the calculations of the on-lineanalysis among different computers

Page 5: Implementation of on-line analysis library in NARVAL: the ...Basic ingredients NARVAL’s basic concepts PRISMA data acquisition NARVAL NARVAL Nouvelle Acquisition temps-Réel Version

Basic ingredients NARVAL’s basic concepts PRISMA data acquisition

PRISMA

PRISMA is a large acceptance magnetic spectrometer forheavy ions.

It will be coupled with the AGATA demonstrator in Legnaro.

Page 6: Implementation of on-line analysis library in NARVAL: the ...Basic ingredients NARVAL’s basic concepts PRISMA data acquisition NARVAL NARVAL Nouvelle Acquisition temps-Réel Version

Basic ingredients NARVAL’s basic concepts PRISMA data acquisition

libPRISMA

libPRISMAalso known as the PRISMA preprocessing library is a C++library providing tools to analyze PRISMA data.

It is being developed in Legnaro by Enrico Farnea

It extract recoil information such as:

the (vector) velocitythe atomic numberthe mass number

Page 7: Implementation of on-line analysis library in NARVAL: the ...Basic ingredients NARVAL’s basic concepts PRISMA data acquisition NARVAL NARVAL Nouvelle Acquisition temps-Réel Version

Basic ingredients NARVAL’s basic concepts PRISMA data acquisition

Outline

1 Basic ingredientsThe NARVAL data acquisition systemThe libPRISMA library

2 NARVAL’s basic conceptsOverviewThe actors

3 PRISMA data acquisitionThe first PrototypeIntegration in the AGATA DAQ

Page 8: Implementation of on-line analysis library in NARVAL: the ...Basic ingredients NARVAL’s basic concepts PRISMA data acquisition NARVAL NARVAL Nouvelle Acquisition temps-Réel Version

Basic ingredients NARVAL’s basic concepts PRISMA data acquisition

Why using NARVAL?

NARVAL is needed to split the calculations in various “blocks”

NARVAL System

Page 9: Implementation of on-line analysis library in NARVAL: the ...Basic ingredients NARVAL’s basic concepts PRISMA data acquisition NARVAL NARVAL Nouvelle Acquisition temps-Réel Version

Basic ingredients NARVAL’s basic concepts PRISMA data acquisition

NARVAL Actors

An actor can be provided with the Ada code to elaborate dataor it can be a generic one:

A generic actor can “link to” a C++ library

Page 10: Implementation of on-line analysis library in NARVAL: the ...Basic ingredients NARVAL’s basic concepts PRISMA data acquisition NARVAL NARVAL Nouvelle Acquisition temps-Réel Version

Basic ingredients NARVAL’s basic concepts PRISMA data acquisition

Three main kinds of actors

ProducerOnly output buffer/s

FilterBoth Input and Output buffer/s

ConsumerOnly Input buffer/s

Page 11: Implementation of on-line analysis library in NARVAL: the ...Basic ingredients NARVAL’s basic concepts PRISMA data acquisition NARVAL NARVAL Nouvelle Acquisition temps-Réel Version

Basic ingredients NARVAL’s basic concepts PRISMA data acquisition

Outline

1 Basic ingredientsThe NARVAL data acquisition systemThe libPRISMA library

2 NARVAL’s basic conceptsOverviewThe actors

3 PRISMA data acquisitionThe first PrototypeIntegration in the AGATA DAQ

Page 12: Implementation of on-line analysis library in NARVAL: the ...Basic ingredients NARVAL’s basic concepts PRISMA data acquisition NARVAL NARVAL Nouvelle Acquisition temps-Réel Version

Basic ingredients NARVAL’s basic concepts PRISMA data acquisition

The running prototype

Reading PRISMA events from file

Preprocessing of read events

Writing data to file

Page 13: Implementation of on-line analysis library in NARVAL: the ...Basic ingredients NARVAL’s basic concepts PRISMA data acquisition NARVAL NARVAL Nouvelle Acquisition temps-Réel Version

Basic ingredients NARVAL’s basic concepts PRISMA data acquisition

Page 14: Implementation of on-line analysis library in NARVAL: the ...Basic ingredients NARVAL’s basic concepts PRISMA data acquisition NARVAL NARVAL Nouvelle Acquisition temps-Réel Version

Basic ingredients NARVAL’s basic concepts PRISMA data acquisition

Prototype topology

Page 15: Implementation of on-line analysis library in NARVAL: the ...Basic ingredients NARVAL’s basic concepts PRISMA data acquisition NARVAL NARVAL Nouvelle Acquisition temps-Réel Version

Basic ingredients NARVAL’s basic concepts PRISMA data acquisition

PRISMA filter actor library (header)

Page 16: Implementation of on-line analysis library in NARVAL: the ...Basic ingredients NARVAL’s basic concepts PRISMA data acquisition NARVAL NARVAL Nouvelle Acquisition temps-Réel Version

Basic ingredients NARVAL’s basic concepts PRISMA data acquisition

The future integration with AGATA DAQ

Page 17: Implementation of on-line analysis library in NARVAL: the ...Basic ingredients NARVAL’s basic concepts PRISMA data acquisition NARVAL NARVAL Nouvelle Acquisition temps-Réel Version

Basic ingredients NARVAL’s basic concepts PRISMA data acquisition

Thank you for your attention