CERN, 7 November 2011 Anton Pytel Slovak Technical University TRIP FROM GENERATORS TO GEOMETRIES
Generators Event record Simulation Reconstruction Analysis Visualization Simulation output Validation Detector geometries SIMULATION DATA FLOW 2
Generators validation HepMCAnalysis Generator services webpage MCPLOTS GDML Geant4 and ROOT interfaces OUTLINE 3
Generators Event record Simulation Reconstruction analysis Visualization Simulation output Validation Detector geometries GENERATOR VALIDATION 4
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
Generation and analysis split Examples code replaced by MCPlots - MCprod EVOLUTION 6
INPUT Parameters: Set hepmc version Set HepMCAnalysis version Set generator Set multiple versions (up to 9) Set web accessible path FINAL STATUS 7
RESULT 8
Tuning generators Comparing against data Rivet based analysis MCPLOTS 9
MCPLOTS WEBPAGE 10
Data generation Rivet Analysis PHP based web presentation plotter.exe cache MCPLOTS – PROJECT OVERVIEW MySQL database update mcprod 11
PHP based web presentation plotter.exe MCPLOTS – IMPROVEMENTS Data generation Rivet Analysis mcprod 12
=> Generator Validation => Choose generator MCPLOTS – VALIDATION 13
Generators Event record Simulation Reconstruction analysis Visualization Simulation output Validation Detector geometries GDML 14
GDML: application independent Geometry Description Markup Language Import/export classes needed Geant4 geometryGDMLROOT geometry GDML CONVERTERS 15
GDML EXAMPLE 16
Geant4: G4GDMLRead; G4GDMLWrite classes ROOT: TGDMLRead class; Python Writer GDML PREVIOUS STATUS 17
python script – rewritten in C++ Performance, maintainability Import/export updates according to GDML schema Compatibility updates ROOT GDML 18
${ROOTSYS}/bin/root TGeoManager::Import(“input.gdml”); gGeoManager->Export(“output.gdml”); GDML USAGE IN ROOT 19
Divisions supported Atomic number workaround Reflected solid not used CutTube substituted MAIN FEATURES 20
Instead of tag - tag in physvol REFLECTED SOLID 21
CutTube not yet supported in Geant4 - substituted by intersection of tube and two boxes CUTTUBE 22
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
Atlas geometry ( nodes) Time improvement ~ 30 s => 6 s.gdml size imp. ~ 39 MB => 23 MB EXPORT PERFORMANCE 24
HepMCAnalysis automated testing MCPlots functionality extension GDML ROOT export interface CONCLUSION 25