April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 1 LHCb Software week LHCb Event Data Model Pavel Binko Gloria Corti LHCb / CERN.

Slides:



Advertisements
Similar presentations
27 Oct. 2000TGC Simulation video meeting1 Trigger Simulation Hisaya Kurashige KOBE Univ.
Advertisements

20 Feb LVL1 muon trigger simulation meeting1 the OO codes for endcap muon trigger simulation Hisaya Kurashige KOBE Univ.
Ties Behnke, Vasiliy Morgunov 1SLAC simulation workshop, May 2003 Pflow in SNARK: the next steps Ties Behnke, SLAC and DESY; Vassilly Morgunov, DESY and.
25/03/2003Simulation Application for the LHCb Experiment CHEP March 2003 Presented by: W. Pokorski / CERN Authors: I. Belyaev, Ph. Charpentier,
In order to acquire the full physics potential of the LHC, the ATLAS electromagnetic calorimeter must be able to efficiently identify photons and electrons.
Framework for track reconstruction and it’s implementation for the CMS tracker A.Khanov,T.Todorov,P.Vanlaer.
Marco Cattaneo, 23rd February Status of the software migration  Migration strategy: Where we should be  Status: Where we are  Plans.
Event Data Model in ATLAS Edward Moyse (CERN) On behalf of the ATLAS collaboration CHEP 2004, Interlaken.
David N. Brown Lawrence Berkeley National Lab Representing the BaBar Collaboration The BaBar Mini  BaBar  BaBar’s Data Formats  Design of the Mini 
The BESIII Offline Software Weidong Li Institute of High Energy Physics, Beijing Workshop on the cooperation of PRC-US in HEP 16 June 2006.
Event Data History David Adams BNL Atlas Software Week December 2001.
ALICE Simulation Framework Ivana Hrivnacova 1 and Andreas Morsch 2 1 NPI ASCR, Rez, Czech Republic 2 CERN, Geneva, Switzerland For the ALICE Collaboration.
CBM Software Workshop for Future Challenges in Tracking and Trigger Concepts, GSI, 9 June 2010 Volker Friese.
LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.
Andreas Morsch, CERN EP/AIP CHEP 2003 Simulation in ALICE Andreas Morsch For the ALICE Offline Project 2003 Conference for Computing in High Energy and.
The ALICE Simulation Strategy Andreas Morsch For the ALICE Offline Group Joint STAR/ALICE Offline Meeting Brookhaven National Laboratory, Upton, NY April.
CHEP06, Mumbai-India, Feb 2006V. Daniel Elvira 1 The CMS Simulation Validation Suite V. Daniel Elvira (Fermilab) for the CMS Collaboration.
Prompt J/  and b ➝ J/  X production in pp collisions at LHCb Patrick Robbe, LAL Orsay & CERN, 7 Dec 2010 For the LHCb Collaboration KRUGER 2010 Workshop.
Gaudi Framework Tutorial, April Algorithm Tools: what they are, how to write them, how to use them.
CHEP /21/03 Detector Description Framework in LHCb Sébastien Ponce CERN.
Simulations for CBM CBM-India Meeting, Jammu, 12 February 2008 V. Friese
CBM ECAL simulation status Prokudin Mikhail ITEP.
A New Tool For Measuring Detector Performance in ATLAS ● Arno Straessner – TU Dresden Matthias Schott – CERN on behalf of the ATLAS Collaboration Computing.
Particle Identification at BESIII Kanglin He April 23, 2007, Amsterdam.
CHEP /21/03 Detector Description Framework in LHCb Sébastien Ponce CERN.
Detector Description in LHCb Detector Description Workshop 13 June 2002 S. Ponce, P. Mato / CERN.
GAUDI Muon Software  Algorithms : Muon Digitization MuonL0Trigger MuonIdentification  Detector Description Database  Transient Detector Store  Detector.
1 SICBDST and Brunel Migration status and plans. 2 Migration Step 1: SICBMC/SICBDST split  Last LHCb week: Split done but not tested  Software week.
23/2/2000Status of GAUDI 1 P. Mato / CERN Computing meeting, LHCb Week 23 February 2000.
Claudio Grandi INFN-Bologna CHEP 2000Abstract B 029 Object Oriented simulation of the Level 1 Trigger system of a CMS muon chamber Claudio Grandi INFN-Bologna.
Ties Behnke: Event Reconstruction 1Arlington LC workshop, Jan 9-11, 2003 Event Reconstruction Event Reconstruction in the BRAHMS simulation framework:
1 Software tools in Asia Akiya Miyamoto KEK 18-March-2005 Simulation and Reconstruction Session LCWS2005 Representing acfa-sim-j activity M.C.Chang 1,K.Fujii.
1 OO Muon Reconstruction in ATLAS Michela Biglietti Univ. of Naples INFN/Naples Atlas offline software MuonSpectrometer reconstruction (Moore) Atlas combined.
25th Nov, 1999 LHCb Event Data Model Pavel Binko, LHCb / CERN 1 LHCb Software Week LHCb Event Data Model Pavel Binko LHCb / CERN.
Overview Methodology Design Architecture Outline of future work Ideas for discussion.
Software Week - 8/12/98G. Poulard - CERN EP/ATC1 Status of Software for Physics TDR Atlas Software Week 8 December 1998 G. Poulard.
Muon Persistency Persistent Analysis Objects Muon Persistency Norbert Neumeister µ-PRS meeting February 10, 2004.
I. BelikovALICE Offline Week, CERN, 12 June ESD Classes and the Combined Reconstruction What is the ESD ? Two new classes AliESD and AliESDtrack.
Marco Cattaneo, 6-Apr Issues identified in sub-detector OO software reviews Calorimeters:18th February Tracking:24th March Rich:31st March.
Gaudi Framework Tutorial, Algorithm Tools: what they are and how to use them.
Peter ClarkeATLAS software week / Berkley 9-13 May 2000ATLFAST status report Status of ATLFAST integration into Gaudi P.Clarke H.Phillips E. Richter-Was.
Marco Cattaneo, 3-June Event Reconstruction for LHCb  What is the scope of the project?  What are the goals (short+medium term)?  How do we organise.
Object-Oriented Track Reconstruction in the PHENIX Detector at RHIC Outline The PHENIX Detector Tracking in PHENIX Overview Algorithms Object-Oriented.
21/5/03J.E Campagne Opera Framework: Status Report.
Marco Cattaneo, Milano, 27th September Brunel status and plans Status of commissioning Forthcoming improvements Conventions.
David Lange Lawrence Livermore National Laboratory
HYDRA Framework. Setup of software environment Setup of software environment Using the documentation Using the documentation How to compile a program.
LHCb Software Week 25/11/99 Gonzalo Gracia Abril 1 r Status of Geant4 in LHCb. r Ideas on how to populate the LHCb Detector Description Data Base (LHCb.
LHCb Simulation LHCC Computing Manpower Review 3 September 2003 F.Ranjard / CERN.
Interaction with the Geant4 kernel
Migration of reconstruction and analysis software to C++
ALICE analysis preservation
Commissioning of the ALICE HLT, TPC and PHOS systems
Status of Brunel team and next steps
Physical Units Event Data Model Access to MonteCarlo truth
LHCb Software Tutorial
OO Muon Reconstruction in ATLAS
Vincenzo Innocente CERN/EP/CMC
Linear Collider Simulation Tools
LHCb Detector Description Framework Radovan Chytracek CERN Switzerland
Detector Description in LHCb
Simulation and Physics
Geant4 in HARP V.Ivanchenko For the HARP Collaboration
Muon Group Software Report
2 Getting Started.
2 Getting Started.
Linear Collider Simulation Tools
Agenda SICb Session Status of SICb software migration F.Ranjard
CMS Software Architecture
LHCb Detector Description Framework Radovan Chytracek CERN Switzerland
Presentation transcript:

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 1 LHCb Software week LHCb Event Data Model Pavel Binko Gloria Corti LHCb / CERN

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 2 LHCb Software week Outline A mix of what is designed and/or implemented both in Gaudi and in private detectors’ code. It is expected to evolve (of course) …  Tree Structure in Stores  LHCb Containers and Contained Object  Top Level Event Structures  Monte Carlo Event Structures  Raw and Reconstructed Event Structures  Physics Analysis Event Structure  Detectors Event Structures: Velo, Tracking, RICH, Calorimeters, Muon  Conclusions

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 3 LHCb Software week Tree Structure in Stores Objects in stores are arranged in a tree. –Event Root branching sub-trees /Event /Event/MCEvent /Event/FE (used by L1) /Event/RawEvent /Event/RecEvent /Event/AnalEvent –Defined in LHCbEvent/TopLevel/EventModel.h and.cpp Retrieving (storing) an identifiable object from the store is based on the knowledge (definition) of its logical path SmartDataPtr particles ( eventSvc(), "/Event/MC/MCParticles" );

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 4 LHCb Software week LHCb Containers Containers are the elementary unit of identification –Have to inherit from class DataObject It is assumed that algorithms do not identify individual hits or tracks, but always containers of hits, containers of tracks, etc. –Are based on STL containers - implement the same interface –Provide containment of pointers to the physics object MCParticleVector ( equal to ObjectVector ) Requirements on LHCb containers –Physics objects must not be contained in more than one container Therefore all classes of objects, they are allowed to be contained in LHCb containers, have to inherit from the base class ContainedObject –Memory management of contained objects –Navigability in both directions From the container to its object, and from the object to its container

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 5 LHCb Software week Contained Objects Class ContainedObject –Provides the back pointer from the contained objects to its parent container –Provides the exclusive ownership of a physics object by a container –Helps the containers to provide safe memory management Containers together with the class ContainedObject provide extended data management –They manage the pointers they contain –In addition they manage the objects these pointers point to No freely flying objects in the stores

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 6 LHCb Software week Top Level Event Structures Classes with global run and event information –Run, Event, EventTag, MCEvent, SubMCEvent, RawEvent, RecEvent, AnalEvent (runType, runNumber, triggerType, luminosity, fillNumber, eventNumber, timeStamp, generatorType, highVoltageMask, etc.) Most of the these classes have to be identifiable, therefore they have to inherit from the class DataObject In the directory /LHCbEvent/TopLevels there are also the LHCb container classes ObjectContainerBase, ObjectVector, ObjectList and the base class ContainedObject

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 7 LHCb Software week Top Level Event Diagram

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 8 LHCb Software week Monte Carlo Event Structures The MonteCarlo event sub-tree contains output from the event generators and MonteCarlo tracking MCParticle, particles “seen” by the spectrometer (GEANT3) –contains the data members: fourMomentum, particleId, and references to its origin vertex (SmartRef to MCVertex) and its “decay” vertices (SmartRefVector to MCVertex) –Path = “/Event/MC/MCParticles” MCVertex, production and “decay” (end) vertices of MCParticles (GEANT3) –contains the data members: position, timeOfFlight, and references to its mother track (SmartRef to MCParticle) and its daughter tracks (SmartRefVector to MCParticle). –Path = “/Event/MC/MCVertices”

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 9 LHCb Software week Monte Carlo Event Structures: Detectors’ MC hits MCHitBase is a base class for many concrete hit classes –contains data members entry (the entry point), depositedEnergy and timeOfFlight, and the reference to MCParticle, which are common to many concrete hits, which inherit from it. –It is not allowed to instantiate MCHitBase, as it has no physical meaning (only the inherited classes correspond to real hits). MCTrackingHit is used in 2 contexts: tracker and muon detector –inherits from MCHitBase, in addition it contains the data member exit (the exit point). –Path = “/Event/MC/MCTrackerHits”, “/Event/MC/MCMuonHits” For other detectors see details later

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 10 LHCb Software week Monte Carlo Event Diagram

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 11 LHCb Software week Raw & Reconstructed Event Structures The RAW event sub-tree contains raw data collected by DAQ and produced by simulation in same format (i.e. detector and electronics response). Reconstructed event sub-tree contains the output of the reconstruction See details later for the different sub-detectors Necessary to combine information from different sub-detectors in the reconstruction

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 12 LHCb Software week Reconstructed Event Diagram

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 13 LHCb Software week Analysis Event Structures Contains objects created and used during physics analysis. In the Gaudi release only the AxPartCandidate class, derived from the SICb AXTK bank is implemented. Design, partial implementation exists in private code: –ParticleCandidate base class with pointers to some reconstruction classes, three- momentum, measured mass for composite particles and specialized classes for different particle types ( TrkParticle, NeutParticle, CompParticle), as well as reference to decay vertex –VtxCandidate contains position,error matrix,   and reference to particles (pointers to ParticleCandidate class) that were used to “make” the vertex –ChosenParticle class with pID chosen for a specific analysis, and hence four- momentum –DecayTree where the full decay is described with references to ChosenParticles

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 14 LHCb Software week Analysis Event Diagram

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 15 LHCb Software week Velo / L1 Event Model Currently Velo/L1 SICb banks mapped to classes Two separate world: pure MC world, MC/real data world (Raw, Rec, FE), connected trough reference tables MCVeloHit (Geant3 hits) –inherits from MCTracking hits, in addition contains wafer method –Path = “/Event/MC/Velo/Hits” RawVeloHit (digitized hits) –sector, type (R, , stripNumber, charge, adcCount, waferNumber –Path = “/Event/Raw/Velo/Hits” VeloClusters (reconstructed R,  clusters) –coordinate,station,pulseHeight,width, etc, + references to RawVeloHit –Path = “/Event/Rec/Velo/RClusters”, “/Event/Rec/Velo/PhiClusters”

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 16 LHCb Software week Velo / L1 Event Model Level12dTrack ( Level1 vertex trigger 2-d tracks) –status, slope,radius, etc + references to VeloCluster –Path = “/Event/FE/L1/2dTracks” Level13dTrack (Level1 vertex trigger 2-d tracks) –coordStart, uvecStart, ip, etc + 2 vectors of pointers to VeloClusters and a vector of pointers to Level12dTrack –Path = “/Event/FE/L1/3dTracks” Level1Vertex (Level1 trigger primary and secondary vertices) –Path = “/Event/FE/L1/PriVertices”, “/Event/FE/L1/SecVertices” Level1Summary ( trigger decision, like event trigger tag) –decision, pileup, numLargeIPtracks, singleVtxProb, etc. –Path = “/Event/FE/L1/Summary”

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 17 LHCb Software week Velo / L1 Event Model Diagram

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 18 LHCb Software week Tracking Event Model Data Model used by Tracking Algorithms –OT stands for outer tracker, IT for inner tracker OTDigi, ITDigi, classes with digitized raw data (i.e. TDC counts) –currently they are produced starting from the Gaudi Classes RawInner(Outer)TrackerMeas (copies from SICb banks) OTHits, ITHits, hits produced by the subdetectors reconstruction, input for tracking OTHitsOnTrack, ITHitsOnTrack, measurements assigned to tracks –inherits from base abstract class TrMeasurement

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 19 LHCb Software week Tracking Event Model (2) TrState, a snapshot of a track –track parameters and covariance matrix at a given z position on its trajectory TrTrack, contains information about the track accumulated during tracking –list of pointers to TrMeasurements and to TrState –charge,  , particleType Connections with the MC world are done through inheritance for hits (ex. ITMCHit, ITMCDigi), inheritance with pointer or associators for tracks

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 20 LHCb Software week Tracking Data Model for Tracks

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 21 LHCb Software week Tracking Data Model for Hits

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 22 LHCb Software week RICH Event Model At the moment the RICH Algorithms have their own private event and communicates with the LHCbEvent via an Event Adapter. Different adapters for the different purposes: simulation, reconstruction with simulation tracks, reconstruction The Event adapter creates RICH input objects (Track and TrackSegment) from objects in the LHCbEvent transient store (i.e. MCParticle, TrTrack) and deposit its result in the store with a pointer to the original object so that it can then be used by other algorithms (ex. of RICHParticleID in RecEvent)

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 23 LHCb Software week Calorimeters Event Model Simulation, Digitization, Calibration and Clusterization Algorithm for the Calorimeters “communicate” through the data flow from one algorithm to the other MCCaloDeposit, energy deposited by a MC particle MCCaloSummedDeposit, energy deposited in the Calorimeter active material CaloDigit, energy deposition in a given Calorimeter cell MCCaloDigit, inherits from CaloDigit + references to MC true info (MCCaloSummedDeposit and MCCaloDeposit) CaloCluster, reconstructed clusters (x,y,E, etc.) –Same class holds MC and real Data ( references to CaloDigit) Simulation produces a sequence of MCCaloDigit, that the Digitization either updates or uses to create a new sequence. The Calibration and Clusterization treat the sequence of MCCaloDigits as a CaloDigit sequence (dynamic casting is necessary when checking against MC truth)

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 24 LHCb Software week Calorimeters MC and Raw Data Model

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 25 LHCb Software week Muon Event Model A simple digitization algorithm is designed and implemented within the Gaudi framework. Simple Event Model related to digitization algorithm (input/output data) MCTrackingHit are used as input(/Event/MC/MCMuonHits) RawMuonHit are produced (stored in /Event/Raw) –full PadID (station, chamber, pad) and time stamp + vector of pointers to MCTrackingHit

April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 26 LHCb Software week Conclusions The Event Model in the sub-detectors mostly specialized to their algorithms. But data objects in the event store are how the sub-detector algorithms exchange information. How can we have a coherent global Event Model? The Data Model from the sub-detectors should be integrated in the LHCbEvent Model (after testing, of course...). Maybe some sub-detector data classes could be common base classes or be specialized in other sub- detectors... Need for concrete (specialized) containers. What are the common requirements. Necessary to collect information: workshop?