C++ / G4MICE Course Session 5 Materials in G4MICE Units in G4MICE Visualisation in G4MICE G4MICE Modelling.

Slides:



Advertisements
Similar presentations
Volume.
Advertisements

GAMOS tutorial Histogram and Scorers Exercises
1Malcolm Ellis - Tracker Meeting - 18th May 2006 Reconstruction Plans  Staged process of building up Reconstruction over the rest of this year  Will.
SURFACE AREA & VOLUME.
Query Manager. QM is a collection of tools you can use to obtain information from the AS/400 database Used to –select, arrange, and analyze information.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
1Malcolm Ellis - Software Meeting - 17th May 2006 MICE Model and MICERun  MiceModel: u Overall Model that is used throughout G4MICE to represent any stage.
1 G4MICE Malcolm Ellis SciFi Tracker Meeting, KEK Thursday 31st March 2005.
Introduction To Form Builder
1 G4MICE TOF Reconstruction & KEK Test Beam Analysis Update Aron Fish Tracker Phone Conference May 25, 2006.
Particle Detector Simulation (I) Using Geant4 Ahmed Sayed Hamed (master student)
Chapter 3 Planning Your Solution
Conversion Factors and Unit Cancellation
DEMONSTRATION FOR SIGMA DATA ACQUISITION MODULES Tempatron Ltd Data Measurements Division Darwin Close Reading RG2 0TB UK T : +44 (0) F :
Microsoft® Small Basic The Controls Object Estimated time to complete this lesson: 1 hour.
C++ / G4MICE Course Session 3 Introduction to Classes Pointers and References Makefiles Standard Template Library.
Volume word problems Part 2.
Unit 3: Geometry Lesson #5: Volume & Surface Area.
Volume McNeely. What is it? The amount of space occupied by a 3-d figure. How much a 3-d figure will hold.
Geometry Honors Section 7.1 Surface Area and Volume of Boxes.
1 Workshop 4 (B): Visual Basic Test Project Mahidol University June 13, 2008 Paul Evenson University of Delaware Bartol Research Institute.
Mentor Tools tutorial Bold Browser Design Manager Design Architect Library Components Quicksim Creating and Compiling the VHDL Model.
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.
Installing and Using Active Directory Written by Marc Zacharko.
S. Guatelli, CPS Innovations, Knoxville, 13 th -21 st January Brachytherapy exercise.
Pedro Arce Introducción a GEANT4 1 GAMOS tutorial Plug-in’s Exercises Pedro Arce Dubois CIEMAT
Objectives Identify the multiplicity of roots Use the Rational Root Theorem and the Irrational Root Theorem to solve polynomial equations.
CMPS 1371 Introduction to Computing for Engineers MatLab.
Objectives I will use the distributive property to factor a polynomial.
7 June 2005 Visualization & GGE Demo J. Perl 1 HepRep/WIRED DAWN OpenGL Geant4 Visualization & GGE Demo Joseph Perl, SLAC.
VOLUME. So far, we have learned about length. This is a measure of 1 dimension.
Volume of a Rectangular Prism
1 Getting Started Exercise Part 1. 2 Profiles related to the exercise When starting use archive profile: GettingStarted_Start.zip The fully completed.
Gds2udo How to use it with QuickWave. Summary Purpose Calling gds2udo  the command line  the required files  How to build the required files Using.
Online Reconstruction 1M.Ellis - CM th October 2008.
SoLID simulation with GEMC Zhiwen Zhao 2015/03/26.
Files Tutor: You will need ….
C++ / G4MICE Course Session 1 - Introduction Edit text files in a UNIX environment. Use the g++ compiler to compile a single C++ file. Understand the C++
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 12 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 12 Accessing.
Exercises Alberto Ribon Alberto Ribon CERN PH/SFT CERN PH/SFT Geant4 tutorial, May 2005.
Exercise 1 #include int main() { printf(“Hello C Programming!\n”); return 0; } 1.Run your Visual Studio 2008 or Create a new “project” and add.
Pedro Arce Introducción a GEANT4 1 GAMOS tutorial RadioTherapy Exercises Pedro Arce Dubois CIEMAT
Volume and Area. Definitions Volume is… The measurement of the space occupied by a solid region; measured in cubic units Lateral Area is… The sum of the.
Display Page (HTML/CSS)
Chapter 5 Introduction To Form Builder. Lesson C Objectives  Use sequences to automatically generate primary key values in a form  Create lists of values.
Aim: How can the metric system be used to measure cubic volume? Do Now: Write the formula for area. What is the area of a square that has the following.
TOOLBOX. The Toolbox Intrinsic Controls - always included in the Toolbox ActiveX Controls - separate files with ocx file extension Insertable Objects.
CONFIDENTIAL 1 Algebra1 Solving Radical Equations.
17-19 Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan 2007 Geant4 Collaboration.
C++ / G4MICE Course Session 6 G4MICE Design and Domains Datacards Configurations (MiceModules) Using existing G4MICE Applications.
Notes Over 3.4Volume The volume of a box is the number of cubic units it can hold. Rectangular box: Cube: Sphere:
111 State Management Beginning ASP.NET in C# and VB Chapter 4 Pages
Open the standard.idw template. Save copy as a different file name. If you want to create as a template, save to the c:\Program Files\Autodesk \Inventor10.
C++ / G4MICE Course Session 4 Create a complete C++ class
Session 1 - Introduction
Models vs Representations
Similar Solids and Scale Factor
Trial and Improvement 100 cm2 Example
Metric Units Tuesday, 01 January 2019.
What are the Metric Measures of Volume?
GAMOS tutorial Plug-in’s Exercises
Metric Units Monday, 22 April 2019.
Lesson 4.6 Core Focus on Geometry Volume of Cylinders.
Welcome.
Welcome.
A drag and drop exercise can be created using Word quite easily using tables, text boxes and ensuring the document is saved properly.
Welcome.
Indices By
Surface Area and Volume
Presentation transcript:

C++ / G4MICE Course Session 5 Materials in G4MICE Units in G4MICE Visualisation in G4MICE G4MICE Modelling

Materials in G4MICE The MiceMaterials class is used by the modelling code (and can be accessed by user code as required) to hold information about all of the materials that can be used in a G4MICE model. It currently includes all of the NIST material database plus some additional materials for MICE and MANX. Other materials can be added on request if they are needed. 2

Material Properties If an application is built including GEANT4, then the G4Material object can be retrieved from the corresponding MiceMaterial object. If not, then you can still get all of the material proprties (density, temperature, pressure, X0, etc) from the MiceMaterial class. >> look at doxygen page for MiceMaterial 3

Units in G4MICE CLHEP provides a set of definitions that are self-consistent to allow the use of units correctly in our code (SystemOfUnits). If you always use the units when defining variables and when using them, there should be no problems that are often associated with one person using cm and another using mm, inches, metres, etc... 4

Units Example double length = 100 * mm; double width = 1 * cm; double height = 2.5 * m; double area = width * height; double volume = length * width * height; std::cout << “Area = “ << area / km2 << “ square kilometres” << std::endl; std::cout << “Volume = “ << volume / mm3 << “ cubic millimetres” << std::endl; 5

G4MICE – Units Extension The MiceUnits class takes the CLHEP units and adds the ability to read in units from our various text files (data cards and MiceModules). This means that there is no reason to ever give a parameter without a unit if it has a unit. >> look at data cards and MiceModules files again. 6

Visualisation in G4MICE There are currently two different options to perform visualisation in G4MICE. The first is the EventDisplay application, which generates a HepRep format file. The second is to run the Simulation Application in the interactive mode and use the GEANT4 interactive commands to perform the visualisation. 7

Event Display Application The EventDisplay application will generate one heprep file per event. If there is a file with hits, points, tracks, etc, it will visualise those as well. If numEvts is equal to 0, it will only generate one file, containing just the geometry. >> try cards.vis1 and cards.vis2 8

Simulation Visualisation Run the Simulation in interactive mode: ${MICESRC}/Applications/Simulation/Simulation cards.sim 1 When it gives a prompt, enter the following: –/vis/scene/create –/vis/sceneHandler/create VRML2FILE –/vis/viewer/create –/vis/scene/endOfEventAction accumulate –/vis/scene/endOfRunAction accumulate –/tracking/storeTrajectory 1 –/run/beamOn 100 –exit 9

G4MICE Modelling Exercise for this session: –Dream up a simple arrangement of boxes, cylinders and tubes, perhaps based on a real experiment, but not necessarily so. –Create the necessary files in the Modules and Configurations areas (in both cases, but them in the Tests directory). –Visualise the configuration and experiment with the material and colour properties. 10