1 1 Feb. 22 nd 2012 Hans Wenzel Fermilab Muon Collider simulation status and plans Hans Wenzel November 21 st 2013 Hans Wenzel January 9 th 2014.

Slides:



Advertisements
Similar presentations
Simulation Project Major achievements (past 6 months 2007)
Advertisements

14 User Documents and Examples I SLAC Geant4 Tutorial 3 November 2009 Dennis Wright Geant4 V9.2.p02.
14 Overview of Geant4 Examples 2 nd Finnish Geant4 Workshop 6-7 June 2005 Dennis Wright (SLAC)
14 User Documents and Examples II SLAC Geant4 Tutorial 17 May 2007 Dennis Wright Geant4 V8.3.
GLAST LAT ProjectOnline Peer Review – July 21, Integration and Test L. Miller 1 GLAST Large Area Telescope: I&T Integration Readiness Review.
17-19 Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan 2007 Geant4 Japan.
Topics Introduction Hardware and Software How Computers Store Data
Sep. 26 tt, 2013 Hans Wenzel: 18 th Geant 4 Collaboration Meeting, Seville 1 Using Geant4 to predict properties and performance of future high-precision.
14 Overview of Geant4 Examples Geant4 Tutorial 8-10 March 2004 Dennis Wright (SLAC)
Workload Management WP Status and next steps Massimo Sgaravatto INFN Padova.
ALCPG October 25 th 2007 Hans Wenzel Calorimetry in slic How-to Motivation for dual readout Calorimeter What are our requirements Why did we choose SLIC.
CVS Version Tree Display Richard Thomas Benedict College Supervisor Dr. David J Ritchie Computing Division Fermilab Summer 2003.
Magnetic Field Measurement System as Part of a Software Family Jerzy M. Nogiec Joe DiMarco Fermilab.
Validation and TestEm series Michel Maire for the Standard EM group LAPP (Annecy) July 2006.
User Documents and Examples I Sébastien Incerti Slides thanks to Dennis Wrigth, SLAC.
May 19 th, 2014 Physics Lists and Validation Tools working group meeting 1 Hans Wenzel May 19 th 2014 Validation Repository Status Report and Plans.
Implementing a dual readout calorimeter in SLIC and testing Geant4 Physics Hans Wenzel Fermilab Friday, 2 nd October 2009 ALCPG 2009.
The Network Performance Advisor J. W. Ferguson NLANR/DAST & NCSA.
Bookkeeping Tutorial. Bookkeeping & Monitoring Tutorial2 Bookkeeping content  Contains records of all “jobs” and all “files” that are created by production.
Dual Readout Dec 18 th 2007 Hans Wenzel SLIC and multiple readouts. Hans Wenzel Fermilab Warning: Work in progress! Current Status Where to find executables,
FlexElink Winter presentation 26 February 2002 Flexible linking (and formatting) management software Hector Sanchez Universitat Jaume I Ing. Informatica.
SoLID simulation Zhiwen Zhao Uva SoLID Collaboration Meeting 2011/6/2 1.
V. Serbo, SLAC ACAT03, 1-5 December 2003 Interactive GUI for Geant4 by Victor Serbo, SLAC.
Maria Grazia Pia Detector Response Acknowledgements: A. Lechner, J. Apostolakis, M. Asai, G. Cosmo, A. Howard.
The european ITM Task Force data structure F. Imbeaux.
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
ALCPG Software Framework Overview & Updates Jeremy McCormick, SLAC SiD Group ALCPG 2009.
G4MICE Status and Plans 1M.Ellis - CM24 - RAL - 31st May 2009  Firstly, a correction to the agenda:  I failed to spot a mistake in the agenda that I.
Multistep Runs with ROD Crate DAQ Murrough Landon, QMUL Outline: Overview Implementation Comparison with existing setup Readout Status ModuleServices API.
Detector Simulation Presentation # 3 Nafisa Tasneem CHEP,KNU  How to do HEP experiment  What is detector simulation?
GDB Meeting - 10 June 2003 ATLAS Offline Software David R. Quarrie Lawrence Berkeley National Laboratory
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.
Introduction What is detector simulation? A detector simulation program must provide the possibility of describing accurately an experimental setup (both.
Mar. 13 th, 2014 Geant4 Physicslist and Validation Working Group Meeting 1 Hans Wenzel Mar 13 th 2014 Physics validation display Webapplication.
TB1: Data analysis Antonio Bulgheroni on behalf of the TB24 team.
David Adams ATLAS DIAL: Distributed Interactive Analysis of Large datasets David Adams BNL August 5, 2002 BNL OMEGA talk.
NOVA A Networked Object-Based EnVironment for Analysis “Framework Components for Distributed Computing” Pavel Nevski, Sasha Vanyashin, Torre Wenaus US.
Documentation Gunter Folger / CERN Geant4 School, Annecy 2008.
SoLID simulation with GEMC Zhiwen Zhao 2015/03/26.
Jean-Roch Vlimant, CERN Physics Performance and Dataset Project Physics Data & MC Validation Group McM : The Evolution of PREP. The CMS tool for Monte-Carlo.
Bookkeeping Tutorial. 2 Bookkeeping content  Contains records of all “jobs” and all “files” that are produced by production jobs  Job:  In fact technically.
CaTS and Dual Readout. CaTS – Calorimeter and Tracker Simulation Describe detector in gdml file (xml like) Define.
Calorimeter Simulation Infrastructure Norman Graf Arlington ‘03.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
Krzysztof Genser/Fermilab For the Fermilab Geant4 Performance Team.
Update G4builder issues Talk written almost entirely by Stan Bentvelsen with a few updates from Christopher Lester ATLAS G4 Workshop December 2000 CAMBRIDGE.
INFSO-RI Enabling Grids for E-sciencE Using of GANGA interface for Athena applications A. Zalite / PNPI.
Oct. 16 th, 2013 Geant4 hadronic Meeting 1 Hans Wenzel Oct 16 th 2013 Status of physics validation tool.
GDML “Geometry Description Markup Language” by Daniele Francesco Kruse University of Rome “Tor Vergata” European Organization for Nuclear Research.
1 G4UIRoot Isidro González ALICE ROOT /10/2002.
1 Plannar Active Absorber Calorimeter Adam Para, Niki Saoulidou, Hans Wenzel, Shin-Shan Yu Fermialb Tianchi Zhao University of Washington ACFA Meeting.
David Adams ATLAS ATLAS Distributed Analysis and proposal for ATLAS-LHCb system David Adams BNL March 22, 2004 ATLAS-LHCb-GANGA Meeting.
Validation db status and plans (what happened since the Collaboration meeting) Hans Wenzel 10th Physics Lists and Validation Tools working group meeting.
Geant4 Validation Database Update Hans Wenzel Simulations for Neutrinos Meeting January 22 nd, 2016.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Event Mixing Rob Kutschke, Fermilab Software and Simulation Meeting October 5, 2011 Mu2e-doc-1874-v1.
Web Application & Validation Hans Wenzel 20 th Geant4 Collaboration Meeting September 28, 2015.
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
Fermilab Scientific Computing Division Fermi National Accelerator Laboratory, Batavia, Illinois, USA. Off-the-Shelf Hardware and Software DAQ Performance.
Gunter Folger / CERN MC-PAD, DESY/Hamburg Jan 2010
GEANT4 for Future Linear Colliders
European Organization for Nuclear Research
A C++ generic model for the GLAST Geometric Description
LHCb Software Tutorial
User Documents and Examples I
Topics Introduction Hardware and Software How Computers Store Data
SoLID simulation with GEMC
Simulation Framework Subproject cern
Use of GEANT4 in CMS The OSCAR Project
Presentation transcript:

1 1 Feb. 22 nd 2012 Hans Wenzel Fermilab Muon Collider simulation status and plans Hans Wenzel November 21 st 2013 Hans Wenzel January 9 th 2014

2 2 Outline Plans/Status from last time Sampling calorimeter from last time Motivation Development environment How to tell art what we are producing Extending the gdml schema (colors) Examples: PbF2 Crystal Dual read out crystal calorimeter Plans January 9 th 2014 Hans Wenzel

3 3 Plan from last time January 9 th 2014 Hans Wenzel Clean up code and put int artg4/artg4example git repository (done) Implement scheme to store/retrieve/analyze the data (Hits) (show) Import all SD/Hits classes, Analysis from Cats. Make sure we can do detector R&D (show examples) Add Color Integrate numi beamline physics list (not yet)

4 4 Example tiled PB/scintillator calorimeter from last time November 21 st 2013 Hans Wenzel No visual Attributes? 4mm x 30cm x 30 cm Pb, 1mm x 30cm x 30 cm Sz Szintillator Pb Absorbers

5 5 StoppingCalorimeterSD Pro. ArtCalorimeterHit January 9 th 2014 Hans Wenzel Cerenkov Radiator Motivation: Modular system build detector from predefined components PhotonSD produces ArtPhotonHits Particle ID Tracker EM Hadronic  TrackerSD produces ArtTrackerHits DRCalorimeterSD produces ArtDRCalorimeterHits BeamDump Currently implemented PhotonSD TrackerSD CalorimeterSD DRCalorimeterSD

6 6 Development environment January 9 th 2014 Hans Wenzel development machine: gm2gpvm01.fnal.gov Software Versions: GEANT4_VERSION=v4_9_5_p01 ROOT_VERSION=v5_34_01 art v1_02_04 artg4 v0_0_1 git repositories: Idea: Start with a working example :

7 7 Development environment January 9 th 2014 Hans Wenzel Setup not complete!

8 8 Tell art what we are producing January 9 th 2014 Hans Wenzel Change calling sequence

9 9 Tell art what we are producing January 9 th 2014 Hans Wenzel

10 Contents of the root file January 9 th 2014 Hans Wenzel

11 Add some color to your life: January 9 th 2014 Hans Wenzel Gdml extension + modified parser for colors overkill But good to know e.g. for Implementing Segmentation/ readout geometry or Fields Extensions ignored by standard parser

12 Cerenkov light in PbF2 Crystal November 21 st 2013 Hans Wenzel PbF2: no scintillation, Good Cerenkov radiator, used for em calorimeters (e.g. g-2) 100GeV  +

13 Photo Sensor (PhotonDetector) Bulk (DRCalorimeter): Result: January 9 th 2014 Hans Wenzel NCeren Edep Sensor (back) Sensor: Photon energies Sensor(front)

14 Dual Read out Calorimeter January 9 th 2014 Hans Wenzel 500 MeV Proton in dual readout PbF2 crystal calorimeter Energy deposition Cerenkov response

15 Plans January 9 th 2014 Hans Wenzel Packaging Move to latest version for products that we depend on. Own product artg4tk …. Learn how to use GPS artify simple particle Gun Add e.g. Birks to calorimeters Try out grid … Provide more examples.

16 backup July 18 th 2013 Hans Wenzel

17 Motivation Fast prototyping  make working with geant4 easy without obstructing its functionality. Avoid specialized application, changes to the detector don’t require compilation  modular system. Don’t reinvent the wheel (artG4, noa, LArSoft have solutions so art and Geant4 play together ), CaTS provides example of modular system. GDML is a language to describe geometries…. Make use of the components of CaTS  allow calorimeter R&D and other detector R&D projects to migrate to the new system. Grid: does relocate able UPS make life easier? Easier packaging, installation? Develop art expertise make use of software developed for art? January 9 th 2014 Hans Wenzel

18 artg4 November 21 st 2013 Hans Wenzel One producer that handles Geant: ArtG4Main To make it generic, ArtG4Main delegates lots of responsibilities to SERVICES that are ONLY used by ArtG4Main. The configuration files says what Services to load ArtG4MainProducer GDML_Detector_Service (creates the World and SD’s) MyEventAction SteppingAction SteppingAction MyPhysicsList

19 GDML November 21 st 2013 Hans Wenzel Gdml developed to completely describe geometries, matched to the corresponding geant 4 C++ classes. Supported by geant 4 collaboration. Easily extendable to include e.g. sensitive detectors (done), visualization attributes (available), segmentation (not done). Several browsers exist that allow to visualize (debug) the Geometry. Converters available to change into different formats. clear separation of detector description (gdml) and run time configuration Sensitive Detector: Knows how to create Hits and how to add hitlist to the event. Is attached to a logical volume ( as specified in gdml file) To retain provenance gdml file is stored in run record. But: no scheme for segmentation/readout geometry (needed?)

20 Example PbF2 Crystal November 21 st 2013 Hans Wenzel Cosmic ray Muon (red) producing Cerenkov radiation in PbF2 Crystal. Photons are read out at the narrow end of the Crystal

21 Components November 21 st 2013 Hans Wenzel Detector Description: GDML_Detector_service used to build G4 geometry and SD. Xml based gdml input file, with extensions for SD’s and visual attributes (e.g. crystalcal.gdml) (Geometry, Materials, optical properties, sensitive detector), we provide working examples, no recompilation necessary. Added mechanism to add gdml file to the run record to retain provenance. PersistencyProvided by art, uses Root reflexion (gccxml) to automatically, create dictionaries for all classes we want to write out (e.g. Hits) Input modules: GPS, Particle Gun, HEPMC (Pythia) Physics Lists: choice of all Reference Physics Lists which can be extended to include optical physics processes (Cerenkov, Rayleigh, Scintillation etc.)  make more modular, add numi-beamline (Julia) Sensitive Detectors and Hits: TrackerSD, CalorimeterSD, DRCalorimeterSD (also registers Cerenkov photons), DRTSCalorimeterSD (DR+time slices), StoppingCalorimeterSD, PhotonSD: sensitive detector that registers optical photons. User Actions: Art Service: examples of user actions (EventAction, RunAction, StackingAction,SteppingAction...) will be provided Code repository, Redmine project & Instructions: Use artg4/artg4examples git repository/redmine project. Histogram manager Art analyzer, examples provided for various SD.

22 Acknowledgement November 21 st 2013 Hans Wenzel Thanks to: Paul, Marc, Chris, Rob, Krzysztof, Daniel, Adam

23 Technical Framework: Art  worked with it in the past Code Repository: Redmine and Git since this is used by ART and artg4  requested to create the project (CaTS). artg4: Detector description: options gdml e.g. used by no a/CaTS extension of Geant4., fhicl: used by artg4, custom: used by mu2e release management: relocatable ups??? build system: cmake (used by Geant 4, CaTS….) environment setup: custom shell script development machine: (something with art and artg4 installed) gm2gpvm  got an account still waiting for instructions to set up the environment. Execution: for now use Geant 4 VO and (limited) grid resources to execute jobs

24 Technical (cont.) Display of results: use geant 4 web application and database hosted here at fermilab (just create a new category) Configuration of physics lists/ processes:  discuss with Robert, look how it’s done in G4

25 Feb. 22 nd 2012 Hans Wenzel Fermilab Muon Collider simulation status and plans Hans Wenzel November 21 st 2013 ART based package to monitor physics relevant to intensity frontier physics experiments

26 CaTS: Calorimeter and Tracker Simulation CaTS is a flexible and extend-able framework (based on geant4 and ROOT) for the general simulation of calorimeter and tracking detectors. In the following look at CaTS to: identify the features that we want, features that should be replaced by services of Art, extensions ??

27 Charge November 21 st 2013 Hans Wenzel Extension of geant 4 validation effort but geared specifically towards the needs of the intensity frontier community. develop an ART based package for monitoring of all identified physics plots relevant to intensity frontier experiments at the model and physics list level. port elements of Julia’s (stand alone) tests to ART and in addition integrate both EM and HAD plots into this package. explore the possibility to use the G4-ART interface. Develop tools to facilitate tests and customization of physics lists. The plots to monitor in this package will be associated with individual models (compared with thin target experiments aka first interaction) or physics lists, as well as with quantities to be validated with results from test beam and real experiments. For more complex validation, simplified geometry may be used or real configurations from the experiments could be imported to this ART application.

28 What does art do? A “lite” forked version of the CMS framework Supplies all expected framework services as well as links between data objects (Ptr’s and Assn’s) Used by many Fermilab Intensity Frontier Experiments: (NOvA, g-2, Mu2e, MicroBoone,LBNE) and some others (e.g. DS50) Written by SCD/CET department Currently being adapted for multi-processing and DAQ

29 November 21 st 2013 Hans Wenzel

30 November 21 st 2013 Hans Wenzel

31 November 21 st 2013 Hans Wenzel

32 Gdml file (1: schema and definitions) November 21 st 2013 Hans Wenzel <gdml xmlns:xsi=" XMLSchema-instance" xsi:noNamespaceSchemaLocation= "

33 gdml file (2: materials) November 21 st 2013 Hans Wenzel

34 Gdml(3: solids, logical volumes) November 21 st 2013 Hans Wenzel

35 Gdml (4: placing the physical Volumes) November 21 st 2013 Hans Wenzel

36 Gdml (5: define the world) November 21 st 2013 Hans Wenzel

37 November 21 st 2013 Hans Wenzel process_name:processA source: { module_type: EmptyEvent maxEvents: 100 } services: { message : { debugModules : ["*"] suppressInfo : [] destinations : { LogToConsole : { type : "cout" threshold : "DEBUG" categories : { default : { limit : 50 } }

38 November 21 st 2013 Hans Wenzel TFileService : { fileName : "CheckHits.root" } user: { DetectorHolder: {} ActionHolder: {} RandomNumberGenerator: {} PhysicsListHolder: {} PhysicsList: { PhysicsListName: "FTFP_BERT" DumpList: false enableCerenkov: false enableScintillation: false enableAbsorption: false enableRayleigh: false enableMieHG: false enableBoundary: false enableWLS: false }

39 November 21 st 2013 Hans Wenzel // Detector(s) for the simulation GDMLDetector : { category: "world" gdmlFileName_ : "tiledsamplingcal4mmpb1mmSz.gdml" } // Action(s) for the simulation ClockAction: {} ExampleGeneralAction: { name: "exampleGeneral" } ExampleParticleGunAction: { name: "exampleParticleGun" use_HEP_event: true } }// end of services!!!

40 November 21 st 2013 Hans Wenzel outputs: { out1: { module_type: RootOutput fileName: "exampleTestingout.root" } physics: { producers: { artg4Main: { module_type: artg4Main enableVisualization: false macroPath: ".:./macros" visMacro: "vis.mac" //afterEvent: pause } analyzers: { CheckHits: { module_type: CheckHits hist_dir: "HistoDir"} }

41 November 21 st 2013 Hans Wenzel path1: [ artg4Main ] stream1: [ out1, CheckHits ] trigger_paths: [ path1 ] end_paths: [ stream1 ] }

42 How to store retrieve the data November 21 st 2013 Hans Wenzel BaseArtHit ArtTrackerHits ArtPhotonHits ArtCalorimeterHits … std::map > ArtCalorimeterHit* DRHit = dynamic_cast (hits[ii]); String encodes: -Logical Volume that the SD is attached so -Class name of specific Hit class Collect all Hit collection in a map: