I. BelikovALICE Offline Week, CERN, 12 June 20031 ESD Classes and the Combined Reconstruction What is the ESD ? Two new classes AliESD and AliESDtrack.

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

PHYSTAT2007, CERN Geneva, June 2007 ALICE Statistical Wish-List I. Belikov, on behalf of the ALICE collaboration.
Combined tracking based on MIP. Proposal Marian Ivanov.
8 June Single table database in normal form Fields and records Normal form 1.Header in the first line 2.Same content for every field 3.Each record.
1 Working Group 5: Particle Identified Studies in Jets - Status / Plans (July 23 rd, 2008) - Group Coordinator: Rene Bellwied (WSU) Group Contributors:
Algorithms and Methods for Particle Identification with ALICE TOF Detector at Very High Particle Multiplicity TOF simulation group B.Zagreev ACAT2002,
TOF (and Global) PID F. Pierella for the TOF-Offline Group INFN & Bologna University PPR Meeting, January 2003.
Chiara Zampolli in collaboration with C. Cheshkov, A. Dainese ALICE Offline Week Feb 2009C. Zampolli 1.
Using ROOT geometry for FVTX reconstruction Zhengyun You Peking University Los Alamos National Lab Jan 22, 2007.
PPR meeting - January 23, 2003 Andrea Dainese 1 TPC tracking parameterization: a useful tool for simulation studies with large statistics Motivation Implementation.
Offline Tracker DQM Shift Tutorial. 29/19/20152 Tracker Shifts Overview Online Shifts at P5 (3/day for 24 hours coverage) – One Pixel shifter and one.
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.
Introduction to C Programming CE Lecture 7 Compiler options and makefiles.
Update on the new reconstruction software F. Noferini E. Fermi center INFN CNAF EEE Analysis Meeting - 14/09/20151.
Learning to Use Root for STAR Gene Van Buren (UCLA) for the STAR Collaboration Accessing STAR Data Programming for STAR (Makers) Star => Computing => Tutorials.
Real data reconstruction A. De Caro (University and INFN of Salerno) CERN Building 29, December 9th, 2009ALICE TOF General meeting.
TPC online reconstruction Cluster Finder & Conformal Mapping Tracker Kalliopi Kanaki University of Bergen.
Chapter 7 File I/O 1. File, Record & Field 2 The file is just a chunk of disk space set aside for data and given a name. The computer has no idea what.
ALICE Simulation Framework Ivana Hrivnacova 1 and Andreas Morsch 2 1 NPI ASCR, Rez, Czech Republic 2 CERN, Geneva, Switzerland For the ALICE Collaboration.
Offline Wek, CERN, April 2008 Andrea Dainese 1 Status of ITS tracking A. Dainese (INFN Legnaro)
STAR Sti, main features V. Perevoztchikov Brookhaven National Laboratory,USA.
A Technical Validation Module for the offline Auger-Lecce, 17 September 2009  Design  The SValidStore Module  Example  Scripting  Status.
Gaudi Framework Tutorial, April Algorithm Tools: what they are, how to write them, how to use them.
Track extrapolation to TOF with Kalman filter F. Pierella for the TOF-Offline Group INFN & Bologna University PPR Meeting, January 2003.
LHCb Lausanne Workshop, 21st March /12 Tracking Software for DC’06 E. Rodrigues, NIKHEF LHCb Tracking and Alignment Workshop  To do list, and done.
Infrastructure for QA and automatic trending F. Bellini, M. Germain ALICE Offline Week, 19 th November 2014.
Jul. 27, 2005 BESIII Software Meeting , IHEP 1 Physics Analysis with ROOT July 27, 2005 Yajun Mao School of Physics, Peking University.
PWG3 Analysis: status, experience, requests Andrea Dainese on behalf of PWG3 ALICE Offline Week, CERN, Andrea Dainese 1.
STAR Event data storage and management in STAR V. Perevoztchikov Brookhaven National Laboratory,USA.
Cosmic Ray Run III Cosmic Ray AliEn Catalogue LHC08b 1.
ALICE Offline Week, CERN, Andrea Dainese 1 Primary vertex with TPC-only tracks Andrea Dainese INFN Legnaro Motivation: TPC stand-alone analyses.
Argonne Jamboree January 2010 Esteban Fullana AOD example analysis.
Refitting Tracks from DST E. Rodrigues, NIKHEF LHCb Tracking and Alignment Workshop, Lausanne, 8-9th November 2006  Motivations  Step-by-step …  Current.
STAR Schema Evolution Implementation in ROOT I/O V. Perevoztchikov Brookhaven National Laboratory,USA.
HLT/AliRoot integration C.Cheshkov, P.Hristov 2/06/2005 ALICE Offline Week.
Status of global tracking and plans for Run2 (for TPC related tasks see Marian’s presentation) 1 R.Shahoyan, 19/03/14.
I.BelikovCHEP 2004, Interlaken, 30 Sep Bayesian Approach for Combined Particle Identification in ALICE Experiment at LHC. I.Belikov, P.Hristov, M.Ivanov,
Roberto Barbera (Alberto Pulvirenti) University of Catania and INFN ACAT 2003 – Tsukuba – Combined tracking in the ALICE detector.
April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 1 LHCb Software week LHCb Event Data Model Pavel Binko Gloria Corti LHCb / CERN.
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.
Level 2 ID-tracking truth association How it works Information in POOL How to use it.
Summary of User Requirements for Calibration and Alignment Database Magali Gruwé CERN PH/AIP ALICE Offline Week Alignment and Calibration Workshop February.
Development of the parallel TPC tracking Marian Ivanov CERN.
Javier Castillo 1 Muon Embedding Status & Open Issues PWG3 - CERN - 15/02/2011.
A. De Caro for the ALICE TOF Offline Group (University of Salerno and INFN)
PWG3 analysis (barrel)
StEvent I/O Model And Writing a Maker Or How to Add a New Detector Akio Ogawa BNL 2003 Nov Dubna.
Analysis train M.Gheata ALICE offline week, 17 March '09.
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.
Thomas Ruf, CERN EP Experience with C++ and ROOT used in the VX Beam Test Thomas Ruf, CERN, EP  Why? Event structure for VX-data rather complex: raw hits.
AliRoot survey: Reconstruction P.Hristov 11/06/2013.
PWG4 analysis - Offline week 1/9 PWG4 Status Gustavo Conesa Balbastre INFN-Frascati.
Some topics for discussion 31/03/2016 P. Hristov 1.
AliRoot survey: Calibration P.Hristov 11/06/2013.
Business Processes A business process describes a set of activities that are necessary to complete a response to a stimulus applied to an organization.
ALICE Offline Week – 22 Oct Visualization of embedding Matevz Tadel, CERN Adam Kisiel, Ohio State University.
Performance Evaluation for Open Charm and Beauty Measurement at LHC ALICE PID capability from λ and K s 0 measurement at LHC ALICE 筑波大学数理物質科学研究科 Kengo.
I.BelikovWeekly Offline Meeting, CERN, 14 Sep Common track parameterization for the barrel detectors.
Monthly video-conference, 18/12/2003 P.Hristov1 Preparation for physics data challenge'04 P.Hristov Alice monthly off-line video-conference December 18,
CALIBRATION: PREPARATION FOR RUN2 ALICE Offline Week, 25 June 2014 C. Zampolli.
V4-18-Release P. Hristov 21/06/2010.
Analysis Frame for MC data
Developments of the PWG3 muon analysis code
Visualization of embedding
ALICE analysis preservation
Analysis framework - status
Framework for the acceptance and efficiency corrections
Presentation transcript:

I. BelikovALICE Offline Week, CERN, 12 June ESD Classes and the Combined Reconstruction What is the ESD ? Two new classes AliESD and AliESDtrack. What do we gain when using these classes ? Examples of the “high level” reconstruction and analysis code. Status of the ESD and the combined reconstruction. How it will evolve. outline

I. BelikovALICE Offline Week, CERN, 12 June ESD Classes and the Combined Reconstruction ESD stands for “Event Summary Data” ( or, according to S.Sedykh, “Enormously Strange Data” :) In principal it is the output of the “massive reconstruction” and the input for the “massive physical data analysis”. It contains only the “real” things like tracks, V0s, kinks, cascades and probably does not have to contain “imaginary” stuff like resonances, charm etc. Two problems with the ESD : What to put in and how to arrange necessary interrelations between the different kinds of data within the ESD. How to generate it. By means of some separate procedure at the very end of the reconstruction ? Or “on flight”, by means of the reconstruction routines themselves ? What is the ESD ?

I. BelikovALICE Offline Week, CERN, 12 June ESD Classes and the Combined Reconstruction Contains all the information needed for the physical analysis. All the reconstruction steps can communicate each with another via this object kept in the RAM. Serves as the “I/O quantum” for the reconstruction and for the physical analysis as well. Class AliESD : //run number, event number etc //trigger info etc … //container of ESD tracks, //container of kinks, //container of V0s, //container of cascades … Two new classes AliESD and AliESDtrack. Interrelations between ESD tracks, kinks etc are trivial to implement ! (see the examples below)

I. BelikovALICE Offline Week, CERN, 12 June ESD Classes and the Combined Reconstruction Contained by the ESD, contains all the information we are going to cut on and so during the physical analysis. Can serve for the accumulation and exchange of the tracking information between the barrel detectors (basis for the combined tracking/PID), if provides (in some way) access to the associated clusters. Class AliESDtrack : //reconstruction status flags … //general track properties (length, time, combined PID…) … //”running”/final params (“external”) … //params at the outermost measured point (“external”) //params at the innermost measured point (“external”) … //detector related info (ITS,TPC,TRD…) (chi2, num.of clusters, dE/dx…) Two new classes AliESD and AliESDtrack (Global flags: time/length, combined PID etc Detector specific flags: “in”, “out”, “refit”, PID etc)

I. BelikovALICE Offline Week, CERN, 12 June ESD Classes and the Combined Reconstruction Very simple file structure : Just one file (AliESD.root) for all the detectors and all the reconstruction steps. This file may (or may not) contain several events, which can be controlled from the level of macros. Very simple data structure within the file: Just a sequence of ROOT objects of AliESD class. No anymore any horizontal dependency between the detectors (even via the I/O, because there is no any “I/O” since everything is kept in the RAM). No anymore ugly “naming conventions” on the tree/branch names (because there is simply no anymore trees/branches etc). Matching between the pieces of the same track becomes really trivial (simply because everything needed is now contained within the same object). No look-up tables anymore. This is a solid basis for the combined tracking/PID. The skeleton of the physical data analysis loop becomes clear (and very clean), probably for the very first time in ALICE ! What do we gain when using these classes ?

I. BelikovALICE Offline Week, CERN, 12 June ESD Classes and the Combined Reconstruction //The pointer(s) to the file(s) with the clusters is(are ) to be provided by “somebody” (NewIO ? AliEn ?) … //Create instances of the ITS,TPC, TRD etc trackers, PID makes, V0 finders etc… for (Int_t n=0; n<nev; n++) { //loop over events Int_t rc=0; AliESD *event=new AliESD(); //create an empty ESD objects … //Load clusters (preferably for all the detectors, if possible) //From now on “everybody” will add something to or modify something in shared ESD object ! rc+=tpcTracker.Clusters2Tracks(event); // no rc+=itsTracker.Clusters2Tracks(event); // problem //stand alone ITS tracker Clusters2Tracks(event); // to match rc+=v0Vertexer.Tracks2Vertices(event); // pieces … // of rc+=itsTracker.PropagateBack(event); // the same rc+=tpcTracker.PropagateBack(event); // track … rc+=tpcPID.MakePID(event); //here is the “single detector PID” … //to the TRD, to TOF and RICH //and then back all the way back to the primary vertex … AliESDpid::MakePID(event); //here is the “combined PID” if (rc==0 ) { // “somebody” writes out the prepared ESD object and decides whether to close old and open new output file event->Write(…); //or ESD is able to it “himself” ! } else { … //something bad has happended… } } // end of the loop over events Example of “high level” reconstruction code.

I. BelikovALICE Offline Week, CERN, 12 June ESD Classes and the Combined Reconstruction TFile *f=new TFile(“AliESD.root”) //The pointer to the file is to be given by “somebody” (NewIO ? AliEn ?) TKey *key=0; TIter next(f->GetListOfKeys()); while (key=(Tkey*)next()) { //loop over ESD objects Int_t i; AliESD *event=(AliESD*)key->ReadObj(); //this is how an ESD objects can read “himself” … //select run, event number etc… if (event->GetTrigger() != … ) continue; //select the trigger … //select whatever else Int_t ntracks=event->GetNumberOfTracks(); for (i=0; i<ntracks; i++) { //loop over ESD tracks (the same for kinks, V0s etc) AliESDtrack *track=event->GetTrack(i); if (track->GetStatus()==…) { //select tracks with the proper status … //do whatever you want with the selected tracks } … AliESDcascade *casc=event->GetCascade(13); //retrieve the 13 th cascade decay Int_t iv0=casc->GetV0index(); //and find AliESDv0 *v0=event->GetV0(iv0); //the associated V0 Int_t ip=v0->GetPositiveIndex(), in=v0->GetNegativeIndex(); //together with its AliESDtrack *ptrack=event->GetTrack(ip); //positive daughter track AliESDtrack *ntrack=event->GetTrack(in); //and negative daughter track … } Example of “high level” data analysis code.

I. BelikovALICE Offline Week, CERN, 12 June ESD Classes and the Combined Reconstruction There is always some price to pay If you need to modify only one track from a given event, you will have to read in and then to write out the whole event. If you need to do it for 10**7 events, you will have to rewrite 10**7 events… :(

I. BelikovALICE Offline Week, CERN, 12 June ESD Classes and the Combined Reconstruction  AliESDtrack and AliESD are “fully” implemented. ESD filled with the ESD tracks.  The following reconstruction steps are fully rewritten in terms of the ESD classes. ITS: “in”, “out”, “refit inwards” TPC (the oldest): “in”, “out” TRD: “out”  This gives us a continuous chain (compiled code + macros) TPCin -> ITSin -> ITSout -> TPCout -> TRDout that works with the “ESD oriented communication”.  First implementation of the combined ITS/TPC/TRD PID. Status of the ESD and the combined reconstruction

I. BelikovALICE Offline Week, CERN, 12 June ESD Classes and the Combined Reconstruction  Two possible “philosophies” in the reconstruction development:  Let’s first get it working for 90% of cases, then try to adapt the schema to the rest preferably without changing the design (maybe even “by force”).  We should design everything in such a way that all 100% of the cases we expect to deal with are somehow treated by the schema from the very beginning.  The “ESD based” combined reconstruction schema follows the first philosophy.  This schema has now been proved to satisfy most of our requirements. But it relies on the assumption that the reconstruction in a detector is purely “internal business of this detector”. In some cases such an approximation can be not so good.  To deal with such cases (mainly in the TPC) we will put some additional information (pointers to detector specific tracks, list of associated “helix” objects or/and whatever) on top of the “ESD record” (with “!” sign in the comment at the corresponding line in the *.h file).  And then the “newest” TPC reconstruction will be rewritten in terms of the “improved communication via ESD” and eventually replace the “oldest” one in the default reconstruction chain. How it will evolve…