Framework for Raw Data Thomas Kuhr Offline Week 29/06/2004.

Slides:



Advertisements
Similar presentations
5/2/  Online  Offline 5/2/20072  Online  Raw data : within the DAQ monitoring framework  Reconstructed data : with the HLT monitoring framework.
Advertisements

1 Databases in ALICE L.Betev LCG Database Deployment and Persistency Workshop Geneva, October 17, 2005.
Peter Chochula, January 31, 2006  Motivation for this meeting: Get together experts from different fields See what do we know See what is missing See.
ATLAS Analysis Model. Introduction On Feb 11, 2008 the Analysis Model Forum published a report (D. Costanzo, I. Hinchliffe, S. Menke, ATL- GEN-INT )
CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 A Control Software for the ALICE High Level Trigger Timm.
> IRTG – Heidelberg 2007 < Jochen Thäder – University of Heidelberg 1/18 ALICE HLT in the TPC Commissioning IRTG Seminar Heidelberg – January 2008 Jochen.
Status and roadmap of the AlFa Framework Mohammad Al-Turany GSI-IT/CERN-PH-AIP.
Shuei MEG review meeting, 2 July MEG Software Status MEG Software Group Framework Large Prototype software updates Database ROME Monte Carlo.
ALICE Offline week, CERN 21 February 2005 I. Hrivnacova 1 New geometry framework in MUON I.Hrivnacova IPN, Orsay ALICE Offline week, CERN 21 February 2005.
Experience with analysis of TPC data Marian Ivanov.
ALICE Upgrade for Run3: Computing HL-LHC Trigger, Online and Offline Computing Working Group Topical Workshop Sep 5 th 2014.
PHOS offline status report Yuri Kharlov ALICE offline week 7 April 2008.
ALICE Computing Model The ALICE raw data flow P. VANDE VYVRE – CERN/PH Computing Model WS – 09 Dec CERN.
Ajit and Dario ALICE offline week 10th June Dario Favretto Ajit Kumar Mohanty ALICE Raw Data Production.
ALICE Simulation Framework Ivana Hrivnacova 1 and Andreas Morsch 2 1 NPI ASCR, Rez, Czech Republic 2 CERN, Geneva, Switzerland For the ALICE Collaboration.
Andreas Morsch, CERN EP/AIP CHEP 2003 Simulation in ALICE Andreas Morsch For the ALICE Offline Project 2003 Conference for Computing in High Energy and.
Simulations for CBM CBM-India Meeting, Jammu, 12 February 2008 V. Friese
DØ Data Handling & Access The DØ Meta-Data Browser Pushpa Bhat Fermilab June 4, 2001.
H.G.Essel: Go4 - J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev CHEP 2003 GSI Online Offline Object Oriented Go4.
5/2/  Online  Offline 5/2/20072  Online  Raw data : within the DAQ monitoring framework  Reconstructed data : with the HLT monitoring framework.
The CMS Simulation Software Julia Yarba, Fermilab on behalf of CMS Collaboration 22 m long, 15 m in diameter Over a million geometrical volumes Many complex.
AliRoot survey P.Hristov 11/06/2013. Offline framework  AliRoot in development since 1998  Directly based on ROOT  Used since the detector TDR’s for.
HLT/AliRoot integration C.Cheshkov, P.Hristov 2/06/2005 ALICE Offline Week.
LCIO A persistency framework and data model for the linear collider CHEP 04, Interlaken Core Software, Wednesday Frank Gaede, DESY -IT-
Paul Scherrer Institut 5232 Villigen PSI ROME / / Matthias Schneebeli ROME Collaboration Meeting in Pisa Presented by Matthias Schneebeli.
Technical Validation The Technical Validation is a testing framework of the AUGER offline to monitor the code development process. It is not a validation.
CBM Simulation Walter F.J. Müller, GSI CBM Simulation Week, May 10-14, 2004 Tasks and Concepts.
Predrag Buncic Future IT challenges for ALICE Technical Workshop November 6, 2015.
Features needed in the “final” AliRoot release P.Hristov 26/10/2006.
Online Monitoring System at KLOE Alessandra Doria INFN - Napoli for the KLOE collaboration CHEP 2000 Padova, 7-11 February 2000 NAPOLI.
New Classes for Debug, Info and Error Messages Thomas Kuhr Offline Week 15/09/2004.
Alberto Colla - CERN ALICE off-line week 1 Alberto Colla ALICE off-line week Cern, May 31, 2005 Table of contents: ● Summary of requirements ● Description.
Computing for Alice at GSI (Proposal) (Marian Ivanov)
M. Oldenburg GridPP Metadata Workshop — July 4–7 2006, Oxford University 1 Markus Oldenburg GridPP Metadata Workshop July 4–7 2006, Oxford University ALICE.
Workflows and Data Management. Workflow and DM Run3 and after: conditions m LHCb major upgrade is for Run3 (2020 horizon)! o Luminosity x 5 ( )
Summary of User Requirements for Calibration and Alignment Database Magali Gruwé CERN PH/AIP ALICE Offline Week Alignment and Calibration Workshop February.
The MEG Offline Project General Architecture Offline Organization Responsibilities Milestones PSI 2/7/2004Corrado Gatto INFN.
Summary of Workshop on Calibration and Alignment Database Magali Gruwé CERN PH/AIP ALICE Computing Day February 28 th 2005.
October 10-12, 1 AliRoot: I/O organisation ROOT in the ALICE experiment I/O Structure Run-Time Data-Exchange.
Report from TRD on Raw Data Christoph Blume ALICE Offline Week, October, 2006.
SiD Workshop, Boulder 2008Dmitry Onoprienko SiD Workshop Boulder, September 2008 Dmitry Onoprienko Kansas State University Update on tracker hit processing.
StEvent I/O Model And Writing a Maker Or How to Add a New Detector Akio Ogawa BNL 2003 Nov Dubna.
Calibration algorithm and detector monitoring - TPC Marian Ivanov.
AliRoot Classes for access to Calibration and Alignment objects Magali Gruwé CERN PH/AIP ALICE Offline Meeting February 17 th 2005 To be presented to detector.
AliRoot survey: Reconstruction P.Hristov 11/06/2013.
The HADES Oracle database and its interfaces for experimentalists Ilse Koenig, GSI Darmstadt for the HADES collaboration.
D. Elia (INFN Bari)Offline week / CERN Status of the SPD Offline Domenico Elia (INFN Bari) Overview:  Response simulation (timing info, dead/noisy.
David Lawrence JLab May 11, /11/101Reconstruction Framework -- GlueX Collab. meeting -- D. Lawrence.
I.BelikovWeekly Offline Meeting, CERN, 14 Sep Common track parameterization for the barrel detectors.
HYDRA Framework. Setup of software environment Setup of software environment Using the documentation Using the documentation How to compile a program.
Monthly video-conference, 18/12/2003 P.Hristov1 Preparation for physics data challenge'04 P.Hristov Alice monthly off-line video-conference December 18,
DANA David Lawrence Oct. 21, D. Lawrence, JLab GlueX Software Workshop Oct Outline Requirements Philosophy Overview of Features Open Questions.
15 May 2012NA61 Collaboration Meeting, Budapest1 Shine: status and plans András László, for the Shine Group.
V4-18-Release P. Hristov 21/06/2010.
GEANT4 for Future Linear Colliders
Christoph Blume Offline Week, July, 2008
Code&Semantic Observations
Visualization of embedding
Models vs Representations
ALICE – First paper.
v4-18-Release: really the last revision!
AliRoot status and PDC’04
Progress with MUON reconstruction
Analysis framework - status
TPC status - Offline Q&A
Università di Bari and INFN - Italy
Use of Geant4 in experiment interactive frameworks AliRoot
Agenda SICb Session Status of SICb software migration F.Ranjard
Use Of GAUDI framework in Online Environment
Offline framework for conditions data
Presentation transcript:

Framework for Raw Data Thomas Kuhr Offline Week 29/06/2004

2 Motivation Why do we need simulated raw data?  Reasonable estimate of data volume and structure for Computing Data Challenge  Development and verification of reconstruction code starting from raw data  Reconstruction of real data  Next Physics Data Challenge

3 SDigits Overview Detector Trigger DAQRaw Data ClustersTracksESD DigitsSDigitsHits HLT SimulationReconstruction OnlineOffline Monte Carlo Real Data Particles

4 Raw Data Format DDL Files: –One directory per event: rawN –One binary file per DDL: DET_DDLID.ddl –File contains DDL data header and payload  Equivalent to data sent over DDL DATE: –One date file with many events –Equipment and event headers added  Equivalent to DAQ output (without alimdc) Root: –One root file with many events  Equivalent to recorded raw data

5 User Interface Run full simulation and write raw data for all detectors: AliSimulation sim; sim.SetWriteRawData(“ALL”); sim.Run(); Optional second argument: raw data file name (date or root) Shortcut method: sim.WriteRawData(“TRD PMD”,“raw.root”); Equivalent to: sim.WriteRawFiles(“TRD PMD”); sim.ConvertRawFilesToDate(“raw.date”); sim.ConvertDateToRoot(“raw.date”, “raw.root”);

6 Implementation AliSimulation calls virtual method of detector: void AliModule::Digits2Raw(); Digits2Raw method: –Create one file per DDL: DET_DDLID.ddl –Write DDL data header ( AliRawDataHeader ) Set data size ( AliRawDataHeader.fSize ) Indicate valid data ( AliRawDataHeader.SetAttribute(0) ) –Write raw data of current event Order of channels? Raw data DDL files → DATE file: program dateStream (put it on afs?) DATE file → root file: program alimdc

7 Status

8 Reading of Raw Data Separate two tasks: Reading of raw data (stored in different formats) into memory → Independent of content  Raw reader classes Interpretation of raw data → Specific to each detector  Raw stream classes

9 AliRawReader Base class for reading raw data of one event Virtual methods: Bool_t ReadHeader(); Bool_t ReadNextData(UChar_t*& data); Bool_t ReadNextInt(UInt_t& data); Bool_t Reset(); void Select(Int_t detectorID, …); UInt_t GetType() const; Int_t GetDDLID() const; Int_t GetDataSize() const; … Derived classes: AliRawReaderFiles, AliRawReaderDate, AliRawReaderRoot

10 AliDETRawStream Interpretation of detector specific raw data Iterator over digits AliDETRawStream(AliRawReader*); Bool_t Next(); Int_t GetSector() const; Int_t GetRow() const; Int_t GetPad() const; Int_t GetTime() const; Int_t GetSignal() const; Raw stream classes for TPC and ITS in RAW module, for TRD and PMD in detector modules

11 Raw Data Reading Classes Ali Raw Rea der AliRawReaderFiles AliRawReaderDate AliRawReaderRoot AliTPCRawStream AliPMDRawStream AliDETRawStream TPC digits PMD digits DET digits TPC_0.ddlTRD_1024.ddlPMD_3072.ddl raw.date raw.root

12 SDigits Reconstruction of Real Data Detector Trigger DAQRaw Data ClustersTracksESD DigitsSDigitsHits HLT SimulationReconstruction OnlineOffline Monte Carlo Real Data Particles

13 Proposal: User Interface Use raw data DDL files in directory dir : AliReconstruction rec; rec.Run(“dir/”); Use DATE file raw.date : rec.Run(“raw.date”); Use root file raw.root (extension “.root ”): rec.Run(“raw.root”);

14 Proposal: Implementation Extend virtual interface of AliReconstructor : void Reconstruct(AliRunLoader*, AliRawReader*) const; void FillESD(AliRunLoader*, AliRawReader*, AliESD*) const; Loop over events inside or outside Reconstruct method? Functionality of AliRawReader has to be extended for inside loop

15 Open Questions galice.root file has to be created with -Loaders -Detector parameters / geometries -Magnetic field -AliRun object ? -…  Run database ?

16 Summary Simulation of raw data is vital 3 formats of raw data: DDL files, DATE, root AliSimulation provides framework for raw data simulation Reading of raw data with AliRawReader and raw stream classes Framework for reconstruction of real data proposed Some open questions to be solved