Use of Geant4 in experiment interactive frameworks AliRoot

Slides:



Advertisements
Similar presentations
The Geant4 Kernel: Status and Recent Developments John Apostolakis, Gabriele Cosmo – CERN / PH Makoto Asai – SLAC On behalf the Geant4 collaboration April.
Advertisements

5/2/  Online  Offline 5/2/20072  Online  Raw data : within the DAQ monitoring framework  Reconstructed data : with the HLT monitoring framework.
Virtual Monte Carlo I. Hrivnacova, IPN Orsay
Andreas Morsch CERN/ALICE 3rd LHC Computing WorkshopMarseille, September 30, 1999 Base Classes for Simulation The ALICE Simulation Strategy Andreas Morsch.
25/03/2003Simulation Application for the LHCb Experiment CHEP March 2003 Presented by: W. Pokorski / CERN Authors: I. Belyaev, Ph. Charpentier,
1 Alice Experience with Geant4 F.Carminati 1, I.González 2, I.Hrivnacova 3, A.Morsch 1 for the ALICE Collaboration ( 1 CERN, Geneva; 2 IFCA, Cantabria;
Algorithms and Methods for Particle Identification with ALICE TOF Detector at Very High Particle Multiplicity TOF simulation group B.Zagreev ACAT2002,
ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.
Particle Detector Simulation (I) Using Geant4 Ahmed Sayed Hamed (master student)
17-19 Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan 2007 Geant4 Japan.
CBM Software Meeting 1 CBM Simulation & Analysis Framework M. Al-Turany, D. Bertini.
Usage of ROOT geometry with GEANT4
IEEE Nuclear Science Symposium and Medical Imaging Conference Short Course The Geant4 Simulation Toolkit Sunanda Banerjee (Saha Inst. Nucl. Phys., Kolkata,
Framework for Raw Data Thomas Kuhr Offline Week 29/06/2004.
Root based event display Dmitry Romanov October 19, 2010.
ALICE Simulation Framework Ivana Hrivnacova 1 and Andreas Morsch 2 1 NPI ASCR, Rez, Czech Republic 2 CERN, Geneva, Switzerland For the ALICE Collaboration.
The ALICE short-term use case DataGrid WP6 Meeting Milano, 11 Dec 2000Piergiorgio Cerello 1 Physics Performance Report (PPR) production starting in Feb2001.
BeamCal Simulations with Mokka Madalina Stanescu-Bellu West University Timisoara, Romania Desy, Zeuthen 30 Jun 2009 – FCAL Meeting.
W. Pokorski - CERN Simulation Project1 Python binding for Geant4 toolkit using Reflex/PyROOT tool Witek Pokorski EuroPython 2006, CERN, Geneva
CBM Software Workshop for Future Challenges in Tracking and Trigger Concepts, GSI, 9 June 2010 Volker Friese.
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.
The ALICE Simulation Strategy Andreas Morsch For the ALICE Offline Group Joint STAR/ALICE Offline Meeting Brookhaven National Laboratory, Upton, NY April.
October 20th, 2006 C. Gatto 1 4 th Concept Software Status Report.
FLUKA dose and fluence simulations for CBM experiment I.Kadenko, O.Bezshyyko, V.Pluyko, V.Shevchenko National Taras Shevchenko University of Kiev.
The Virtual MonteCarlo D.Adamova 2, V.Berejnoi 1, R.Brun 1, F.Carminati 1, A.Fassó 1, E.Futo 1, I.Gonzalez 3, I.Hrivnacova 4, A.Morsch 1 1 CERN, Geneva;
Simulations for CBM CBM-India Meeting, Jammu, 12 February 2008 V. Friese
Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.
LHCb production experience with Geant4 LCG Applications Area Meeting October F.Ranjard/ CERN.
Geant4 versus External Frameworks Approaches, Requirements and Constraints ATLAS, LHCb, CMS, Alice M. Stavrianakou CERN/CMC Geant4  -review
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.
A proposal for a Proposal for a Simulation Framework in BTeV G. Cerati, E. Di Maio, S. Magni, D. Menasce.
CBM Software Meeting 1 CBM Simulation & Analysis Framework Geant3 / Gean4 configuration M. Al-Turany, D. Bertini.
CBM ECAL simulation status Prokudin Mikhail ITEP.
Towards comparisons between TFluka and TGeant3 ( within CbmRoot Framework) Denis Bertini (IT-GSI) Antonin Maire (IPHC Strasbourg)
October 10-12, 1 AliRoot: I/O organisation ROOT in the ALICE experiment I/O Structure Run-Time Data-Exchange.
STAR Simulation. Status and plans V. Perevoztchikov Brookhaven National Laboratory,USA.
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.
MONTE CARLO TRANSPORT SIMULATION Panda Computing Week 2012, Torino.
A Short Course on Geant4 Simulation Toolkit Introduction
TGeo & VMCAndrei Gheata, 5 May 04Slide 1 (of 40) ROOT geometrical modeller and Virtual Monte-Carlo LCG-AA meeting Andrei Gheata.
Status of TFluka: geometry and validation Andrei Gheata ALICE Off-line week, 21 Feb
Status of Sirene Maarten de Jong. What?  Sirene is a program that simulates the detector response to muons and showers  It is based on the formalism.
Monthly video-conference, 18/12/2003 P.Hristov1 Preparation for physics data challenge'04 P.Hristov Alice monthly off-line video-conference December 18,
LHCb Simulation LHCC Computing Manpower Review 3 September 2003 F.Ranjard / CERN.
V4-18-Release P. Hristov 21/06/2010.
GEANT4 for Future Linear Colliders
The ALICE Cosmic Ray Physics Program
A Virtual Montecarlo (VMC) Application for AMS-01
Visualization of embedding
Recent performance improvements in ALICE simulation/digitization
v4-18-Release: really the last revision!
ALICE – Evolving towards the use of EDG/LCG - the Data Challenge 2004
AliRoot status and PDC’04
LHCb Software Tutorial
User Documents and Examples I
Monte Carlo Tools in ALICE
Chris Rogers, ASTeC, Rutherford Appleton Laboratory
(CMS GEANT4 simulation)
Linear Collider Simulation Tools
Pedro Arce (CERN/CIEMAT)
A Short Course on Geant4 Simulation Toolkit Introduction
Simulation Framework Subproject cern
GAUSS - GEANT4 based simulation for LHCb
Simulation and Physics
Geant4 in HARP V.Ivanchenko For the HARP Collaboration
Mantis a framework and toolkit for Geant4 simulation in CMS
Use of GEANT4 in CMS The OSCAR Project
Linear Collider Simulation Tools
Planning next release of GAUDI
Background Simulations at Fermilab
Presentation transcript:

Use of Geant4 in experiment interactive frameworks AliRoot Hrivnacova, IPN Orsay Geant4 Workshop, CERN 2 October 2002

Outline AliRoot architecture Virtual Monte Carlo Interactivity Present status of AliRoot I. Hrivnacova Geant4 Workshop 2002

AliRoot Architecture AliRoot Framework Based on ROOT User code in C++ Usage of FORTRAN libraries Geant3, event generators, “microcernlib” Integrates simulation, reconstruction and analysis ALICE software Each detector subsystem has one single package (one directory, one library) I. Hrivnacova Geant4 Workshop 2002

AliRoot External packages Detectors ITS TPC MUON PHOS PMD RICH FMD TOF TRD START ZDC STEER run management interface classes detector base classes data structure base classes AliRoot EVGEN PYTHIA6 HIJING … MICROCERN ROOT Geant4 VMC Geant3 VMC Geant3 VMC External packages Geant4

Virtual Monte Carlo Provides interface to Monte Carlo programs Decouples dependence of a user code on a concrete MC Enables to run the same user application with all supported Monte Carlo programs Implementation for 2 MCs available: Geant3, Geant4 ALICE effort is now concentrated on Fluka I. Hrivnacova Geant4 Workshop 2002

Virtual Monte Carlo Interfaces (1) TVirtualMC Interface to Monte Carlo program Generalization of Geant3 functions for definition of simulation task Provides methods for definition geometry and physics setup, for access to tracked particle properties during stepping, visualization Implementations: TGeant3, TGeant4 Are provided to a user I. Hrivnacova Geant4 Workshop 2002

Virtual Monte Carlo Interfaces (2) TVirtualMCApplication Interface to a user application Implementation has to be done by a user Methods: ConstructGeometry() InitGeometry() GeneratePrimaries() BeginEvent() BeginPrimary() PreTrack() Stepping() … FinishEvent()

Virtual Monte Carlo I. Hrivnacova Geant4 Workshop 2002

Example Of VMC Application // … etc } //_______________________________________ void Ex01MCApplication::Construct Geometry() { //------------------------------ experimental hall (world) Double_t expHall[3]; expHall[0] = 300.; expHall[1] = 100.; expHall[2] = 100.; gMC->Gsvolu("EXPH","BOX", fImedAr, expHall, 3); //------------------------------ a tracker tube Double_t trackerTube[3]; trackerTube[0] = 0.; trackerTube[1] = 60.; trackerTube[2] = 50.; gMC->Gsvolu("TRTU","TUBE", fImedAl, trackerTube, 3); Double_t posX = -100.; Double_t posY = 0.; Double_t posZ = 0.; gMC->Gspos("TRTU", 1 ,"EXPH", posX, posY, posZ, 0, "ONLY"); // … etc }

Run With Virtual MC Concrete Monte Carlo is selected and loaded dynamically at run time Steps: aliroot The main program creates the application object gAlice root [0] gAlice->Init(“g4Config.C”); Application is initialized with G4 configuration file that instantiates G4 VMC and Geant4 root [1] gAlice->Run(); Simulation run with Geant4 I. Hrivnacova Geant4 Workshop 2002

Geant4 VMC Limitations Geant4 VMC (geometry part) is based on G3toG4 G3toG4 limitations (reflections, MANY) have been minimized with Geant4 4.0 Limited support for “MANY” volumes positions Overlapping volumes have to be specified explicitly (via G4Gsbool function) A few more minor limitations None of them a real obstacle for using the VMC I. Hrivnacova Geant4 Workshop 2002

Interactivity (UI) AliRoot UI = Root UI Root provides access to all objects which have been processed by CINT: root [0] MyObject myObject; root [0] myObject.MyFunction (); Geant4 classes are not processed by CINT – G4 objects are not accessible from AliRoot UI Switching between Root UI and Geant4 UI is available I. Hrivnacova Geant4 Workshop 2002

Interactivity (UI) Switch UI Execute a macro Execute a command root [0] geant4->StartGeantUI(); Idle> /mcControl/root Execute a macro root [0] geant4->ProcessGeantMacro(“myMacro.mac”); Idle> /mcControl/rootMacro myMacro Execute a command root [0] geant4->ProcessGeantCommand(“/tracking/verbose 1”); Idle> /mcControl/rootCmd TBrowser b; I. Hrivnacova Geant4 Workshop 2002

Present Status Of AliRoot Hits Production The ALICE background event HIJING parameterization event generator 5000 primary particles (5.8 % of full background event) Modular physics list according to the physics list in G4 example N04 (electromagnetic and hadronic physics) Included 11 detectors and all structures ITS coarse geometry (due not resolved MANY) The kinetic energy cuts equivalent to those in G3 were applied in G4 using a special process and user limits objects Standard AliRoot magnetic field 0.2 Tesla Finished sucessfully Protection against looping particles I. Hrivnacova Geant4 Workshop 2002

Present Status Of AliRoot Hits Production Hits for 9 (from 11) detectors Missing: ITS (coarse version does not produce hits) RICH (requires adding own particles to the stack – not yet investigated) Comparisons of hits x, z distribution No detailed analysis Need to involve detector developers I. Hrivnacova Geant4 Workshop 2002

Summary AliRoot simulation is based on VMC The same user code for Geant3 and Geant4 MC PPR Production with Geant3 VMC has been defined as generalization of Geant3 functions Geant4 VMC - G3toG4 limitations 5000 primaries event Finishes with a success Missing hits from two detectors (ITS, RICH) No detailed analysis of simulated data Low interest of ALICE collaboration in Geant4 Effort concentrated on Fluka VMC I. Hrivnacova Geant4 Workshop 2002