1 / 7

Detector Description

Detector Description. Authors: John Apostolakis and Gabriele Cosmo. PART 1. Detector Description: the Basics. Concepts for Detector Description. The following concepts will be described: Units Material Detector Geometry Sensitive Volumes Hits. Unit system.

haru
Download Presentation

Detector Description

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Detector Description Authors: John Apostolakis and Gabriele Cosmo

  2. PART 1 Detector Description: the Basics

  3. Concepts for Detector Description The following concepts will be described: • Units • Material • Detector Geometry • Sensitive Volumes • Hits

  4. Unit system • Geant4 has no default unit. To give a number, unit must be “multiplied” to the number. • for example : double width = 12.5*m; double density = 2.7*g/cm3; • Almost all commonly used units are available. • The user can define new units. • Refer to geant4/source/global/management/ include/SystemOfUnits.h • Divide a variable by a unit you want to get. G4cout << dE / MeV << “ (MeV)” << G4endl;

  5. Definition of Materials • Different kinds of materials can be defined: • isotopes <> G4Isotope • elements <> G4Element • molecules <> G4Material • compounds and mixtures <> G4Material • Attributes associated: • temperature, pressure, state, density

  6. Material of one element • Single element material double density = 1.390*g/cm3; double a = 39.95*g/mole; G4Material* lAr = new G4Material("liquidArgon",z=18.,a,density); • There must be no vacuum. • Use very low density instead.

  7. Material: molecule • A Molecule is made of several elements (composition by number of atoms): a = 1.01*g/mole; G4Element* elH = new G4Element("Hydrogen",symbol="H",z=1.,a); a = 16.00*g/mole; G4Element* elO = new G4Element("Oxygen",symbol="O",z=8.,a); density = 1.000*g/cm3; G4Material* H2O = new G4Material("Water",density,ncomp=2); H2O->AddElement(elH, natoms=2); H2O->AddElement(elO, natoms=1);

More Related