ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML...

26
ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro 1,2 , BANERJEE Sunanda 3 , BOCCALI Tomasso 4 , CASE Michael 5 , De ROECK Albert 2 , LARA Vicente 2 , LIENDL Martin 2,6 , NIKITENKO Alexander 7 , SCHRODER Matthias 2 , STRAESSNER Arno 2 , Van LINGEN Frank 2 , WELLISCH Hans-Peter 2 , WENZEL Hans 8 1 CIEMAT, Madrid, Spain, 2 CERN, Geneva, Switzerland, 3 Tata Institute, Bombay, India, 4 INFN Bari, Italy, 5 UC Davis, USA, 6 HEPHY, Vienna, Austria, 7 Imperial College, UK, 8 Fermilab, Chicago, USA (for the CMS Collaboration) ACAT 2002, Moscow, 23th June 2002
  • date post

    21-Dec-2015
  • Category

    Documents

  • view

    226
  • download

    0

Transcript of ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML...

Page 1: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

1

Simulation Framework and

XML Detector Description for the

CMS ExperimentARCE Pedro1,2, BANERJEE Sunanda3, BOCCALI Tomasso4, CASE Michael5, De

ROECK Albert2, LARA Vicente2, LIENDL Martin2,6, NIKITENKO Alexander7, SCHRODER Matthias2, STRAESSNER Arno2, Van LINGEN Frank2, WELLISCH Hans-

Peter2, WENZEL Hans8

1CIEMAT, Madrid, Spain, 2CERN, Geneva, Switzerland, 3Tata Institute, Bombay, India, 4INFN Bari, Italy, 5UC Davis, USA, 6HEPHY, Vienna, Austria, 7Imperial

College, UK, 8Fermilab, Chicago, USA

(for the CMS Collaboration)

ACAT 2002, Moscow, 23th June 2002

Page 2: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

2

Outline

GEANT4 simulation framework (OSCAR)

OSCAR – IGUANA Visualisation

OSCAR Physics comparison

GEANT4 Performance comparison

DDD scope

Basic aspects and architecture

Document structuring

Summary

Page 3: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

3

CMS Simulation & Reconstruction

Monte-Carlo generator

Ntuple

ZebraFZ

CMSIM

CMSIM

CMSjet

User AnalysisR

TR

AN

w

Monte-Carlo generator

OODB

OSCAR

ORCA

User Analysis

FAMOS

FAMOS

OO

world

Page 4: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

4

GEANT4 Simulation (OSCAR)Geometry:

All geometry up-to-date

Currently moving to geometry in XML database, common to Simulation/Reconstruction/Visualisation

Detailed checking in progress

CMS Overlap Detection ToolGEANT4 expects:

(a) Daughters of the same mother must not intersect each other

(b) Daughters of the same mother must be fully contained in their mother

(c) some refinements of the above in case of replication and parameterisation

If these conditions hold for every mother-volume and the first level of daughters therein, the geometry is OK!

Page 5: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

5

Shoot geantinos

Page 6: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

6

View of CMS muon system Sliced view of CMS barrel detectors

Page 7: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

7

OSCAR

Primary generator:

CMS particle gun: Scan in , , energy Random in , , energy

Interface with HEPEVT ASCII files Interface with PYTHIA ntuples

Persistency: Hits

Primary generator particles

Selected tracks

Using Objectivity, moving to ROOT

Page 8: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

8

OSCAR - IGUANA Interactive visualisation is done with IGUANA (see poster in this Conference)

Visualise any GEANT4 Geometry Select by logical volumes / by individual copies / by category Show volume/object details/properties Picking, slicing

GEANT4 command line A wizard to guide through OSCAR settings Integrated with overlap detection Adding other extensions is trivial (e.g. GUIs like overlap detection) Visualise TracksVisualise magnetic field

2D plane that can be rotated Field direction as an arrow Field intensity as colour

Page 9: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

9

OSCAR - IGUANA

CorrelatedPicking

Example extension (a trivial wizard)Queried from plug-in database, loaded on

request and bound to IGUANA G4 Run Manager

IGUANA viewer displaying OpenInventor scene

Control of arbitraryGEANT4 tree

Overlap detection

Page 10: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

10

CMS magnetic field in IGUANA

Page 11: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

11

OSCAR

Physics:

Electromagnetic processes needed at LHC

Hadronic processes needed at LHC

CMS Physics Technical Design Report is planned to be

written using OSCAR (due december 2004)

OSCAR milestone June 2003:

“Reproduce the physics results of the GEANT3 simulation with the same performance”

Page 12: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

12

GEANT4/GEANT3 simu. + ORCA reco.

CMS central tracker Single events

Page 13: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

13

GEANT4/GEANT3 simu. + ORCA reco.

CMS muon system Single events

phi_sim - phi_rec eta_sim - eta_rec Pt_sim - Pt_rec

Page 14: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

14

GEANT4/GEANT3 ECAL comparisons

Page 15: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

15

Full events in full CMS

> 10000 events without crashing

- H, tte, Z

- All CMS geometry

- 3D TOSCA magnetic field

- Production and tracking cuts as in CMSIM

- geant4.4.0.ref02

- Pentium III 850 Mhz, 640 Mb

OSCAR Time Performance

Page 16: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

16

H in all CMS (10 Events)

OSCAR (427136 tracks)

- CMSIM (442828 tracks)

MeV

Initial track energy

OSCAR (427136 tracks)

- CMSIM (442828 tracks)

Track length

MeV

No

Tra

cks

No

Tra

cks

Page 17: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

17

Time performance

- H (10 events)

CMSIM: 439k tracks 318 secondsOSCAR: 400k tracks 583 seconds (1.83)

- tte (10 events)

CMSIM: 1809k tracks 919 secondsOSCAR: 1159k tracks 2125 seconds (2.31)

- Z (10 events)

CMSIM: 1105k tracks 480 secondsOSCAR: 941k tracks 1240 seconds (2.58)

No GEANT4 optimization done yet!

Page 18: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

18

Page 19: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

19

Page 20: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

20

Page 21: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

21

Page 22: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

22

Page 23: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

23

Page 24: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

24

Page 25: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

25

Page 26: ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.

ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT)

26