LHCb Simulation Tutorial CERN, 21 st -22 nd February 2012 01 10 100 111 01 1 01 01 00 01 01 010 10 11 01 00 B 00 l e Detector Simulation Examples.

Slides:



Advertisements
Similar presentations
IcTracker V6.9 Whats New in V6.9 New Navigation buttons New Sub-task view page New Sub-task attributes Customize Home page.
Advertisements

An advanced testing, recording, and evaluation tool for online training and performance evaluation. RoboTutor Software, 8980 Cheshire Drive, Sandy, Utah.
The Way to Success … Sta rt Sta rt Ak Technologies Mo | Visit.
USE OF GEANT4 FOR LHCB RICH SIMULATION S. Easo, RAL, LHCB AND ITS RICH DETECTORS. TESTBEAM DATA FOR LHCB-RICH. OVERVIEW OF GEANT4 SIMULATION.
11 Getting Started with ASP.NET Beginning ASP.NET 4.0 in C# 2010 Chapters 5 and 6.
Geometry Control – Modifying and Relimiting; Using Axes and Transformation Ideas Chapter 2: 2.4 & 2.5 R. Lindeke IE 1225.
© Anselm SpoerriInfo + Web Tech Course Information Technologies Info + Web Tech Course Anselm Spoerri PhD (MIT) Rutgers University
1 Introduction to OBIEE: Learning to Access, Navigate, and Find Data in the SWIFT Data Warehouse Lesson 8: Printing and Exporting an OBIEE Analysis This.
14 User Documents and Examples II SLAC Geant4 Tutorial 17 May 2007 Dennis Wright Geant4 V8.3.
Particle Detector Simulation (I) Using Geant4 Ahmed Sayed Hamed (master student)
How do I create a Web Dilemma in PowerPoint? Start Tutorial Use Black Boxes for Navigation.
DB Audit Expert v1.1 for Oracle Copyright © SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.
LHCb Simulation Tutorial CERN, 21 st -22 nd February B 00 l e How to pass a detector geometry to.
LHCb Simulation Tutorial CERN, 21 st -22 nd February B 00 l e Detector Simulation and Geant4.
FIRST COURSE Access Tutorial 1 Creating a Database.
Introduction to Hall-D Software February 27, 2009 David Lawrence - JLab.
The Pipeline Processing Framework LSST Applications Meeting IPAC Feb. 19, 2008 Raymond Plante National Center for Supercomputing Applications.
Guidelines for Homework 6. Getting Started Homework 6 requires that you complete Homework 5. –All of HW5 must run on the GridFarm. –HW6 may run elsewhere.
ANSYS Fundamentals This document contains no technical data subject to the EAR or the ITAR.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Lecture Set 2 Part B – Configuring Visual Studio; Configuration Options and The Help System (scan quickly for future reference)
Tutorial 111 The Visual Studio.NET Environment The major differences between Visual Basic 6.0 and Visual Basic.NET are the latter’s support for true object-oriented.
QT - a C++ based GUI QT’s Designer and Assistant.
Overview of LHCb applications and software environment LHCb software tutorial - March
1 FactSage Browser the navigation tool for Database Documentation.
Pedro Arce Introducción a GEANT4 1 GAMOS tutorial Plug-in’s Exercises Pedro Arce Dubois CIEMAT
Gaudi Framework Tutorial, XML The persistent world.
Bookkeeping Tutorial. Bookkeeping & Monitoring Tutorial2 Bookkeeping content  Contains records of all “jobs” and all “files” that are created by production.
An Introduction to Designing and Executing Workflows with Taverna Aleksandra Pawlik materials by: Katy Wolstencroft University of Manchester.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 23 – The Registry.
6th April 2005Wah-kai Ngai1 First Example in Geant4 3rd HK simulation group meeting.
New Perspectives on XML, 2nd Edition Tutorial 9B1 USING XML AS A DATA SOURCE TUTORIAL 9B.
Printing a Presentation Objective: Print a PowerPoint Presentation Objective: Print a PowerPoint Presentation Given: Handout, Lecture, previous notes,
Introduction to Web Services. Examples Using a Web Service Creating a new Web Service.
RICH SIMULATION USING GEANT4 S.EASO, RAL OBJECTIVES OF THE SIMULATION. CURRENT STATUS AND PLANS. INTEGRATION WITH LHCb SOFTWARE. SUMMARY.
Darmstadt, 15. November 2015 Tobias Stockmanns, FZ Jülich1 A STEP to ROOT converter for the FairRoot framework ALICE-FAIR Computing Meeting, GSI,
PowerPoint Basics Tutorial 1: Objects These tutorials will introduce you to the most basic and useful functions of Microsoft PowerPoint We’re going.
Reconstruction Configuration with Python Chris Jones University of Cambridge.
Lecture One. Objective: Provide description of the Command-Line Editor of Linux operating system. Enable students to understand the practical side of.
LHCb production experience with Geant4 LCG Applications Area Meeting October F.Ranjard/ CERN.
RICH upgrade simulation: updates RICH upgrade-software meeting 1 S.Easo.
RICH upgrade simulation: updates S.Easo RICH upgrade-mechanics meeting 1.
BA271 Week 6 Lecture Dave Sullivan. Goal for today… Status Report – Review where we are … Status Report – Review where we are … Begin learning about Microsoft.
Simulation Commissioning, Validation, Data Quality A brain dump to prompt discussion Many points applicable to any of LHCb software but some simulation.
Detector Description in LHCb Detector Description Workshop 13 June 2002 S. Ponce, P. Mato / CERN.
Geant Simulation Tutorial 2002 년 6 월 26 일 2002 CHEP 여름학교 서울대학교 김복주 웹페이지 :
LHCb Simulation Tutorial CERN, 21 st -22 nd February B 00 l e Detector Simulation Examples.
Bookkeeping Tutorial. 2 Bookkeeping content  Contains records of all “jobs” and all “files” that are produced by production jobs  Job:  In fact technically.
Maria Grazia Pia Hands-on exercises Unit 2 Modelling the experimental set-up.
Unit 14 - Desktop Publishing Part 2 Desktop Publishing InDesign – Inside Pages
11 Getting Started with ASP.NET Beginning ASP.NET in C# and VB Chapters 1 and 2.
Workshop 2 Steel Bracket Modified by (2008): Dr. Vijay K. Goyal Associate Professor, Department of Mechanical Engineering University of Puerto Rico at.
CERN Tutorial, September Overview of LHCb applications and software environment.
The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.
Mesh Control Winter Semester PART 1 Meshing.
17-19 Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan 2007 Geant4 Collaboration.
M.Frank, CERN/LHCb Persistency Workshop, Dec, 2004 Distributed Databases in LHCb  Main databases in LHCb Online / Offline and their clients  The cross.
Bologna Tutorial, June Overview of LHCb applications and software environment.
Xml News Slide 1 S. Ponce, 21 June 2001 Detector description language news.
1 Exercises 0 Go inside the “hadrontherapy” directory: cd hadrontherapy Copy the Hadrontherapy example to your home folder: cp –r $G4INSTALL/examples/advanced/hadrontherapy.
Unit 4 Retrieving information from the simulation
GAUSS GiGa (G4 Interface for Gaudi Geant 4
Good Morning  Please be sure to take care of your belongings.
MANAGEMENT OF DASHBOARD MODELS
LHCb Software Tutorial
1. Open Visual Studio 2008.
Various News From Detector Description
Presentation title here
These slides are for reference only. They are not "lecture notes"
PowerPoint in the classroom.
Presentation transcript:

LHCb Simulation Tutorial CERN, 21 st -22 nd February B 00 l e Detector Simulation Examples

Creating a DB slice From the LHCb twiki page For the tutorial you can also 2 Simulation Tutorial - Feb SetupProject LHCb setenv tagA head setenv tagB sim vc-md100 mkdir myDDDB-Tutorial-LHCb-Feb2012 dump_db_to_files.py -c sqlite_file:$SQLITEDBPATH/DDDB.db/DDDB -T $tagA -d myDDDB-Tutorial-LHCb-Feb2012 dump_db_to_files.py -c sqlite_file:$SQLITEDBPATH/SIMCOND.db/SIMCOND -T $tagB -d myDDDB-Tutorial-LHCb-Feb2012 Copy the subdirectories TutorialExample, LHCb, AfterMagnet from /afs/cern.ch/user/s/seaso/public/Det/Tutorial/myDDDB-Tutorial-LHCb-Feb2012 area Detectors Examples

The new geometry element is part of a DB slice. Let us call this local Db slice : ‘myDDDB-Tutorial-LHCb-Feb2012’ Step1: Create a file ‘DetDb_Tutorial.py’ which has something like: from Configurables import LHCbApp, CondDB, UpdateManagerSvc,DDDBConf from Gaudi.Configuration import * lhcbApp = LHCbApp() DDDBConf().DbRoot = "/afs/cern.ch/user/s/seaso/scratch0/cmtuser/SQLDDDB/db/myDDDB-Tutorial- LHCb-Feb2012/lhcb.xml" CondDB().Tags['DDDB'] = 'HEAD' lhcbApp.DDDBtag = "head " lhcbApp.DataType = "2010" lhcbApp.Simulation = True LHCbApp().CondDBtag = "sim vc-md100” SetupProject Panoramix v20r2 python $mypanoramix --BareConfig 1 –f none -v DetDb_Tutorial.py Step2: Using Panoramix for Geometry Visualization 3 Simulation Tutorial - Feb Detectors Examples

Step 3: In the Panoramix window, click through the geometry tree dd  Structure  Geometry  AfterMagnetRegion  TutorialMaster  lvTutorialMaster Demonstration from an lxplus window. Simple Solids, Boolean subtracted Solid. Array of solids Using Panoramix for Geometry Visualization 4 Simulation Tutorial - Feb Step 4: Use the info from Help  Geometry to navigate into the volumes Detectors Examples

 More info related to running Panoramix and copying the XmlVis in backup slides Panoramix Demonstrations 5 Simulation Tutorial - Feb Detectors Examples

Example Volumes : Three PixelContainers inside TutorialMaster Arrays of pixels inside each PixelContainer Demonstration using Panoramics More Examples 6 Simulation Tutorial - Feb Detectors Examples

(1)Create a boolean subtracted Box, starting from the Tutorial example and visualize it in Panoramix. It can be a box with two cylindrical holes. Example shown here. Use the instructions in earlier slides To get the DB, before making modifications. The instructions for Running panoramix are also in earlier slides. An example solution is also provided in the database. Exercises 7 Simulation Tutorial - Feb Detectors Examples

(2)In the example with Pixelcontainer, create pixels in a way which is symmetric around the beam axis. An example is shown here with pixels in the shape of r-phi geometry. Exercises 8 Simulation Tutorial - Feb Detectors Examples

Exercise2: Part2 After the Geant4 lecture Use the volume create in Exercise 2 to run Gauss with particle gun and print (a) The location of where the tracks are incident on the PixelContainer. (b) The location of where the tracks are incident on the pixels. Use the instructions from backup slides to run Gauss. 9 Simulation Tutorial - Feb Detectors Examples

BACKUP SLIDES 10 Simulation Tutorial - Feb Detectors Examples

 For the Tutorial, a DB slice is made where the RICH2 is temporarily kept aside.  The space for that is used to create a TutorialMaster Volume within which we can create additional volumes in this tutorial. This can be copied to your area using instructions on page 2  Visualization attributes to volumes (colours, wire frames etc). The Tutorial Volume attributes in TutorialLogVols.xml, TutorialVisAtts.xml and colors.xml setenvProject Panoramix v20r2 cd ~/cmtuser/Panoramix_v20r2 getpack Vis/XmlVis head Optional: getpack Vis/Panoramix v20r2 run $mypanamix from the options area of this panoramix. DB Slice for Tutorial : Instructions for Panoramix 11 Simulation Tutorial - Feb Detectors Examples

setenvGauss v41r1 cd ~/cmtuser/Gauss_v41r1 getpack Sim/Gauss v41r1 getpack Gen/LbPGuns getpack Tutorial/GaussTutorial head Compile the GaussTutorial Edit Gauss requirements to use this packge Copy the options files in /afs/cern.ch/user/s/seaso/public/Simulation/Tutorial/TutorialOptions Use the standard Particle Gun options ( alternately copy the options file ParticleGun_rich2.py from /afs/cern.ch/user/s/seaso/public/Simulation/Tutorial/Gen/LbPGubs/options area.) gaudirun.py Gauss-DB-Feb2012-Tutorial.py Gauss_Job_TutorialUserPackage.py Example running of Gauss 12 Simulation Tutorial - Feb Detectors Examples

1: In the../myDDDB-Tutorial-LHCb-Feb-2012/TutorialExample cp geometry_exercise1.xml geometry.xml cp structre_basic.xml structure.xml SetupProject Panoramix v20r2 python $mypanoramix --BareConfig 1 –f none -v DetDb_Tutorial.py Exercise solutions 13 Simulation Tutorial - Feb : In the../myDDDB-Tutorial-LHCb-Feb2012/TutorialExample cp geometry_exercise2.xml geometry.xml Then run panoramix as above To run gauss use the instructions on the previous slide Detectors Examples

Tutorial DB options Options for using volumes inside TutorialMaster geometry_setA.xml : basic geometry geometry_SetP.xml : few boolean solids geometry_SetCoinA.xml : array of coins geometry_SetPix.xml : PixelContainer geometry_Exercise1.xml, geometry_Exercise2.xml, geometry_Exercise3.xml : solutions to the exercises cp geometry_xxx.xml geometry.xml for the using the various setups structure_basic.xml : basic geometry, boolean solids, PixelContainer etc. With PixelContainer geometry: structure_GenericDetElem.xml : generic detector element structure_MasterSpDetElem.xml : customized detector element. structure_exercise3.xml : solution to exercise 3 cp structure_xxx.xml structure.xml to use the various options. 14 Simulation Tutorial - Feb Detectors Examples

Tutorial Example XML <tubs name="TutorialPixContainer" sizeZ="TexSiContainerZSize" outerRadius="TexSiContainerOuterRadius" innerRadius="TexSiContainerInnerRadius" /> &TutorialPixArrayPhys; <!-- --> <box name="TutorialPixBox" sizeX="TexSiPixXSize" sizeY="TexSiPixYSize" sizeZ="TexSiPixZSize" /> 15 Simulation Tutorial - Feb Log Vol : Si Pix Array Detectors Examples

Tutorial example XML <tubs name="TutorialExampleCoinTubs" sizeZ="TexCoinThickness" outerRadius="TexCoinOuterR" innerRadius="TexCoinInnerR" /> <box name="TutorialExampleCoinSubBox" sizeX="TexCoinSubBoxXSize" sizeY="TexCoinSubBoxYSize" sizeZ="TexCoinSubBoxZLargeSize" /> 16 Simulation Tutorial - Feb Log Vol : Coin shown in the slides Detectors Examples