TRIGGER-AWARE ANALYSIS TUTORIAL ARTEMIS Workshop – Pisa – 18 th to 19 th June 2009 Alessandro Cerri (CERN), Ricardo Gonçalo – Royal Holloway.

Slides:



Advertisements
Similar presentations
L2 chains for single-beam menu Muon full reconstruction T2Calo starting from MBTS Ricardo Gonçalo, Denis Damazio.
Advertisements

Sander Klous on behalf of the ATLAS Collaboration Real-Time May /5/20101.
Releases & validation Simon George & Ricardo Goncalo Royal Holloway University of London HLT UK – RAL – 13 July 2009.
Trigger Data Formats From CBNT to ESD and/or DPD June 11, 2008 Fabrizio Salvatore, Ricardo Gonçalo, RHUL.
The ATLAS High Level Trigger Steering Journée de réflexion – Sept. 14 th 2007 Till Eifert DPNC – ATLAS group.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
New muon EF trigger with offline supertools Sergio Grancagnolo INFN Lecce & Salento University.
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.
Using 3D-SURFER. Before you start 3D-Surfer can be accessed at For visualization.
TRIGGER DATA FOR PHYSICS ANALYSIS ATLAS Software Tutorial – 22 nd to 24 th April 2009 Ricardo Gonçalo – Royal Holloway.
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)
Trigger-aware analysis Current status Under development What’s missing Conclusions & Outlook Ricardo Gonçalo (RHUL)
Jeff LandgrafSTAR Trigger Workshop: Oct 21, 2002 Trigger Accounting for 2002.
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.
Claudia-Elisabeth Wulz Institute for High Energy Physics Vienna Level-1 Trigger Menu Working Group CERN, 9 November 2000 Global Trigger Overview.
CERN Tutorial, September Job Options and Printing.
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?
Darren Price – HLT B-trigger offline status report :: B-Physics meeting July 23 rd ‘08Page 1 HLT B-trigger offline monitoring status Darren Price, LANCASTER.
Trigger ESD/AOD Simon George (RHUL) Ricardo Goncalo (RHUL) Monika Wielers (RAL) Contributions from many people.
Ricardo GoncaloPESA Algorithms - 18/7/061 Level 2 e/  menu.
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.
Level 2 ID-tracking truth association Trigger AOD discussion 13 December 2006 Ricardo Gonçalo - RHUL.
Summary and feedback on trigger AODs Introduction Overview of trigger data in the AODs Trigger-aware analyses and feedback Outlook Ricardo Gonçalo (RHUL)
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.
Gaudi Framework Tutorial, April Algorithm Tools: what they are, how to write them, how to use them.
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,
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.
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.
WebFOCUS Magnify: Search Based Applications Dr. Rado Kotorov Technical Director of Strategic Product Management.
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.
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 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.
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.
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.
Status report for LVL2 e/  ESD/AOD Aims and constraints Tracking status Calorimetry status (Monika) Monika Wielers Ricardo Gonçalo.
Gaudi Framework Tutorial, Algorithm Tools: what they are and how to use them.
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)
Metadata and Supporting Tools on Day One David Malon Argonne National Laboratory Argonne ATLAS Analysis Jamboree Chicago, Illinois 22 May 2009.
L1Calo Databases ● Overview ● Trigger Configuration DB ● L1Calo OKS Database ● L1Calo COOL Database ● ACE Murrough Landon 16 June 2008.
Latest News & Other Issues
AOD example analysis Argonne Jamboree January 2010
Monitoring of L1Calo EM Efficiencies
Trigger Data for Analysis
Ricardo Gonçalo, RHUL BNL Analysis Jamboree – Aug. 6, 2007
z/Ware 2.0 Technical Overview
TriggerDB copy in TriggerTool
Presentation transcript:

TRIGGER-AWARE ANALYSIS TUTORIAL ARTEMIS Workshop – Pisa – 18 th to 19 th June 2009 Alessandro Cerri (CERN), Ricardo Gonçalo – Royal Holloway

ARTEMIS - Pisa, June Trigger Tutorial 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

 Trigger configuation:  L1 Items: ▪ Name, version, CTP-Id, prescale  HLT Chains: ▪ Name, version, level, counter, prescale  Streams: ▪ Chains feeding into each stream  Chain-groups: ▪ Chains belonging to each group  Bunch-groups: ▪ Name of each of the 8 BG  Trigger objects (“features”)  Data objects: ▪ L2 has it’s own EDM: ▪ TrigTau, TrigInDetTrack, TrigEMCluster ▪ Event Filter uses mostly offline EDM ▪ CaloCluster, egamma, TrackParticle  Navigation links: TriggerElements  Trigger configuation:  L1 Items: ▪ Name, version, CTP-Id, prescale  HLT Chains: ▪ Name, version, level, counter, prescale  Streams: ▪ Chains feeding into each stream  Chain-groups: ▪ Chains belonging to each group  Bunch-groups: ▪ Name of each of the 8 BG  Trigger objects (“features”)  Data objects: ▪ L2 has it’s own EDM: ▪ TrigTau, TrigInDetTrack, TrigEMCluster ▪ Event Filter uses mostly offline EDM ▪ CaloCluster, egamma, TrackParticle  Navigation links: TriggerElements ARTEMIS - Pisa, June Trigger Tutorial TrigEMCluster TrigInDetTrack CaloCluster egamma T.E.

ARTEMIS - Pisa, June Trigger Tutorial

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:

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() ARTEMIS - Pisa, June Trigger Tutorial 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:  ARTEMIS - Pisa, June Trigger Tutorial

 Each of the methods cbelow an also be accessed through the TrigDecisionTool instance: bool isPassed (condition=Physics) const ; const FeatureContainer features (condition=Physics) const float getPrescale (condition=Physics) const ; bool isPassedBits (condition=Physics) const ; vector getListOfTriggers() const vector getListOfStreams() const vector getListOfGroups() const vector > getListOfTriggerElements() const  A new ChainGroup will be created if necessary. For example: bool TrigDecisionTool::isPassed(const ChainGroup& chaingroup,condition=Physics) const bool TrigDecisionTool::isPassed(const string& names,condition=Physics) const  The conditions mask handles logical trigger conditions.  Each of the methods cbelow an also be accessed through the TrigDecisionTool instance: bool isPassed (condition=Physics) const ; const FeatureContainer features (condition=Physics) const float getPrescale (condition=Physics) const ; bool isPassedBits (condition=Physics) const ; vector getListOfTriggers() const vector getListOfStreams() const vector getListOfGroups() const vector > getListOfTriggerElements() const  A new ChainGroup will be created if necessary. For example: bool TrigDecisionTool::isPassed(const ChainGroup& chaingroup,condition=Physics) const bool TrigDecisionTool::isPassed(const string& names,condition=Physics) const  The conditions mask handles logical trigger conditions. ARTEMIS - Pisa, June Trigger Tutorial

 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 ARTEMIS - Pisa, June Trigger Tutorial 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"); }

ARTEMIS - Pisa, June Trigger Tutorial

 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 ARTEMIS - Pisa, June Trigger Tutorial

 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 ARTEMIS - Pisa, June Trigger Tutorial

 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 ARTEMIS - Pisa, June Trigger Tutorial 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 ARTEMIS - Pisa, June Trigger Tutorial

 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 ARTEMIS - Pisa, June Trigger Tutorial

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

ARTEMIS - Pisa, June Trigger Tutorial

 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 ARTEMIS - Pisa, June Trigger Tutorial

ESD AOD TAG Configures Stores decoded Trigger Menu DPD With decreasing amount of detail