Level 2 ID-tracking truth association How it works Information in POOL How to use it.

Slides:



Advertisements
Similar presentations
CSE 1302 Lecture 23 Hashing and Hash Tables Richard Gesick.
Advertisements

FAWP Fast Analysis With Pythia These notes will be updated as FAWP evolves Current version:
Sorting Really Big Files Sorting Part 3. Using K Temporary Files Given  N records in file F  M records will fit into internal memory  Use K temp files,
Analysis of the Stereo Hits and the 2D Circle Fitter Hans Wenzel, Hogan Nguyen Feb 9 th, 2011 Introduction Hans implemented stereo hits, formed by the.
Trigger Data Formats From CBNT to ESD and/or DPD June 11, 2008 Fabrizio Salvatore, Ricardo Gonçalo, RHUL.
@ Zhigang Zhu, CSC212 Data Structure - Section FG Lecture 19 Searching Instructor: Zhigang Zhu Department of Computer Science City College.
Bitmap Index Buddhika Madduma 22/03/2010 Web and Document Databases - ACS-7102.
A Package For Tracking Validation Chris Meyer UC Santa Cruz July 6, 2007.
Types of Data SimTracks: generated particles SimHits: energy depositions in a detector volume Digis: Single-channel pieces of the detector’s raw binary.
1 Overview of Storage and Indexing Chapter 8 (part 1)
CSC Note Jet 8 Meeting – April 11 '07 Status and plan for single hadron scale check with minimum bias events N. Davidson The University of Melbourne.
New muon EF trigger with offline supertools Sergio Grancagnolo INFN Lecce & Salento University.
Analysis Meeting – April 17 '07 Status and plan update for single hadron scale check with minimum bias events N. Davidson.
Trigger-aware analysis Current status Under development What’s missing Conclusions & Outlook Ricardo Gonçalo (RHUL)
The New TrigDecision Nicolas Berger, Till Eifert, Ricardo Gonçalo Physics Analysis Tools session ATLAS Software Workshop – Munich, March 2007.
Event Data Model in ATLAS Edward Moyse (CERN) On behalf of the ATLAS collaboration CHEP 2004, Interlaken.
Analysis of BS, ESD and AOD data What trigger data is available offline and what data should be available? How are we going to analyse HLT data?
David N. Brown Lawrence Berkeley National Lab Representing the BaBar Collaboration The BaBar Mini  BaBar  BaBar’s Data Formats  Design of the Mini 
Ricardo GoncaloPESA Algorithms - 18/7/061 Level 2 e/  menu.
Level 2 ID-tracking truth association Trigger AOD discussion 13 December 2006 Ricardo Gonçalo - RHUL.
DANA uses a factory model to deliver data “just in time”
Particle to MC truth association Juan Palacios (Nikhef) LHCb software week June
Overview of trigger EDM and persistency Focusing on the e/  slice Referring to the work of several people Ricardo Gonçalo.
A Technical Validation Module for the offline Auger-Lecce, 17 September 2009  Design  The SValidStore Module  Example  Scripting  Status.
LVL2 ID ESD/AOD classes Status and plans. PESA L2 ID Algorithms Review - RAL 25 July Ricardo Goncalo ESD/AOD More and more interest from physics.
Gaudi Framework Tutorial, April Algorithm Tools: what they are, how to write them, how to use them.
Gaudi Framework Tutorial, April Job Options and Printing.
Jose A. Hernando Trigger Gaudies Reconstruction Tools & Algorithms Inspectors MC & Data Algorithms Template preserved container Jose A. Hernando.
AMB HW LOW LEVEL SIMULATION VS HW OUTPUT G. Volpi, INFN Pisa.
Navigation Timing Studies of the ATLAS High-Level Trigger Andrew Lowe Royal Holloway, University of London.
Sim/Reco Meeting, April 2009Dmitry Onoprienko SiD Sim/Reco Meeting, April Dmitry Onoprienko Kansas State University Status of ITC / CAT related.
STAR Event data storage and management in STAR V. Perevoztchikov Brookhaven National Laboratory,USA.
Argonne Jamboree January 2010 Esteban Fullana AOD example analysis.
Introduction What is detector simulation? A detector simulation program must provide the possibility of describing accurately an experimental setup (both.
Online Reconstruction 1M.Ellis - CM th October 2008.
AOD/ESD plans Status and plans focusing on LVL2 e/  and some items for discussion On behalf of: J.Baines, P.Casado, G.Comune, A.DiMattia, S.George, R.Goncalo,
Lecture 18 Windows – NT File System (NTFS)
ISOM MIS 215 Module 5 – Binary Trees. ISOM Where are we? 2 Intro to Java, Course Java lang. basics Arrays Introduction NewbieProgrammersDevelopersProfessionalsDesigners.
Introduction to Information Retrieval Introduction to Information Retrieval Lecture 4: Index Construction Related to Chapter 4:
Week 15 – Wednesday.  What did we talk about last time?  Review up to Exam 1.
A code-centric cluster-based approach for searching online support forums for programmers Christopher Scaffidi, Christopher Chambers, Sheela Surisetty.
ItsyBitsyRel: A Small Relational Database (Part II) Implementation Hints Shahin Shayandeh
RpcPrepRawData 1 The conversion from the online RPC data structure (trigger-driven) to offline RpcPrepRawData is not trivial: generally, one online hit.
Trigger LVL1/LVL2 Makers. CERN, december 2001 Gabriella Cataldi-INFN Lecce Trigger (Level 2) Makers: MooiPatTrackSegmentMaker MooiPatTrackMaker MooTrigClusters.
Hadronic Jet Energy Scale Hadronic t-t bar selection and Jet Energy Scale calibration Part I : Accessing the trigger information 09/02 - Menelaos Tsiakiris.
Current Status of MDC Track Reconstruction MdcPatRec Zhang Yao, Zhang Xueyao
Muon Persistency Persistent Analysis Objects Muon Persistency Norbert Neumeister µ-PRS meeting February 10, 2004.
Status report for LVL2 e/  ESD/AOD Aims and constraints Tracking status Calorimetry status (Monika) Monika Wielers Ricardo Gonçalo.
CSE 373: Data Structures and Algorithms Lecture 16: Hashing III 1.
I. BelikovALICE Offline Week, CERN, 12 June ESD Classes and the Combined Reconstruction What is the ESD ? Two new classes AliESD and AliESDtrack.
1 Overview of Query Evaluation Chapter Outline  Query Optimization Overview  Algorithm for Relational Operations.
ATLAS ATLAS muon CSC clustering David Adams Brookhaven National Laboratory June 15, 2006 Muon Software Updated 11:00 EDT June 15, 2006.
CSCI  Sequence Containers – store sequences of values ◦ vector ◦ deque ◦ list  Associative Containers – use “keys” to access data rather than.
Axel Naumann, DØ University of Nijmegen, The Netherlands 6/20/2001 Dutch Morning Meeting 1 From n-Tuples to b-Tags ?
AliRoot survey: Reconstruction P.Hristov 11/06/2013.
Athena StoreGate Tutorial: May 30, Objectives Learn how to access data objects using StoreGate How to record/retrieve by TYPE Optionally using keys.
SEARCH FOR DIRECT PRODUCTION OF SUPERSYMMETRIC PAIRS OF TOP QUARKS AT √ S = 8 TEV, WITH ONE LEPTON IN THE FINAL STATE. Juan Pablo Gómez Cardona PhD Candidate.
Event Mixing Rob Kutschke, Fermilab Software and Simulation Meeting October 5, 2011 Mu2e-doc-1874-v1.
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.
4 Dec., 2001 Software Week Data flow in the LArG Reconstruction software chain Updated status for various reconstruction algorithm LAr Converters and miscellaneous.
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
INLS 623– Database Systems II– File Structures, Indexing, and Hashing
Map interface Empty() - return true if the map is empty; else return false Size() - return the number of elements in the map Find(key) - if there is an.
CSC212 Data Structure - Section RS
תירגול 9 אובייקטים.
CMS Persistent Event Structure
CSE 143 Lecture 25 Set ADT implementation; hashing read 11.2
CSC212 Data Structure - Section KL
2 Getting Started.
Presentation transcript:

Level 2 ID-tracking truth association How it works Information in POOL How to use it

Ricardo GoncaloPESA Algorithms - 18/7/062 How it works: 1.Starts from the ID TrigSpacePoint and InDet::TRT_DriftCircle stored with each TrigInDetTrack ; 2.For silicon detectors, navigates to each InDet::SiCluster forming a TrigSiSpacePoint ; 3.Gets vector of RDO Identifier for each space point and drift circle. Uses map between Identifier and InDetSimData to find all Deposits left by generated particles ( GenParticle ); 4.Retrieve list of generated particles (actually HepMcParticleLink, which points to GenParticle ) which ontributed to clusters and drift circles; 5.A truth particle is considered a match if at least one of its deposits contributed to a cluster: Should this be configurable? (match if >= N hits in common with track…) 6.Does one last step to try to find each particle’s mother. (*) InDetSimData is a typedef of vector ; Deposit is a typedef of pair TrigInDetTrack TrigSiSpacePoint / TRT_DriftCircle deposit GenParticle map (*) Identifier

Ricardo GoncaloPESA Algorithms - 18/7/063 How it works Truth association found for all existing TrigInDetTrackCollections in StoreGate after Trigger has run TrigInDetTracks need to have vector of TrigSiSpacePoints or InDet::TRT_DriftCircles All particles matching a track are recorded and the information is kept in POOL Particles in a decay chain may match a track –Bremstrahlung: e   e   –Long-lived particles: K      0 –Note: “mother K + ” different GenParticle from “daughter K + ” Last step is to search for a mother-daughter relations among matching particles –Only relationships between matching particles are searched –These relationships are kept in POOL True particle Reconstructed track

Ricardo GoncaloPESA Algorithms - 18/7/064 Level 2 track-truth association Truth-association classes: –TrigInDetTrackTruth : one per track with truth association Has vector of HepMcParticleLink to point to matching GenParticles Has a vector > to code up any mother- daughter relationships –Started with a map<> but this was producing persistency problems Has vector of TrigIDHitStats : to store number of common hits between a track and a GenParticle for each detector –TrigInDetTrackTruthMap : a “map” between each TrigInDetTrack and a TrigInDetTrackTruth object Currently implemented as 2 std::vectors to avoid persistency problems Should be turned into a GaudiUtils::VectorMap for I/O efficiency: O(log N) instead of current O(N) TrigInDetTrackTruthMap TrigInDetTrack TrigInDetTrackTruth HepMcParticleLink TrigIdHitStats Family tree map GenParticle ElementLink

Ricardo GoncaloPESA Algorithms - 18/7/065 How to use it? Retrieve TrigInDetTruthMap from StoreGate (default key is “TrigInDetTruthMap”) Use accessor methods to get TrigInDetTrackTruth object with highest number of hits in given detector Use methods in TrigInDetTrackTruth to get HepMcParticleLink or number of hits Relevant packages: –Trigger/TrigTruthEvent/TrigInDetTruthEvent : truth association data –Trigger/TrigAnalysis/TrigInDetTruthAlgs : algorithm to fill association More documentation will be written soon bool hasTruth(const TrigInDetTrack* p_trig_trk); TrigInDetTrackTruth* truth(const TrigInDetTrack* p_trig_trk); HepMcParticleLink* bestMatchSi(const TrigInDetTrack* p_trig_trk); HepMcParticleLink* bestMatchTRT(const TrigInDetTrack* p_trig_trk); int bestMatchSiHits(const TrigInDetTrack* p_trig_trk); int bestMatchTRTHits(const TrigInDetTrack* p_trig_trk); void print();

Ricardo GoncaloPESA Algorithms - 18/7/066 To finish… TrigInDetTruthMap: 4 track-truth associations #track|algo| pT | eta | phi |#match|mother|Sihits|TRThits|ev.index| barcode | pdg id | pT | eta | phi | 0| 2| | | | 0| -- | 7| 9| 0| 130| -11| | | | | | | | | 1| -- | 0| 2| 0| | -11| | | | | | | | | 2| -- | 0| 3| 0| | 11| | | | 1| 2| | | | 0| -- | 7| 0| 0| 935| -321| | | | | | | | | 1| -- | 0| 8| 0| 938| -211| | | | | | | | | 2| 0| 0| 6| 0| | -211| | | | | | | | | 3| -- | 0| 1| 0| | 11| | | | 2| 2| | | | 0| -- | 7| 17| 0| 140| 11| | | | 3| 2| | | | 0| -- | 4| 0| 0| 621| 211| | | | Level 2 track-truth association evolved from code in TrigNtInDet by John Baines doing the same task to fill ntuple New packages now working, including decay-chain relationships Tests ongoing, but don’t expect any nasty surprises; decay-chain finding is the only really new thing Some improvements still necessary in persistent objects, but not much - Minimum nr.of common hits should probably be configurable, etc. Thanks to Julie and John for contributing and to Teresa for data files

Ricardo GoncaloPESA Algorithms - 18/7/067 Level 2 track-truth association (cont) Status: Relevant packages: –TrigTruthEvent/TrigInDetTruthEvent: truth association objects –TrigAnalysis/TrigInDetTruthAlgs: algorithm to fill association objects Had a nasty problem with persistency –This was finally traced down (and damn hard it was too) to the map which could not be persistified for some reason –Currently looking for the best solution Note: relies on == overloaded operator in HepMcParticleLink TrigInDetTrackTruthMap internal representation should be turned into a VectorMap for lookup speed Algorithm which fills truth-association (TrigInDetTrackTruthMaker) still not filling the map of mother-daughter relations