24
AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas , Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter Klok, Charles Timmermans (Nijmegen, NIKHEF) Simon Dean, Nikos Konstantinidis, Zdenek Maxa (UCL) Physics Analysis Tools Group Meeting ATLAS Software Week, CERN, 5 Apr 2006

AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Embed Size (px)

Citation preview

Page 1: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

AOD Data in Atlantis Event Display

Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham)Hans Drevermann (CERN)

Andrew Haas (Columbia)Eric Jansen, Pieter Klok, Charles Timmermans (Nijmegen, NIKHEF)

Simon Dean, Nikos Konstantinidis, Zdenek Maxa (UCL)

Physics Analysis Tools Group MeetingATLAS Software Week, CERN, 5 Apr 2006

Page 2: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

Outline

Display of AOD data: Data types Data in GUI: Properties and cuts Projections: XY, eta/phi and Legoplot

Trigger data (preparing for 11.5.0 AOD) More news from Atlantis

Appendix: Wiki link, Producing xml output from AOD files within Analysis tools: AnalysisSkeleton, UserAnalysis, EventView

NOTE: Shown features are in Atlantis versions fromAtlantisJava-09-05-00

Page 3: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

AOD Data in GUI (1): Types and Switches

AOD data which was already in Atlantis: Missing-ET is selected in Data -> ATLAS from drop-down menu

(uses new ‘multiple collections’ infrastructure) ETMis (MET_Final) CaloETMis (MET_Calib) MuonETMis (MET_Muon)

Tracks (TrackParticle) (Note that AOD tracks have reduced data)

Truth: Read from McEventCollection GEN_AOD

Separated in neutral and charged truth: SNP: Neutral Truth STr: Simulated Tracks (incl all charged particles !) Switched in Data -> InDet and Data -> Calo Note: pT-Cut taken from Cuts -> InDet applies to –all- Truth objects

In projections: Red ‘V’ in eta/phi projections, and red lines in XY projection

Page 4: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

AOD Data in GUI (2): Types and Switches

In addition, the following AOD data are now displayed: Electron (ElectronCollection) Muon (MuidMuonCollection) BJet (BJetCollection) ParticleJet

(Cone4TowerParticleJets) Photon (PhotonCollection) TauJet (TauJetCollection)

All Storegate keys can be switched in jobOptions if wanted (e.g. to get KtTower jets. See Wiki page)

Switch on/off in ‘Data’ panel

Page 5: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

AOD Data in GUI (3): Colour and Widths

AOD data colours and line widths can be changed in ‘AOD’ panel. Default colours are:

BJet: dark blue Electron: green Muon: red ParticleJet: (slim) grey Photon: yellow TauJet: light blue

Page 6: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

AOD Data in GUI (4): Cuts

A ‘reasonable’ set of default cuts is applied, freely adjustable by the user: All: pT > 5 GeV BJet: lhSig > 0.9 Electron: isEM=0

(note: we fix 2048 bug inside, set to 0)

Muon: chi2 < 0 (this is ‘matchChi2OverDoF’)

TauJet: isolationFraction > 0.3, logLhRatio > -2

Page 7: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

XY Projection (1)

AOD objects are displayed outside of the detector as small towers (1 degree width)

Zoom and Pick to inspect objects

Height has a cut-off value at pT/ET = 100 GeV (maximal height)

All Events shown are semileptonic ttbar (mc11 T1 sample)

Page 8: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

XY projection (2)

Muon

ParticleJet (also a BJet ! Note slim dark blue frame)

Page 9: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

XY Projection (3)

Fisheye used: ‘visual track matching’ possible

PICK output: InDet: Track = 15

storegate key: xKalTrack d0 = .002 cm z0 = 4.246 cm phi0 = 290.491 η = .040 tL = .040 pT = 30.91 p = 30.94 GeV

AOD: Electron = 1 Pt = 31.543 GeV E = 31.568 GeV isEM = 0 eOverp = 0.00102 η = .040 Φ = 290.491°

Truth: STr barcode = 118 Type = e- d0 = -.000 cm z0 = 4.234 cm phi0 = 290.505 η = .041 tL = .041 pT = -32.04 p = -32.07

Page 10: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

AOD display: eta/phi Projection

AOD objects are circles: An ‘x’ marks the

centre position scaled with their pT

(resp. ET for Jets) Note: Circle is not

jet cone ! Circles are a first implementation, this may change.

‘Pick' on any AODobject to print-outparameters

A ParticleJet which is also a tagged BJet will be a dark blue circle with slim grey circle on top.

Page 11: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

Missing ET in eta/phi Projection

ETMis: storegate key: ETMis Sum-ET = 541.258 GeV ET-Mis = 42.513 GeV ETx-Mis = 15.157 GeV ETy-Mis = -39.720 GeV Φ = 290.887°

ETMis: storegate key: CaloETMis Sum-ET = 520.938 GeV ET-Mis = 35.480 GeV ETx-Mis = 25.441 GeV ETy-Mis = -24.729 GeV Φ = 315.813°

ETMis: storegate key: MuonETMis Sum-ET = 10.193 GeV ET-Mis = 10.193 GeV ETx-Mis = .002 GeV ETy-Mis = -10.193 GeV Φ = 270.010°

Select Missing-ET type from ‘ATLAS’ -> ‘ETMis’ -> ‘ETMis Collections’ (Multiple Collection).

Default is ETMis (MET_Final)

Page 12: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

SynchroCursor (SC): eta/phi matching

Page 13: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

SynchroCursor

PICK output: Muon = 0

Pt = 83.985 GeV E = 124.684 GeV chi2 = 16.939386 η = -.949 Φ = 71.120°

BJet = 1 Pt = 133.344 GeV E = 325.092 GeV lhSig = 0.99873 weight = 10.442425 η = -1.539 Φ = 70.179°

STr barcode = 75 Type = μ- d0 = -.002 cm z0 = .140 cm phi0 = 71.125 η = -.948 tL = -1.097 pT = -92.94 p = -137.95 GeV

ETMis: storegate key: CaloETMis Sum-ET = 589.050 GeV ET-Mis = 136.724 GeV ETx-Mis = 55.078 GeV ETy-Mis = 125.139 GeV Φ = 66.244°

Page 14: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

Legoplot: AOD

Colour coding, cuts and data selection as explained above.

All Jets are circles on the base plane of the legoplot (size adjustable), the others data are narrow towers

Missing-ET is a narrow tower at the border

On picture: High-pT muon

Event is a semileptonic ttbar (mc11 T1 sample)

Page 15: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

Legoplot: Calo data from Digi/ESD (1)

Note: This plot is from Digi (!) AOD in 11.0.41 have no calo cells AOD objects described before are not produced by default when using doJiveXML=True currently. But can be switched on. Picture shows calo data by calo type: electromagnetic: green, hadronic: red Grey disks on base are ESD Jets

Page 16: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

Trigger data: Level1-Trigger Towers Produced using doTrigger=TrueGeometry (Grid) as in real system (Barrel: 0.1x0.1, much larger in FCAL)

Trigger data from Digi/ESD (1)

Page 17: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

Level-1 Jet Elements Added up over em and had (neutral colour: yellow) Geometry (Grid) as in real system (Barrel: 0.4x0.4) Visible also: red rectangle on Legoplot base: This is an RoI. Atlantis shows JetRoI, EmTauRoI Next: Add more trigger data, also HLT (CTP_Decision, TriggerDecision)

Trigger data from Digi/ESD (2)

Page 18: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

More news from Atlantis

Many improvements made in view of usage of Atlantis for InDet commissioning: Geometry now taken from Athena

(Muon, Calo) Multiple Collections for Tracks Interactive Running (Vertexing)

New XML Parser JiveXML: Various adjustments to changes in

Offline software

Page 19: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

Summary

Most AOD objects can now be viewed in Atlantis. Instructions for running in the most popular analysis tools are available on Wiki

Cuts and switches can be applied to the user’s preference

AOD data is displayed in eta/phi, XY and Legoplot projections. Soon also in rho/Z.

Tried and tested with mc11 (CSC) pre-production in 11.0.41

Atlantis section in PAT tutorial this Thursday Please send comments, questions and

suggestions to [email protected]

Page 20: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

Appendix:

Technical details and instructions

Page 21: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

Producing output in 11.0.41 (1)

Instructions collected on Wiki page:https://uimon.cern.ch/twiki/bin/view/Atlas/AtlantisWithAOD

JiveXML version in 11.0.41 is not producing XML output for most AOD data, therefore you need to update that package.To run with 11.0.41, do: cmt co -r JiveXML-00-04-46-03 graphics/JiveXML(config and gmake as usual)

11.0.5 is fine, contains JiveXML-00-04-46-04 already.

Add this to your analysis package’s ‘cmt/requirements’ (probably not needed ?)use JiveXML JiveXML-* graphics

Page 22: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

Producing output in 11.0.41 (2)

To produce xml output in analysis based on AnalysisExamples, to your jobOptions, e.g.after 'EvtMax' within AnalysisExamples/ZtautauExample_jobOptions.py

add: add those lines to call and adjust JiveXML:include( "JiveXML/JiveXML_jobOptionBase.py" ) include( "JiveXML/DataTypes_AOD.py" ) ToolSvc.EventData2XML.Muonkey = "MuidMuonCollection"

include( "JiveXML/DataTypes_Reco.py" )

In case your analysis is based on UserAnalysis, do the the same within UserAnalysis/AnalysisSkeleton_jobOptions.py

Run job options as normal, output in xml format will be dumped

Page 23: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

Interface calling JiveXML is available from TopView package (Akira):PhysicsAnalysis/TopPhys/TopView/python/EventViewToJiveXML.py

JiveXML is called inTopView/share/ttBarAnalysis_jobOptions.py

byXMLSaver=EventViewToJiveXML(ttbarEVLooper, "XMLSaver") XMLSaver.setParameters({"EV2XML":{"CutName":"tt_TightCut"}})

Producing output in 11.0.41 (3): EventView

Page 24: AOD Data in Atlantis Event Display Qiang Lu, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric Jansen, Pieter

Atlantis with AOD data, 5 Apr 2006 [email protected]://cern.ch/atlantis

Up-to-date Atlantis Website has plenty of documentation & tutorials:

http://cern.ch/atlantis The latest Atlantis version is now available from the Offline releases

(package graphics/AtlantisJava): cmt co –r AtlantisJava-09-05-00 graphics/AtlantisJava cd AtlantisJava-*/cmt cmt config source setup.sh gmake cd .. java –jar atlantis

Don’t use alias ‘atlantis’, this will start old version in 11.0.41 release.

If you have a .Atlantis-config.xml, you may need to rename it. Running under Windows / Mac as a java application works (may

require installing Java 1.5 SDK) Copy directory ‘AtlantisJava-*’ from release, start atlantis.jar

Note: Although Atlantis is inside the release, it has no dependency on other packages. It is a Java standalone application. Inclusion into release only to simplify distribution and code management.