Level 2 ID-tracking truth association Trigger AOD discussion 13 December 2006 Ricardo Gonçalo - RHUL.

Slides:



Advertisements
Similar presentations
FAWP Fast Analysis With Pythia These notes will be updated as FAWP evolves Current version:
Advertisements

TriggerDecision Trigger AOD discussion 13 December 2006 Ricardo Gonçalo - RHUL.
M. D'Amato, M. Mennea, L.Silvestris INFN-Bari CMS Data Model 9-11 Aprile 2001, Catania I Workshop INFN Grid CMS DATA MODEL M. D’Amato, M. Mennea, L. Silvestris.
Trigger Data Formats From CBNT to ESD and/or DPD June 11, 2008 Fabrizio Salvatore, Ricardo Gonçalo, RHUL.
TriggerDecision update PESA-Algorithms – 16 November 2006 Status in rel nightlies Next steps for TriggerDecision Other random bits of news Ricardo.
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.
SCT Offline Monitor Measuring Module Hit Efficiencies Helen Hayward University of Liverpool.
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.
The Event as an Object-Relational Database: Avoiding the Dependency Nightmare Christopher D. Jones Cornell University, USA.
Tutorial TopReco 26-FEB-2010 Event Selection… …and Event Dumping A. Lleres, A. Lucotte IN2P3-LPSC Grenoble A. Lucotte / LPSC, CNRS/IN2P3 I. Context II.
Status and outlook of HLT software High Level Trigger algorithms for e/  How to analyse HLT data? Trigger information in ESD/AOD Ricardo Gonçalo (RHUL)
Trigger-aware analysis Current status Under development What’s missing Conclusions & Outlook Ricardo Gonçalo (RHUL)
CS 202, Spring 2003 Fundamental Structures of Computer Science II Bilkent University1 Hashing CS 202 – Fundamental Structures of Computer Science II Bilkent.
TRIGGER-AWARE ANALYSIS TUTORIAL ARTEMIS Workshop – Pisa – 18 th to 19 th June 2009 Alessandro Cerri (CERN), Ricardo Gonçalo – Royal Holloway.
The New TrigDecision Nicolas Berger, Till Eifert, Ricardo Gonçalo Physics Analysis Tools session ATLAS Software Workshop – Munich, March 2007.
What’s in the ATLAS data : Trigger Decision ATLAS Offline Software Tutorial CERN, August 2008 Ricardo Gonçalo - RHUL.
Trigger validation for Event size TrigDecision Jets Electrons Ricardo Gonçalo, RHUL Physics Validation Meeting – 9 October 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 
Trigger ESD/AOD Simon George (RHUL) Ricardo Goncalo (RHUL) Monika Wielers (RAL) Contributions from many people.
1 Michela Biglietti (Universita’ di Napoli-Federico II) Gabriella Cataldi (INFN Lecce) and the HLT.
DANA uses a factory model to deliver data “just in time”
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.
DPDs and Trigger Plans for Derived Physics Data Follow up and trigger specific issues Ricardo Gonçalo and Fabrizio Salvatore RHUL.
Trigger ESD/AOD Simon George (RHUL) Ricardo Goncalo (RHUL) Monika Wielers (RAL) Reporting on the work of many people. ATLAS software week September.
Gaudi Framework Tutorial, April Job Options and Printing.
N ATIONAL E NERGY R ESEARCH S CIENTIFIC C OMPUTING C ENTER Charles Leggett Interval of Validity Service IOVSvc ATLAS Software Week May Architecture.
Jose A. Hernando Trigger Gaudies Reconstruction Tools & Algorithms Inspectors MC & Data Algorithms Template preserved container Jose A. Hernando.
N ATIONAL E NERGY R ESEARCH S CIENTIFIC C OMPUTING C ENTER Charles Leggett Interval of Validity Service IOVSvc EDM Workshop Detector Description Session.
Navigation Timing Studies of the ATLAS High-Level Trigger Andrew Lowe Royal Holloway, University of London.
17 December 1998Silvia Resconi ATLFast++ into LHC++: a first exercise The aim of the exercise: from generation to analysis using ATLFast++ algorithms into.
Argonne Jamboree January 2010 Esteban Fullana AOD example analysis.
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,
Trigger validation for Many thanks to Long Zhao, Chihiro Omachi, Julie Kirk, Giovanni Siragusa, Patricia Conde Muiño, Andreas Reinsch, Olya Igonkina,
1 EvtGen and  b Spin Studies in ATLAS First North American ATLAS Physics Workshop December 19-21, 2004 Michela Biglietti, Jacob Bourjaily, Homer A. Neal,
Fully Hadronic Top Anti-Top Decay (Using TopView) Fully Hadronic Top Anti-Top Decay (Using TopView) Ido Mussche NIPHAD meeting, Februari 9 th :
ItsyBitsyRel: A Small Relational Database (Part II) Implementation Hints Shahin Shayandeh
Level 2 ID-tracking truth association How it works Information in POOL How to use it.
DaVinciAssociators How to relate physics objects to MC truth.
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.
E/gamma report Ricardo Gonçalo for the e/γ slice.
Project 1 : Phase 1 22C:021 CS II Data Structures.
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.
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.
Muon HLT: status of the algorithms and performance Sergio Grancagnolo for the Muon HLT group.
Points from DPD task force First meeting last Tuesday (29 th July) – Need to have concrete proposal in 1 month – Still some confusion and nothing very.
Axel Naumann, DØ University of Nijmegen, The Netherlands 6/20/2001 Dutch Morning Meeting 1 From n-Tuples to b-Tags ?
Athena StoreGate Tutorial: May 30, Objectives Learn how to access data objects using StoreGate How to record/retrieve by TYPE Optionally using keys.
Level 3 Tracking Tutorial R. Beuselinck 7 February 2001 Current status of level 3 tracking interface User access methods and parameter definitions Simple.
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.
21/5/03J.E Campagne Opera Framework: Status Report.
Photon purity measurement on JF17 Di jet sample using Direct photon working Group ntuple Z.Liang (Academia Sinica,TaiWan) 6/24/20161.
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
AOD example analysis Argonne Jamboree January 2010
Atlas IO improvements and Future prospects
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.
2 Getting Started.
Samples and MC Selection
2 Getting Started.
Presentation transcript:

Level 2 ID-tracking truth association Trigger AOD discussion 13 December 2006 Ricardo Gonçalo - RHUL

Ricardo GoncaloTrigger AOD - 13/12/062 Level 2 track-truth association How it works: –GenParticles match TrigInDetTracks if they share common hits –More than one GenParticle can match a track Truth-association classes: –TrigInDetTrackTruth : one per track “Map” of mother-daughter relationships Pointers to matching GenParticles number of common hits between track and a GenParticle –TrigInDetTrackTruthMap : a “map” between each TrigInDetTrack and a TrigInDetTrackTruth object TrigInDetTrackTruthMap TrigInDetTrack TrigInDetTrackTruth HepMcParticleLink TrigIdHitStats Family tree map GenParticle ElementLink

Ricardo GoncaloTrigger AOD - 13/12/063 TrigInDetTrackTruthMap One per event: Acts as map between tracks and GenParticles Data members: std::vector > m_elink_vec;m_elink_vec std::vector m_truth_vec;m_truth_vec MessageSvcProvider m_messageSvcProvider;m_messageSvcProvider Entry point for users: The pair of vectors works as a map with a TrigInDetTrack* as key Mem Size Disk Size Nbr evts kb kb 100

Ricardo GoncaloTrigger AOD - 13/12/064 TrigInDetTrackTruth One per track. Makes the link between track and (a number of) GenParticles; contained by TrigInDetTrackTruthMap Data members: // reference best match quantities int best_match_hits, best_Si_match_hits, best_TRT_match_hits;best_match_hitsbest_Si_match_hits best_TRT_match_hits // vector of HepMcParticleLink pointers and matching quantities std::vector m_true_part_vec; std::vector m_nr_common_hits;m_true_part_vecm_nr_common_hits // “bidirectional map” mother-daughter index in m_true_part_vec std::vector > m_family_tree;m_family_tree MessageSvcProviderMessageSvcProvider m_messageSvcProvider;m_messageSvcProvider

Ricardo GoncaloTrigger AOD - 13/12/065 TrigIDHitStats One per GenParticle matching a track Encodes number of common hits between GenParticle and track for each detector; contained by TrigInDetTrackTruth Data members: unsigned char[Num.Detectors]

Ricardo GoncaloTrigger AOD - 13/12/066 Backup

Ricardo GoncaloTrigger AOD - 13/12/067 How it works I 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 GoncaloTrigger AOD - 13/12/068 How it works II 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 GoncaloTrigger AOD - 13/12/069 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 GoncaloTrigger AOD - 13/12/0610 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 Some improvements still necessary in persistent objects, but not much - Minimum nr.of common hits should probably be configurable, etc.