ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW -...

19
Atlantis event display ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa (University College London) Atlantis team

Transcript of ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW -...

Page 1: ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa

Atlantis event display

ATLAS SW - introductory tutorialNational e-Science Centre,

Edinburgh, UKApril 27, 2006

Zdenek Maxa (University College London)Atlantis team

Page 2: ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa

April 27, 2006 [email protected]

Introduction – features

• Atlantis event display is a stand-alone Java application

• Uses variety of 2D projections, multiple views (windows) on canvas

• A part of the ATLAS SW offline, but depends only on Java

• Uses simplified detector geometry (not a detector display)

• JiveXML (written in C++) interfaces ATLAS SW framework Athena (its event store) and Atlantis, JiveXML produces event files containing physics information

• Access to the event data from Atlantis

– using the event files produced by JiveXML (offline)

– reading the event data over network from JiveXML server (online)

Page 3: ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa

April 27, 2006 [email protected]

Introduction – goals

Primary goals

• visual investigation and understanding of complete ATLAS events

Secondary goals

• help develop reconstruction and analysis algorithms

• commissioning support (TileCal 2005-present, SCT/Pixel currently)

• pictures and animations for publications and presentations

• event display for test-beams (used during CTB 2004)

• online event display (CTB 2004, current SCT/Pixel commissioning)

• interactive analysis (interactive Athena)

Page 4: ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa

April 27, 2006 [email protected]

DataThe following data may currently be visualised in Atlantis

• 3D silicon points, silicon strip clusters and TRT straws

• Si Geant hits, Trigger space points• Simulated tracks, neutral particles, sim. and rec.

vertices

• Reconstructed tracks

– iPatRec, xKalman, IDScan

– newly whichever Track collection from Trk::Track

• Reconstructed secondary vertices

• LAr, TILE, HEC and FCAL calorimeter cells and clusters

• ROIs, Jet, ETMis

• Muon data - MDT, RPC, TGC, CSC hits and CSC clusters• Simulated and reconstructed muon tracks• Associations (hits to track, cells to cluster etc)

• AOD data

Page 5: ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa

April 27, 2006 [email protected]

Detector/Data oriented projections

3D Cartesian coordinates x,y,z are not always optimal for colliding beam experiments

More natural and useful are the non-linear combinations which reflect the design of ATLAS

ρ = sqrt(x2+y2)

φ = arctan(y/x)

= arctan( /z)η ρ

where x, y, z need to be slightly modified to take into account the primary vertex of the underlying event (xvtx yvtx zvtx )

x' = x-xvtx , y' = y-yvtx , z' = z-zvtx

Page 6: ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa

April 27, 2006 [email protected]

YX projection – TILE, LAr barrel, RPC (intuitive)

RPC

Page 7: ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa

April 27, 2006 [email protected]

Z projection – calos, muon hits (ρ ρsector) (intuitive)

Page 8: ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa

April 27, 2006 [email protected]

Z projection - TRT and LAr endcaps, HEC, TGCΦ

TRT

TGC

Page 9: ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa

April 27, 2006 [email protected]

Φη projection and the V-Plot

Φ

η

ρ = ρ Max

= 2ρ cm

V-Plot Draw each space point twice at

,Φ η+k*( -ρ ρMax) and ,Φ η-k*( -ρ ρMax)

3D information

For tracks can judge• Φ• η• pt (slope of V arms)• charge (down: -ve up: +ve)

Distorted V’s track not from IP

low pt, -ve

high pt, +ve

Page 10: ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa

April 27, 2006 [email protected]

Detector Geometry

• Used to convey quickly to the user the context in which physics information (event) is viewed

• Idealized geometry is adequate and desirable (e.g. LAr pre-sampler is only 1 cm thick and would be invisible if drawn as such

• Geometry files are stored in two separate XML files produced by JiveXML which takes the information from Athena detector store (GeoModel)

Page 11: ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa

April 27, 2006 [email protected]

Atlantis – Canvas & GUI

interactioncontrol

ZMRPickRubberbandSynchro cursor

menusProjectionsData switchesCutsData configs InDet Calo Muon AODSubdetectors

output window

menu bar

windowcontrol

(drag & drop)

Page 12: ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa

April 27, 2006 [email protected]

Online help – for (almost ;-) every component

right click on component - online help windows pops up hover for tool-tip help

Page 13: ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa

April 27, 2006 [email protected]

Atlantis/JiveXML visualisation

offline framework Athenaruns recostruction chainand JiveXML converter

JiveXML

XML event files read offline(20kB cosmics, 20MB/4MBfull luminosity)

byte stream

XML event data readonline over networkusing XMLRPC, on-demandtransfer of event data

ATLAS detector

Atlantis Canvas(XY view)

2

digi filesESD, AOD

Athena – Atlantis interactively(two way, interactive analysis)

1

3

offline / online / interactivemode of running with respectto the Athena framework

Page 14: ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa

April 27, 2006 [email protected]

Online event access

• Atlantis sends event data requests over network (on demand / automatically - timer)

• JiveXML XMLRPC server (running as a posix thread in Athena) transmits XML event data

• 1-to-N communication model (many users retrieving the same reconstructed events)

Athena

JiveXML

XMLRPCserver <?xml version="1.0"?>

<methodResponse> <params> <param> <value> <string> ...event data... </string>

</value> </param> </params><methodResponse>

XML event data in payload of XMLRPC message

Atlantis Canvas – Z viewρ

Online event access dialog

timerSave event

Get Event

Page 15: ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa

April 27, 2006 [email protected]

Interactive Athena

• Interactive (Python) prompt – facility of the Athena framework enabling to steer it interactively using Athena commands (interactive analysis)

• InteractiveServer – counterpart of Atlantis on the Athena prompt

– implemented in Python, it acts as XMLRPC server

– receives Athena commands from Atlantis user who drives Athena from Atlantis dialog

• 1-to-1 communication model, user controls own Athena session

• Atlantis user can instruct Athena to process next event, change / query job-options of the framework, execute algorithms, etc

• Use case: “In my display, I see three tracks which look like coming from a secondary vertex. I want to fit a vertex with the Athena vertexing tool

Page 16: ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa

April 27, 2006 [email protected]

XY view, zoomed into ATLAS Inner Detector

interactiveAthena dialog

(2) put selected tracks into the list

(1) select (rubberband)few tracks

(internal Atlantisvertex fitter)

(3) call Athena vertex fitter

(4) at Athena, InteractiveServerreceives tracksindices and callsthe vertex fitter

(5) if found,vertex is storedinto event store

(6) get updatedevent data

Interactive vertexing

Page 17: ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa

April 27, 2006 [email protected]

Information sources, download Atlantis

• Atlantis website: www.cern.ch/atlantis

– download, install, run

– plenty of documentation, startup guide, etc

– picture database

• Atlantis available in the ATLAS offline SW releases under the directory graphics/AtlantisJava

[email protected]

Page 18: ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa

April 27, 2006 [email protected]

Former contributors

Many people contributed to the development of Atlantis.In particular:

Gary Taylor (UC Santa Cruz) Principal developerDumitru Petrusca (Siegen/CERN) Initial work on GUI, calosJon Couchman (UCL) Athena algorithm (JiveXML)Frans Crijns (Nijmegen) Muon geometryJanice Drohan (UCL) CTB features

Page 19: ATLAS SW - introductory tutorial National e-Science Centre ... · 4/27/2006  · ATLAS SW - introductory tutorial National e-Science Centre, Edinburgh, UK April 27, 2006 Zdenek Maxa

April 27, 2006 [email protected]

Current contributors

Hans Drevermann (CERN) Original ideas, FORTRAN version Andrew Haas (Columbia) Calo developmentEric Jansen (Nijmegen) JiveXMLPeter Klok (Nijmegen) Webpage / picture databaseNikos Konstantinidis (UCL) JiveXMLQiang Lu (Birmingham) DevelopmentZdenek Maxa (UCL) DevelopmentJuergen Thomas (Birmingham) JiveXMLCharles Timmermans (Nijmegen) DevelopmentPeter Watkins (Birmingham) Calo ideas