7/16/2015 ACAT'2002 Workshop 1 OO/C++ Reconstruction Model based on GEANT3 Yuri Fisyak, Valery Fine, Pavel Nevski, Torre Wenaus.

Slides:



Advertisements
Similar presentations
Lists and the Collection Interface Chapter 4. Chapter Objectives To become familiar with the List interface To understand how to write an array-based.
Advertisements

Combined tracking based on MIP. Proposal Marian Ivanov.
Andreas Morsch CERN/ALICE 3rd LHC Computing WorkshopMarseille, September 30, 1999 Base Classes for Simulation The ALICE Simulation Strategy Andreas Morsch.
Pavel Nevski STAR simulations and ROOT GSTAR root interface.
ACAT 2002, Moscow June 28, 2002 V.Fine Brookhaven National Laboratory Session IV: Innovative (Algorithms and) Tools V.Fine, BNL, USA & JINR, Dubna.
30 March Global Mice Particle Identification Steve Kahn 30 March 2004 Mice Collaboration Meeting.
LEARNING OBJECTIVES Index files.
Reinforcement Learning Rafy Michaeli Assaf Naor Supervisor: Yaakov Engel Visit project’s home page at: FOR.
March 31, Status of the TOF, Ckov and Virtual Detector Packages in G4Mice Steve Kahn Brookhaven National Laboratory Mice Collaboration Meeting March.
27 Jun 2005S. Kahn -- Tof/Ckov Status1 Status of TOF and Ckov Sub- packages in G4Mice Steve Kahn 27 June 2005.
File System. NET+OS 6 File System Architecture Design Goals File System Layer Design Storage Services Layer Design RAM Services Layer Design Flash Services.
August 98 1 Jürgen Knobloch ATLAS Software Workshop Ann Arbor ATLAS Computing Planning ATLAS Software Workshop August 1998 Jürgen Knobloch Slides also.
Language Evaluation Criteria
Framework for track reconstruction and it’s implementation for the CMS tracker A.Khanov,T.Todorov,P.Vanlaer.
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.
Visualization of the ROOT 3D class objects with Open Inventor-like viewers V. Fine (BNL) A. Kulikov (JINR Dubna) M. Panebrattsev (Dubna University) A.
9/26/11HFT soft meeting, BNL1 Chain analysis fz file MuDst.root minimc.root geant.root event.root McEvent.root StMiniMcMaker StAssociationMaker : STAR.
Alignment Strategy for ATLAS: Detector Description and Database Issues
Event Data Model in ATLAS Edward Moyse (CERN) On behalf of the ATLAS collaboration CHEP 2004, Interlaken.
David N. Brown Lawrence Berkeley National Lab Representing the BaBar Collaboration The BaBar Mini  BaBar  BaBar’s Data Formats  Design of the Mini 
ALICE Simulation Framework Ivana Hrivnacova 1 and Andreas Morsch 2 1 NPI ASCR, Rez, Czech Republic 2 CERN, Geneva, Switzerland For the ALICE Collaboration.
ATLAS Detector Description Database Vakho Tsulaia University of Pittsburgh 3D workshop, CERN 14-Dec-2004.
19 November 98 1 Jürgen Knobloch ATLAS Computing ATLAS Computing - issues for 1999 Jürgen Knobloch Slides also on:
“Primary Numbers” Database for ATLAS Detector Description Parameters March 24, 2003 S. Eckmann, D. Malon, A. Vaniachine (ANL) P. Nevski, T. Wenaus (BNL)
Progress report on Muon Reconstruction based on Kalman filter Y. Fisyak, BNL.
Y.Fisyak, BNL - STAR Upgrade workshop, 12/2/ Integrated Tracker – STAR tracking framework of the future update on  status and  perspective IT(TF)
Detector Simulation Presentation # 3 Nafisa Tasneem CHEP,KNU  How to do HEP experiment  What is detector simulation?
Global Tracking Software Status H. Greenlee Run II Meeting May 12, 2000.
Magnetic Field Issues for Simulation and Reconstruction N. Amapane, N. Neumeister Workshop on LHC Physics with High-p T Muons in CMS Bologna, April 9-12,
STAR STAR VMC tracker V. Perevoztchikov Brookhaven National Laboratory,USA.
The GeoModel Toolkit for Detector Description Joe Boudreau Vakho Tsulaia University of Pittsburgh CHEP’04 Interlaken.
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.
David Adams ATLAS DIAL: Distributed Interactive Analysis of Large datasets David Adams BNL August 5, 2002 BNL OMEGA talk.
VMC workshop1 Ideas for G4 navigation interface using ROOT geometry A.Gheata ALICE offline week, 30 May 05.
NOVA A Networked Object-Based EnVironment for Analysis “Framework Components for Distributed Computing” Pavel Nevski, Sasha Vanyashin, Torre Wenaus US.
Integrated Tracker (progress, status, plans) Y. Fisyak.
SoLID simulation with GEMC Zhiwen Zhao 2015/03/26.
V.Fine ALICE-STAR Joint meeting April, 9, 2000 The STAR offline framework* V. Fine *) See also:
V.Fine for STAR collaboration The STAR offline framework and 3D visualization V. Fine, Y. Fisyak, V. Perevoztchikov, T.Wenaus.
Mokka, main guidelines and future P. Mora de Freitas Laboratoire Leprince-Ringuet Ecole polytechnique - France Linear collider Workshop 2004, Paris.
STAR VMC project Maxim Potekhin for the STAR Collaboration VMC workshop at CERN Nov
Geant4 release 5.1 summary Gabriele Cosmo EP/SFT.
27 March 2003RD Schaffer & C. Arnault CHEP031 Use of a Generic Identification Scheme Connecting Events and Detector Description in Atlas  Authors: C.
Javier Castillo 1 Muon Embedding Status & Open Issues PWG3 - CERN - 15/02/2011.
Requirements for the O2 reconstruction framework R.Shahoyan, 14/08/
V.Fine for STAR collaboration The STAR offline framework V. Fine, Y. Fisyak, V. Perevoztchikov, T.Wenaus.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter Chapter 18 List ADT Animated Version.
Object Oriented reconstruction of the CMS muon chambers CHEP February, Padova Annalina Vitelli - INFN Torino.
STAR Simulation. Status and plans V. Perevoztchikov Brookhaven National Laboratory,USA.
Monday 10, March 2003D. Guez - IPN Orsay - Alice week1 Station 1 chambers thickness Detector modeling and multiple scattering studies David GUEZ, Ivana.
Detector Description (Overview) C.Cheshkov. 25/9/2006Detector Description (C.Cheshkov)OutlineTerminology Overview on: Detector geometry implementation.
Detector SimOOlation activities in ATLAS A.Dell’Acqua CERN-EP/ATC May 19th, 1999.
Pavel Nevski STAR simulations GSTAR framework OO geometry/event model NOVA components.
New features in ROOT geometrical modeller for representing non-ideal geometries René Brun, Federico Carminati, Andrei Gheata, Mihaela Gheata CHEP’06,
Geant4 Simulation for KM3 Georgios Stavropoulos NESTOR Institute WP2 meeting, Paris December 2008.
Track Reconstruction: the ftf and trf toolkits Norman Graf (SLAC) Common Software Working Meeting CERN, January 31, 2013.
Defects of UML Yang Yichuan. For the Presentation Something you know Instead of lots of new stuff. Cases Instead of Concepts. Methodology instead of the.
Alignment of the ALICE MUON Spectrometer
Complex Geometry Visualization TOol
A C++ generic model for the GLAST Geometric Description
Markus Frank CERN/LHCb CHEP2013, Amsterdam, October 14th–18th 2013
HEP detector description supporting the full experiment life cycle
Implementation of Simulation
Vincenzo Innocente CERN/EP/CMC
Smart Integration Express
DQM for the RPC subdetector
Geant4 in HARP V.Ivanchenko For the HARP Collaboration
Marc Verderi GEANT4 collaboration meeting 01/10/2002
V.Fine, P.Nevski, BNL GSTAR framework OO geometry model event access
BES III Software: Short-term Plan ( )
Presentation transcript:

7/16/2015 ACAT'2002 Workshop 1 OO/C++ Reconstruction Model based on GEANT3 Yuri Fisyak, Valery Fine, Pavel Nevski, Torre Wenaus

7/16/2015 ACAT'2002 Workshop 2 Outlook –Motivations –Advantages and limitations of GEANT3 geometry –``Compact’’ and ``open’’ geometries –Hits/Digits structure –User interface : iterators –Conclusions

7/16/2015 ACAT'2002 Workshop 3 Motivations –One the main task which has to be solved by a reconstruction is to provide access to geometry and calibration information for a given hit/digit and vise versa. –A lot of current HENP experiments still have their most detailed geometry in GEANT3. It looks very attractive to be able to access this geometry description from the modern OO/C++ reconstruction. –As an example, in ATLAS Muon reconstruction access to detailed detector description, including ``dead’’ material information, is mandatory because of very high performance requirements.

7/16/2015 ACAT'2002 Workshop 4 Advantages of the ``compact’’ geometry model An existing experience with GEANT3 allows to formulate so called ``compact’’ detector model. It provides a model for “ideal” detector : –which accounts symmetries of the detector, and – it is ``compact’’ because it doesn't contain any duplication of the geometrical nodes, – an example of such type geometry is the ATLAS detector GEANT3 description which contains ~30M copies of ~7 K different types of volumes.

7/16/2015 ACAT'2002 Workshop 5 ATLAS Detector View With G3

7/16/2015 ACAT'2002 Workshop 6 Limitation of ``compact’’ geometry However this ``compact’’ model cannot facilitate the real reconstruction needs : –a subset of geometrical nodes (detector elements) might have their own unique list of parameters: calibrations, alignment, … The OO model where each “physical” detector element corresponds to the dedicated object instance we will call "open" geometry. This “open’’ geometry also is very suitable for detector response (hits, digits) structuring.

7/16/2015 ACAT'2002 Workshop 7 Compact and Open geometry Even though the "open" structure looks very attractive it is still non realistic to keep it in memory for whole detector. Thus geometry model for reconstruction has to contain a combination of “compact” geometry for whole detector and “open” one for its subset.

7/16/2015 ACAT'2002 Workshop 8 Compact & open geometry in ROOT A geometry package is being developed within ROOT framework to provide such functionality. The package uses of ROOT Geometry classes (root/g3d) –TShape (TBRIK, TCONE,…), TMaterial, TMixture, TRotMatrix The package includes: – the "compact" model with multiple reuse of geometry objects, providing a C++ detector view "a la GEANT3" (root/table): TVolume and TVolumePositon classes; –the “open” model which is created by a request for a subset of the compact presentation and contains full description, where each detector element is presented by a separate object: TVolumeView class

7/16/2015 ACAT'2002 Workshop 9 List of daughter nodes TVolume and TVolumeView: hierarchical container of containers TVolume TShape TMaterial TVolume TVolumePosition (relative wrt parent) TVolumePosition TVolumeView TVolumePosition (position wrt global) TVolumeView List of positions List of nodes

7/16/2015 ACAT'2002 Workshop 10 TVolume and TVolumeView (cont.) TVolume: –does not know about its position, –can be positioning in any part of the geometry tree with respect to ``parent’’ TVolume, –provides only downstream navigation I.e. you can find children of the given TVolume but you don’t know its parent. TVolumeView: –does know about its position with respect to any fixed system of coordinates (global, with respect to parent, …), –Provides navigation both downstream and upstream, –can contain any information (calibrations, …) unique for the given node.

7/16/2015 ACAT'2002 Workshop 11 Exporting G3 geometry to ROOT Iterator over developed G3 geometry as it sees a particle during propagation TVolume TVolumeView Compact geometry Open geometry Mark ``Sensitive’’ volumes

7/16/2015 ACAT'2002 Workshop 12 TVolume/TVolumeView browsing Full G3 tree 29’042’213 nodes TVolume structure 3512 marked nodes TVolumeView structure ctor TVolume TVolumePosition TVolumeView TVolumePosition TVolume

7/16/2015 ACAT'2002 Workshop 13 ATLAS muon system in ROOT

7/16/2015 ACAT'2002 Workshop 14 Hits/Digits The package also provides a generic hit/digit C++ class together with tools supporting navigation from hits to geometry and vice versa.. TResponseTable: self describing array of c-structs containing hits/digits information. TIndexTable: list of indexes in TResponseTable array corresponding a given detector element (TVolumeView) in order to speed up the navigation from geometry to digits/hits structure.

7/16/2015 ACAT'2002 Workshop 15 Response Table TResponseTable *mtuiHit = (TResponseTable *) g3->DataSet("Data/Hits/MUCH/MTUI"); mtuiHit->Print(0,5) TResponseTable *mtuiDigit = (TResponseTable *) g3->DataSet("Data/Digits/MUCD/MTUI"); mtuiDigit->Print(0,5); Muon/.make/AtlSim/.data/Data/Hits/MUCH/MTUI Allocated rows: 36 Table: MTUI [0] : [1] : [2] : [3] : [4] int TRACK 1 : 1 : 1 : 1 : 1 int ATLS/OUTE/MUCH 2 : 2 : 2 : 2 : 2 int BARI 10 : 10 : 10 : 10 : 10 int BXXI 12 : 12 : 12 : 12 : 12 int BSLI 1 : 1 : 1 : 2 : 2 int BWAI 55 : 109 : 164 : 5 : 6 float X : : : : float Y : : : : float Z : : : : float TDR : : : : float TOF : : : : float CZ : : : : float CX : : : : float CY : : : : float STEP : : : : float LGAM : : : : Detector Id, path to detector element Hit/Digit parameters Muon/.make/AtlSim/.data/Data/Digits/MUCD/MTUI Allocated rows: 32 Table: MTUI [0] : [1] : [2] : [3] : [4] int TRACK 1 : 1 : 1 : 1 : 1 int ATLS/OUTE/MUCH 2 : 2 : 2 : 2 : 2 int BARI 10 : 10 : 10 : 10 : 10 int BXXI 12 : 12 : 12 : 12 : 12 int BSLI 1 : 1 : 1 : 2 : 2 int BWAI 55 : 109 : 164 : 5 : 6 float TIME : : : : float Z : : : : float TDR : : : :

7/16/2015 ACAT'2002 Workshop 16 TIndexTable TObjectSet TVolumeView TIndexTable TResponseTable To speed up navigation over hits/digits information from detector elements it has been created hits and digits trees. The trees structure reflects one for the “open” geometry and contains only nodes with hitted detector elements. These nodes contain indexes (TIndexTable) of hits in Hits/Digits TResponse tables.

7/16/2015 ACAT'2002 Workshop 17 Navigation The main goal of the above “compact” and “open” geometries and Hits/Digits trees is to provide straight forward navigation from hits/digits to geometry and from geometry to hits/digits. Because the ``geometries’’ and hits/digits are containers the way to navigate over them are iterators. The navigation is provided by two iterators: TVOLUME::iterator over TVolume and TVolumeView structures and ADigitIterator / AHitIterator

7/16/2015 ACAT'2002 Workshop 18 Navigation : TVOLUME::iterator void VIter(){ TVolume *oute = (TVolume *) g3->Find(".const/Constants/Geometry/ATLS/OUTE"); // or // TVolumeView *oute = (TVolumeView *) g3->Find(".const/Constants/GeometryTree/ATLS/OUTE"); TVOLUME::iterator Iter(oute); TString BXXI("BXXI"); for (;(long) Iter != 0; Iter++) { TVolumePosition &pos = *Iter; TString Name(pos.GetName()); if (Name != BXXI) continue; pos.Print(); } … Node: BXXI Position: x= : y= : z=0 OBJ: TRotMatrix NodeView 1 : 2 : 3 : : : e-08 : : : e-08 : 3. 0 : 0 : 1 : Muon system Muon chamber

7/16/2015 ACAT'2002 Workshop 19 ADigitIterator TObjectSet *BXXI = (TObjectSet *) g3->GetData("DigitsTree/ATLS/OUTE/MUCH[2]/BARI[10]/BXXI[12]"); for (ADigitIterator iter(BXXI); (int)iter != 0; iter++) { ADigit &digi = *iter; digi.Print(); } … Digit: TRACK 1 ATLS/OUTE/MUCH[2]/BARI[10]/BXXI[12]/BSLI[2]/BWAI[115] TIME Z TDR E 0 Node: BWAI Position: x= e-06 : y= : z=-60 OBJ: TRotMatrix NodeView 1: 2 : 3 : e-08: e-08 : -1 : e-08: 1 : e-08 : 3. 1 : e-08 : e-08 : …

7/16/2015 ACAT'2002 Workshop 20 Conclusions It has been developed a set of classes which have supported structures and provide parameters description of both ``compact’’ and ``open’’ geometries. This approach naturally accounts for alignment and detector calibration information. It has been developed structure supporting hits and digits. It has been developed iterators which provide navigation from hits/digits to geometry and vise versa. This model is used in development of ATLAS muon reconstruction. But this model itself does not use any ATLAS specific features and can be applied for any reconstruction.