HEP (Particle) Classes in Root (Par… · Axel Naumann, DØ University of Nijmegen, The Netherlands...

11
Axel Naumann, D Axel Naumann, DØ University of Nijmegen, The Netherlands University of Nijmegen, The Netherlands 6/14/2001 6/14/2001 Root 2001 Workshop Root 2001 Workshop 1 HEP (Particle) Classes in Root Status report of the ongoing discussion ROOT2001 Users Workshop Jim Kowalkowski (DØ) Marcel Kunze (Atlas, BaBar) Andreas Morsch (Alice) Pasha Murat (CDF) Axel Naumann (DØ) Marc Paterno (FNAL-CD) Predrag Buncic (Alice) Federico Carminati (Alice) Mark Fischler (FNAL-CD) Lynn Garren (FNAL-CD) Ivana Hrivnacova (Alice) Bob Jacobsen (BaBar) Discussion group members so far

Transcript of HEP (Particle) Classes in Root (Par… · Axel Naumann, DØ University of Nijmegen, The Netherlands...

Page 1: HEP (Particle) Classes in Root (Par… · Axel Naumann, DØ University of Nijmegen, The Netherlands 6/14/2001 Root 2001 Workshop 3 HEP Data HEP Data in ROOT MC Truth Transport Simulation

Axel Naumann, DAxel Naumann, DØØUniversity of Nijmegen, The NetherlandsUniversity of Nijmegen, The Netherlands

6/14/20016/14/2001Root 2001 WorkshopRoot 2001 Workshop 11

HEP (Particle) Classes in Root

Status report of the ongoing discussion

ROOT2001 Users Workshop

Jim Kowalkowski (DØ)Marcel Kunze (Atlas, BaBar)Andreas Morsch (Alice)Pasha Murat (CDF)Axel Naumann (DØ)Marc Paterno (FNAL-CD)

Predrag Buncic (Alice) Federico Carminati (Alice)Mark Fischler (FNAL-CD)Lynn Garren (FNAL-CD)Ivana Hrivnacova (Alice)Bob Jacobsen (BaBar)

Discussion group members so far

Page 2: HEP (Particle) Classes in Root (Par… · Axel Naumann, DØ University of Nijmegen, The Netherlands 6/14/2001 Root 2001 Workshop 3 HEP Data HEP Data in ROOT MC Truth Transport Simulation

Axel Naumann, DAxel Naumann, DØØUniversity of Nijmegen, The NetherlandsUniversity of Nijmegen, The Netherlands

6/14/20016/14/2001Root 2001 WorkshopRoot 2001 Workshop 22

GoalsReview ROOT’s current MC data classes

PDG classesTParticleAdd Stack?Add Vertex?

Physics objects for data analysisDefine a goalDiscuss feasibility

Page 3: HEP (Particle) Classes in Root (Par… · Axel Naumann, DØ University of Nijmegen, The Netherlands 6/14/2001 Root 2001 Workshop 3 HEP Data HEP Data in ROOT MC Truth Transport Simulation

Axel Naumann, DAxel Naumann, DØØUniversity of Nijmegen, The NetherlandsUniversity of Nijmegen, The Netherlands

6/14/20016/14/2001Root 2001 WorkshopRoot 2001 Workshop 33

HEP Data

HEP Data in ROOT

MC Truth

Transport Simulation

Detector Response Simulation

Physics Analysis

TParticle,PDG,Vertex?Stack?

Physics objects, analysis tools?

Tracking,…

Event Recon

ROOT

Page 4: HEP (Particle) Classes in Root (Par… · Axel Naumann, DØ University of Nijmegen, The Netherlands 6/14/2001 Root 2001 Workshop 3 HEP Data HEP Data in ROOT MC Truth Transport Simulation

Axel Naumann, DAxel Naumann, DØØUniversity of Nijmegen, The NetherlandsUniversity of Nijmegen, The Netherlands

6/14/20016/14/2001Root 2001 WorkshopRoot 2001 Workshop 44

TParticleCurrent Properties:• Momentum• Position• Link to PDG Data• Links to parent and daughter particles

Suggests use of Stack storing TParticles’ decay relationship

Page 5: HEP (Particle) Classes in Root (Par… · Axel Naumann, DØ University of Nijmegen, The Netherlands 6/14/2001 Root 2001 Workshop 3 HEP Data HEP Data in ROOT MC Truth Transport Simulation

Axel Naumann, DAxel Naumann, DØØUniversity of Nijmegen, The NetherlandsUniversity of Nijmegen, The Netherlands

6/14/20016/14/2001Root 2001 WorkshopRoot 2001 Workshop 55

Stack• Container to use? (map, tree, vector?)• Needs ability to delete part of the contained TParticles (e.g. shower

particles from transport output)• Referencing: pointers, indices?• I/O bandwidth• I/O of parts of events (ALICE: 1 event = 1.5 GB)• pileup• Not 1, not 2, but n parent particles!

Extensions based on experience gained from• StdHepC++ classes, http://www-pat.fnal.gov/stdhep/c++/• ALICE implementation

Page 6: HEP (Particle) Classes in Root (Par… · Axel Naumann, DØ University of Nijmegen, The Netherlands 6/14/2001 Root 2001 Workshop 3 HEP Data HEP Data in ROOT MC Truth Transport Simulation

Axel Naumann, DAxel Naumann, DØØUniversity of Nijmegen, The NetherlandsUniversity of Nijmegen, The Netherlands

6/14/20016/14/2001Root 2001 WorkshopRoot 2001 Workshop 66

VertexWould be nice:• Imposes (natural) structure• Saves memory (daughter TParticle’s position now in Vertex)Problem: Vertex where incoming = one of the outgoing

particles (e.g. C)Solution?: Abstract Vertex layer allowing e.g. • 1 TParticle n Vertices (production, decay, n-2 “virtual”,

e.g. C) associations• down to simple 1 1 association (only production vertex)

Page 7: HEP (Particle) Classes in Root (Par… · Axel Naumann, DØ University of Nijmegen, The Netherlands 6/14/2001 Root 2001 Workshop 3 HEP Data HEP Data in ROOT MC Truth Transport Simulation

Axel Naumann, DAxel Naumann, DØØUniversity of Nijmegen, The NetherlandsUniversity of Nijmegen, The Netherlands

6/14/20016/14/2001Root 2001 WorkshopRoot 2001 Workshop 77

PDGStdHepC++ ClassesROOT Classes

ParticleDataTParticlePDGParticleDataTableTDatabasePDG

TDatabasePDG: database for particle dataTParticlePDG: Result of a lookup given a PDG particle code, holds the particle’s PDG data

Create new class each year or store data in external file?Extension?: Include branching ratios

Page 8: HEP (Particle) Classes in Root (Par… · Axel Naumann, DØ University of Nijmegen, The Netherlands 6/14/2001 Root 2001 Workshop 3 HEP Data HEP Data in ROOT MC Truth Transport Simulation

Axel Naumann, DAxel Naumann, DØØUniversity of Nijmegen, The NetherlandsUniversity of Nijmegen, The Netherlands

6/14/20016/14/2001Root 2001 WorkshopRoot 2001 Workshop 88

Physics ObjectsOne big question: Do experiments share a non-trivial part of

the result of their event reconstruction? Or is a reconstructed track in experiment A totally different from one in experiment B?

Would allow • common framework, (abstract) interfaces, signatures,• shareable algorithms and analysis tools

Feasible? Worth it? Do we have the patience?Is the minimal overlap between experiments >0?

Page 9: HEP (Particle) Classes in Root (Par… · Axel Naumann, DØ University of Nijmegen, The Netherlands 6/14/2001 Root 2001 Workshop 3 HEP Data HEP Data in ROOT MC Truth Transport Simulation

Axel Naumann, DAxel Naumann, DØØUniversity of Nijmegen, The NetherlandsUniversity of Nijmegen, The Netherlands

6/14/20016/14/2001Root 2001 WorkshopRoot 2001 Workshop 99

Yes, a joke

Float_t mTeV=tevData.GetHiggs().GetMass();Float_t mLEP=lepData.GetHiggs().GetMass();printf(”%f”, mTeV-mLEP);

Page 10: HEP (Particle) Classes in Root (Par… · Axel Naumann, DØ University of Nijmegen, The Netherlands 6/14/2001 Root 2001 Workshop 3 HEP Data HEP Data in ROOT MC Truth Transport Simulation

Axel Naumann, DAxel Naumann, DØØUniversity of Nijmegen, The NetherlandsUniversity of Nijmegen, The Netherlands

6/14/20016/14/2001Root 2001 WorkshopRoot 2001 Workshop 1010

And now?Try to converge StdHepC++’s and ROOT’s PDG classes

TParticle, Stack, Vertex: Review of present implementations after today’s discussion,

discussion going on…

Physics Objects: Let’s judge on an actual (example) implementationMixture of doubts and motivation, nobody knows where this

will lead to yet…

Page 11: HEP (Particle) Classes in Root (Par… · Axel Naumann, DØ University of Nijmegen, The Netherlands 6/14/2001 Root 2001 Workshop 3 HEP Data HEP Data in ROOT MC Truth Transport Simulation

Axel Naumann, DAxel Naumann, DØØUniversity of Nijmegen, The NetherlandsUniversity of Nijmegen, The Netherlands

6/14/20016/14/2001Root 2001 WorkshopRoot 2001 Workshop 1111

Join! Participate!Please participate via

http://listserv.fnal.gov/archives/root_hep_classes.html

(to read postings or join the group)

or your nearest discussion group member!