Download presentation
Presentation is loading. Please wait.
Published byJanice Douglas Modified over 8 years ago
1
CERN, 7 November 2011 Anton Pytel Slovak Technical University TRIP FROM GENERATORS TO GEOMETRIES
2
Generators Event record Simulation Reconstruction Analysis Visualization Simulation output Validation Detector geometries SIMULATION DATA FLOW 2
3
Generators validation HepMCAnalysis Generator services webpage MCPLOTS GDML Geant4 and ROOT interfaces OUTLINE 3
4
Generators Event record Simulation Reconstruction analysis Visualization Simulation output Validation Detector geometries GENERATOR VALIDATION 4
5
GENSER – generator maintenance GOAL: Compare new version of generator with older - to spot the bug STARTING POINT: Tool to analyze data in hepmc format, with examples… Wrapper of the tool Script for web presentation HEPMC events.root histograms.html HEPMCANALYSIS FOR GENSER 5
6
Generation and analysis split Examples code replaced by MCPlots - MCprod EVOLUTION 6
7
INPUT Parameters: Set hepmc version Set HepMCAnalysis version Set generator Set multiple versions (up to 9) Set web accessible path FINAL STATUS 7
8
RESULT 8
9
Tuning generators Comparing against data Rivet based analysis MCPLOTS 9
10
MCPLOTS WEBPAGE 10
11
Data generation Rivet Analysis PHP based web presentation plotter.exe cache MCPLOTS – PROJECT OVERVIEW MySQL database update mcprod 11
12
PHP based web presentation plotter.exe MCPLOTS – IMPROVEMENTS Data generation Rivet Analysis mcprod 12
13
http://mcplots.cern.ch => Generator Validation => Choose generator http://mcplots.cern.ch MCPLOTS – VALIDATION 13
14
Generators Event record Simulation Reconstruction analysis Visualization Simulation output Validation Detector geometries GDML 14
15
GDML: application independent Geometry Description Markup Language Import/export classes needed Geant4 geometryGDMLROOT geometry GDML CONVERTERS 15
16
GDML EXAMPLE 16
17
Geant4: G4GDMLRead; G4GDMLWrite classes ROOT: TGDMLRead class; Python Writer GDML PREVIOUS STATUS 17
18
python script – rewritten in C++ Performance, maintainability Import/export updates according to GDML schema Compatibility updates ROOT GDML 18
19
${ROOTSYS}/bin/root TGeoManager::Import(“input.gdml”); gGeoManager->Export(“output.gdml”); GDML USAGE IN ROOT 19
20
Divisions supported Atomic number workaround Reflected solid not used CutTube substituted MAIN FEATURES 20
21
Instead of tag - tag in physvol REFLECTED SOLID 21
22
CutTube not yet supported in Geant4 - substituted by intersection of tube and two boxes CUTTUBE 22
23
Problems during Geant4 import If base of Trap = 0 then arb8 If twisted angle of Gtra = 0 then Trap ROOT not supported solids: Tetrahedron, tessellated solid, elcone, twistedbox, twistedtrd, twistedtubs ellipsoid SOLID SPECIALTIES 23
24
Atlas geometry (29 046 966 nodes) Time improvement ~ 30 s => 6 s.gdml size imp. ~ 39 MB => 23 MB EXPORT PERFORMANCE 24
25
HepMCAnalysis automated testing MCPlots functionality extension GDML ROOT export interface CONCLUSION 25
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.