TRIGGER DATA FOR PHYSICS ANALYSIS ATLAS Software Tutorial – 22 nd to 24 th April 2009 Ricardo Gonçalo – Royal Holloway.

Slides:



Advertisements
Similar presentations
Sander Klous on behalf of the ATLAS Collaboration Real-Time May /5/20101.
Advertisements

J. Nielsen1 Measuring Trigger Efficiency Important component of cross section measurement: it is NOT in general 1.0! Need to measure this from data because.
Trigger Data Formats From CBNT to ESD and/or DPD June 11, 2008 Fabrizio Salvatore, Ricardo Gonçalo, RHUL.
Using JavaServer Pages Harry R. Erwin, PhD CIT304/CSE301.
The ATLAS High Level Trigger Steering Journée de réflexion – Sept. 14 th 2007 Till Eifert DPNC – ATLAS group.
ATLAS Analysis Model. Introduction On Feb 11, 2008 the Analysis Model Forum published a report (D. Costanzo, I. Hinchliffe, S. Menke, ATL- GEN-INT )
Trigger (& some DAQ basics) tutorial Alessandro Cerri (CERN), Ricardo Goncalo (Royal Holloway)
Java Server Faces Model/View/Controller Design Pattern for Web Development Slides adapted from “Core JavaServer Faces” by Geary and Horstmann and the J2EE.
The Event as an Object-Relational Database: Avoiding the Dependency Nightmare Christopher D. Jones Cornell University, USA.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
ATLAS Software tutorial 21 st – 23 rd October 2009 ATLAS Software tutorial 21 st – 23 rd October 2009 Jörg Stelzer DESY Ricardo Gonçalo RHUL.
Trigger Tools for Physics Analysis Some use cases Building a data sample Event by event analysis Input from across the Atlantic conclusions Thank you!
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)
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
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.
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?
Web software. Two types of web software Browser software – used to search for and view websites. Web development software – used to create webpages/websites.
Chapter 17 Creating a Database.
TRIGGER STATUS AND MENU OPTIMIZATION LHCC Referee Meeting with ATLAS – 7 th July 2009 Ricardo Gonçalo (RHUL) on behalf of the ATLAS TDAQ.
1 Michela Biglietti (Universita’ di Napoli-Federico II) Gabriella Cataldi (INFN Lecce) and the HLT.
Embedded XML Documentation for Fortran 90 and C/C++ Brett N. DiFrischia RS Information Systems NOAA | GFDL.
News from Atlantis Event Display Qiang Lu, Mark Stockton, Juergen Thomas, Peter Watkins (Birmingham) Hans Drevermann (CERN) Andrew Haas (Columbia) Eric.
Overview of trigger EDM and persistency Focusing on the e/  slice Referring to the work of several people Ricardo Gonçalo.
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.
1 “Steering the ATLAS High Level Trigger” COMUNE, G. (Michigan State University ) GEORGE, S. (Royal Holloway, University of London) HALLER, J. (CERN) MORETTINI,
N ATIONAL E NERGY R ESEARCH S CIENTIFIC C OMPUTING C ENTER Charles Leggett Interval of Validity Service IOVSvc ATLAS Software Week May Architecture.
Copyright © 2012 UNICOM Systems, Inc. Confidential Information z/Ware Product Overview illustro Systems International A Division of UNICOM Global.
Status of trigger software and EDM Ricardo Gonçalo, RHUL – on behalf of ATLAS TDAQ.
3rd November Richard Hawkings Luminosity, detector status and trigger - conditions database and meta-data issues  How we might apply the conditions.
The ATLAS Trigger: High-Level Trigger Commissioning and Operation During Early Data Taking Ricardo Gonçalo, Royal Holloway University of London On behalf.
Navigation Timing Studies of the ATLAS High-Level Trigger Andrew Lowe Royal Holloway, University of London.
Full Dress Rehearsal (FDR1) studies Sarah Allwood-Spiers 11/3/2008.
Server-side Programming The combination of –HTML –JavaScript –DOM is sometimes referred to as Dynamic HTML (DHTML) Web pages that include scripting are.
ATLAS Software tutorial 4 th – 7 th May 2010 ATLAS Software tutorial 4 th – 7 th May 2010 Jörg Stelzer DESY Ricardo Gonçalo RHUL.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Java Beans. Definitions A reusable software component that can be manipulated visually in a ‘builder tool’. (from JavaBean Specification) The JavaBeans.
Metadata and COMA Elizabeth Gallas Oxford. ATLAS Weekly / Open EB Meeting October 18, 2011.
Trigger Software Validation Olga Igonkina (U.Oregon), Ricardo Gonçalo (RHUL) TAPM Open Meeting – April 12, 2007 Outline: Reminder of plans Status of infrastructure.
Argonne Jamboree January 2010 Esteban Fullana AOD example analysis.
DBS/DLS Data Management and Discovery Lee Lueking 3 December, 2006 Asia and EU-Grid Workshop 1-4 December, 2006.
Artemis School On Calibration and Performance of ATLAS Detectors Jörg Stelzer / David Berge.
PESAsim – the e/  analysis framework Validation of the framework First look at a trigger menu combining several signatures Short-term plans Mark Sutton.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Introduction to KE EMu Unit objectives: Introduction to Windows Use the keyboard and mouse Use the desktop Open, move and resize a.
WEB SERVER SOFTWARE FEATURE SETS
Trigger Validation Olga Igonkina (U.Oregon), Ricardo Gonçalo (RHUL) on behalf of trigger community Physics Validation Meeting – Feb. 13, 2007.
New COOL Tag Browser Release 10 Giorgi BATIASHVILI Georgian Engineering Center 23/10/2012
The ATLAS Trigger Configuration System Design and Commissioning A.dos Anjos, P.Bell, D.Berge, J.Haller, S.Head, T.Kohno, S.Li, T.McMahon, M.Nozicka, H.v.d.
LESSON 15 – UNIT 0 ADAPTING YOUR WEB SITE FOR MOBILE DEVICES.
The PESAsim analysis framework What it is How it works What it can do How to get it and use it Mark Sutton Tania McMahon Ricardo Gonçalo.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010.
Hadronic Jet Energy Scale Hadronic t-t bar selection and Jet Energy Scale calibration Part I : Accessing the trigger information 09/02 - Menelaos Tsiakiris.
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.
Athena StoreGate Tutorial: May 30, Objectives Learn how to access data objects using StoreGate How to record/retrieve by TYPE Optionally using keys.
Trigger release and validation status and plans David Strom (Oregon), Simon George (RHUL), Ricardo Gonçalo (RHUL)
ATLAS Physics Analysis Framework James R. Catmore Lancaster University.
Together we can build something great FORWARD | 2016 Role Centers and Charting Joanna Broszeit, Dawn Stenbol, Tracie Folscroft Education Track | Boston.
L1Calo Databases ● Overview ● Trigger Configuration DB ● L1Calo OKS Database ● L1Calo COOL Database ● ACE Murrough Landon 16 June 2008.
The Palantir Platform… …Changes in 2.3
AOD example analysis Argonne Jamboree January 2010
Trigger Data for Analysis
z/Ware 2.0 Technical Overview
TriggerDB copy in TriggerTool
Presentation transcript:

TRIGGER DATA FOR PHYSICS ANALYSIS ATLAS Software Tutorial – 22 nd to 24 th April 2009 Ricardo Gonçalo – Royal Holloway

ATLAS Software Tutorial - Trigger Data 2 The Trigger 9/6/2009

ATLAS Software Tutorial - Trigger Data3 EMROI L2 calorim. L2 tracking OK? E.F.calorim. match? E.F.tracking track? e  OK? e/  reconst. L2 calorim. OK? E.F.calorim.  OK? e/  reconst. TrigEMCluster TrigInDetTracks CaloCluster egamma T.E. FEature eXtraction algos produce Features on which selection in HYPOthesis algos is based FEX HYPO features ESDAODTAGDPD features T.E. passed e/γ trigger decision 9/6/2009

 Features can be retrieved through the “TriggerNavigation” using the TrigDecisionTool  Features are created by FEX algorithms. They appear in StoreGate in containers according to FEX name. A FEX also creates a “TriggerElement” (TE)  A TE is used as handle to the feature  A TE has a pass/fail state set by the HYPO corresponding to the FEX  So the navigation can give you the TE’s for all the FEX that run in a chain  Or just those that passed the last step in the chain  From there you get the features (type templated)  This is the correct way to retrieve the features for each RoI  Features can be retrieved through the “TriggerNavigation” using the TrigDecisionTool  Features are created by FEX algorithms. They appear in StoreGate in containers according to FEX name. A FEX also creates a “TriggerElement” (TE)  A TE is used as handle to the feature  A TE has a pass/fail state set by the HYPO corresponding to the FEX  So the navigation can give you the TE’s for all the FEX that run in a chain  Or just those that passed the last step in the chain  From there you get the features (type templated)  This is the correct way to retrieve the features for each RoI ATLAS Software Tutorial - Trigger Data4 TrigEMCluster TrigInDetTrack CaloCluster egamma T.E.

5ATLAS Software Tutorial - Trigger Data ESD AOD TAG Configures Stores decoded Trigger Menu DPD With decreasing amount of detail

 L1 Items: name, version, CTP-Id, prescale  To come: bunch-group for each item  Also to come: Definition of L1Items in terms of thresholds  HLT Chains: name, version, level, counter, prescale, trigger elements  Streams: chains feeding into each stream  Chain-groups: chains belonging to each group  Bunch-groups: name of each of the 8 BG  L1 Items: name, version, CTP-Id, prescale  To come: bunch-group for each item  Also to come: Definition of L1Items in terms of thresholds  HLT Chains: name, version, level, counter, prescale, trigger elements  Streams: chains feeding into each stream  Chain-groups: chains belonging to each group  Bunch-groups: name of each of the 8 BG ATLAS Software Tutorial - Trigger Data6

 Analysis based on single trigger chain or an ‘OR’ of a few chains  Chain definition – algorithms, cuts, multiplicities – do not change during a run, but can change between runs  Important for analysis on DPD, where multiple runs are merged  Prescales at LVL1 or at HLT can change between luminosity blocks  A negative prescale means that this trigger is off. This is important for calculating the integrated luminosity  Analysis based on single trigger chain or an ‘OR’ of a few chains  Chain definition – algorithms, cuts, multiplicities – do not change during a run, but can change between runs  Important for analysis on DPD, where multiple runs are merged  Prescales at LVL1 or at HLT can change between luminosity blocks  A negative prescale means that this trigger is off. This is important for calculating the integrated luminosity ATLAS Software Tutorial - Trigger Data7

8 TrigDecisionTool Decision + Navigation EDMConfiguration ESDAODDPD contain persistent ConfigSvc IOVDbSvc IOV based P/T conv. EDM P/T convertion Unpacking Dec. + Nav. TrigDecisionFeature Nav.Configuration Upon Request Transient:

 The standard user interface to trigger data for physics analysis  Major change from release to:  Provide new functionality  Simplify the API  Increase robustness  Allow easy use in both Athena and ARA  See last tutorial for old version (<15.2.0)   The two versions coexist in Athena for now (old one won’t be supported for long)  In different namespaces: old TrigDec::/ new Trig:: and TrigDefs::  Documentation:  Wiki:  Examples: Trigger/TrigAnalysis/TrigAnalysisExamples  The standard user interface to trigger data for physics analysis  Major change from release to:  Provide new functionality  Simplify the API  Increase robustness  Allow easy use in both Athena and ARA  See last tutorial for old version (<15.2.0)   The two versions coexist in Athena for now (old one won’t be supported for long)  In different namespaces: old TrigDec::/ new Trig:: and TrigDefs::  Documentation:  Wiki:  Examples: Trigger/TrigAnalysis/TrigAnalysisExamples ATLAS Software Tutorial - Trigger Data9

1. ToolHandle to a TrigDecisionTool in your algorithm header 2. Initialize ToolHandle in constructor as public tool 3. Retrieve tool in initialization 4. Use tool in execute() 1. ToolHandle to a TrigDecisionTool in your algorithm header 2. Initialize ToolHandle in constructor as public tool 3. Retrieve tool in initialization 4. Use tool in execute() ATLAS Software Tutorial - Trigger Data10 private: ToolHandle m_trigDec; private: ToolHandle m_trigDec; MyAlgo::MyAlgo(const std::string &name, …) : m_trigDec("Trig::TrigDecisionTool/TrigDecisionTool”) { declareProperty("TrigDecisionTool", m_trigDec, \ ”The tool to access TrigDecision”); } MyAlgo::MyAlgo(const std::string &name, …) : m_trigDec("Trig::TrigDecisionTool/TrigDecisionTool”) { declareProperty("TrigDecisionTool", m_trigDec, \ ”The tool to access TrigDecision”); } StatusCode sc = m_trigDec.retrieve(); (*m_log) << MSG::INFO << "L2_mu.* passed/failed: " isPassed("L2_mu.*") << endreq; (*m_log) << MSG::INFO << "L2_mu.* passed/failed: " isPassed("L2_mu.*") << endreq;

 Important concept in the new tool: ChainGroup  They work as an OR of triggers  Created from a vector of trigger names, comma- separated list or regular expressions:  const ChainGroup* getChainGroup(const string& names)  Can be used e.g. to get pass/fail information:  Can be created on the fly:   Important concept in the new tool: ChainGroup  They work as an OR of triggers  Created from a vector of trigger names, comma- separated list or regular expressions:  const ChainGroup* getChainGroup(const string& names)  Can be used e.g. to get pass/fail information:  Can be created on the fly:  ATLAS Software Tutorial - Trigger Data11

 Use chains or chain groups to access trigger features produced by each trigger/group  FeatureContainer gives access to Trigger Elements and trigger objects for simple or complex triggers  Combinations allows to retrieve e.g. combinations of objects satisfying combined triggers like EF_tau16_2j23  Use chains or chain groups to access trigger features produced by each trigger/group  FeatureContainer gives access to Trigger Elements and trigger objects for simple or complex triggers  Combinations allows to retrieve e.g. combinations of objects satisfying combined triggers like EF_tau16_2j23 ATLAS Software Tutorial - Trigger Data12 FeatureContainer f = m_trigDec->features(“L2_e15”); FeatureContainer::combination_const_iterator it; for (it = f.getCombinations().begin(); it != f.getCombinations().end(); ++it) { std::vector > initRois = cIt->get ("initialRoI"); }

 Needed for producing custom DPDs (e.g. Physics DPDs or user DPDs)  Feature Removal – remove objects according to type and FEX  Pruning – remove entire RoIs (see example above)  Squeezing – compress navigation information (no information loss)  Slimming – remove chains belonging to groups or streams  More info in:  Needed for producing custom DPDs (e.g. Physics DPDs or user DPDs)  Feature Removal – remove objects according to type and FEX  Pruning – remove entire RoIs (see example above)  Squeezing – compress navigation information (no information loss)  Slimming – remove chains belonging to groups or streams  More info in: ATLAS Software Tutorial - Trigger Data13

 Run-summary page: trigger chains, prescales, rates – web based  Query single run  AtlCoolTrigger.py: same, but command line  Views many runs  TriggerTool: Java based GUI to browse the TriggerDB (replica) for all information  as web front-end to TriggerTool and AtlCoolTrigger.py  Run-summary page: trigger chains, prescales, rates – web based  Query single run  AtlCoolTrigger.py: same, but command line  Views many runs  TriggerTool: Java based GUI to browse the TriggerDB (replica) for all information  as web front-end to TriggerTool and AtlCoolTrigger.py ATLAS Software Tutorial - Trigger Data14

 Triger Menu and L1 rates stored in COOL, HLT rates coming. Quick access via  Run summary pages (WEB based)  db-runlist/query.html db-runlist/query.html ▪ Trigger names, rates  AtlCoolTrigger.py (command line tool) ▪ AtlCoolTrigger –r 91000‐99000 (many run summary) ▪ AtlCoolTrigger –v –m –r (single run menu) ▪ Prints keys, trigger menus, streams, allows diff‐ing of menus in different runs  Triger Menu and L1 rates stored in COOL, HLT rates coming. Quick access via  Run summary pages (WEB based)  db-runlist/query.html db-runlist/query.html ▪ Trigger names, rates  AtlCoolTrigger.py (command line tool) ▪ AtlCoolTrigger –r 91000‐99000 (many run summary) ▪ AtlCoolTrigger –v –m –r (single run menu) ▪ Prints keys, trigger menus, streams, allows diff‐ing of menus in different runs ATLAS Software Tutorial - Trigger Data15

 Java based front end to TriggerDB, launch from the web (Java web-start):  Overview of all trigger configurations  Detailed and convenient investigation of trigger menus ▪ Trigger definition L1->L2->EF: prescales, threshold algorithms, selection criteria, streaming information, etc.  Possibility to compare different trigger configurations  Java based front end to TriggerDB, launch from the web (Java web-start):  Overview of all trigger configurations  Detailed and convenient investigation of trigger menus ▪ Trigger definition L1->L2->EF: prescales, threshold algorithms, selection criteria, streaming information, etc.  Possibility to compare different trigger configurations ATLAS Software Tutorial - Trigger Data16

 Web interface  Runs TriggerTool on the server, result presented as dynamic html pages  Web interface  Runs TriggerTool on the server, result presented as dynamic html pages ATLAS Software Tutorial - Trigger Data17 1. Search run-range 2. Run list 3. Trigger configuration (browsable) (definition, algorithms, selection cuts) Also with simple comparison functionality

 checkTrigger.py AOD.pool.root  Runs over ESD/AOD/DPD and presents detailed (chain‐wise) counts of the trigger decision  checkTriggerConfig.py ‐d AOD.pool.root  Runs over ESD/AOD/DPD and presents detailed trigger configuration(s) in the file  Shows multiple configurations, in DPD possible/likely  checkTrigger.py AOD.pool.root  Runs over ESD/AOD/DPD and presents detailed (chain‐wise) counts of the trigger decision  checkTriggerConfig.py ‐d AOD.pool.root  Runs over ESD/AOD/DPD and presents detailed trigger configuration(s) in the file  Shows multiple configurations, in DPD possible/likely ATLAS Software Tutorial - Trigger Data18

ATLAS Software Tutorial - Trigger Data19 General Trigger info: Tutorials: Trigger Event Data Model (EDM) : TrigDecisionTool – all releases/versions: Twiki: Athena examples: TrigAnalysisExamples package: TrigDecisionChecker (pre-15.X.0 for the moment): atlas.cgi/offline/Trigger/TrigValidation/TrigValAlgs/TrigValAlgs/TrigDecisionChecker.h?revision=1.2&view=markup atlas.cgi/offline/Trigger/TrigValidation/TrigValAlgs/TrigValAlgs/TrigDecisionChecker.h?revision=1.2&view=markup ARA example: ARA: Trigger Configuration: Run summary pages: (include link to start up the TriggerTool) Trigger information slimming: TriggerMenu working group: Help! Hypernews forum 9/6/2009