Trigger Tools for Physics Analysis Some use cases Building a data sample Event by event analysis Input from across the Atlantic conclusions Thank you!

Slides:



Advertisements
Similar presentations
UK egamma meeting, Sept 22, 2005M. Wielers, RAL1 Status of Electron Triggers Rates/eff for different triggers Check on physics channels Crack region, comparison.
Advertisements

L2 chains for single-beam menu Muon full reconstruction T2Calo starting from MBTS Ricardo Gonçalo, Denis Damazio.
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.
Reconstruction and Analysis on Demand: A Success Story Christopher D. Jones Cornell University, USA.
Top Trigger Strategy in ATLASWorkshop on Top Physics, 18 Oct Patrick Ryan, MSU Top Trigger Strategy in ATLAS Workshop on Top Physics Grenoble.
TRIGGER DATA FOR PHYSICS ANALYSIS ATLAS Software Tutorial – 22 nd to 24 th April 2009 Ricardo Gonçalo – Royal Holloway.
L3 Filtering: status and plans D  Computing Review Meeting: 9 th May 2002 Terry Wyatt, on behalf of the L3 Algorithms group. For more details of current.
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-aware analysis Current status Under development What’s missing Conclusions & Outlook Ricardo Gonçalo (RHUL)
TRIGGER-AWARE ANALYSIS TUTORIAL ARTEMIS Workshop – Pisa – 18 th to 19 th June 2009 Alessandro Cerri (CERN), Ricardo Gonçalo – Royal Holloway.
News from the Beatenberg Trigger Workshop Ricardo Gonçalo - 18 February 2009 Higgs WG Meeting during ATLAS Week.
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.
Plans for Trigger Software Validation During Running Trigger Data Quality Assurance Workshop May 6, 2008 Ricardo Gonçalo, David Strom.
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?
Databases E. Leonardi, P. Valente. Conditions DB Conditions=Dynamic parameters non-event time-varying Conditions database (CondDB) General definition:
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.
G.Corti, P.Robbe LHCb Software Week - 19 June 2009 FSR in Gauss: Generator’s statistics - What type of object is going in the FSR ? - How are the objects.
Level 2 ID-tracking truth association Trigger AOD discussion 13 December 2006 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.
Full Dress Rehearsal (FDR1) studies Sarah Allwood-Spiers 11/3/2008.
Organisation of the Beatenberg Trigger Workshop Ricardo Gonçalo Higgs WG Meeting - 22 Jan.09.
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.
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.
September 2007CHEP 07 Conference 1 A software framework for Data Quality Monitoring in ATLAS S.Kolos, A.Corso-Radu University of California, Irvine, M.Hauschild.
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.
David Adams ATLAS DIAL: Distributed Interactive Analysis of Large datasets David Adams BNL August 5, 2002 BNL OMEGA talk.
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,
A New Tool For Measuring Detector Performance in ATLAS ● Arno Straessner – TU Dresden Matthias Schott – CERN on behalf of the ATLAS Collaboration Computing.
PESAsim – the e/  analysis framework Validation of the framework First look at a trigger menu combining several signatures Short-term plans Mark Sutton.
Integration of the ATLAS Tag Database with Data Management and Analysis Components Caitriana Nicholson University of Glasgow 3 rd September 2007 CHEP,
W/Z Plan For Winter Conferences Tom Diehl Saclay 12/2001.
Update on Diffractive Dijet Production Search Hardeep Bansil University of Birmingham Birmingham ATLAS Weekly Meeting 24/01/2013.
Trigger Validation Olga Igonkina (U.Oregon), Ricardo Gonçalo (RHUL) on behalf of trigger community Physics Validation Meeting – Feb. 13, 2007.
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 ATLAS TAGs Database - Experiences and further developments Elisabeth Vinek, CERN & University of Vienna on behalf of the TAGs developers group.
Trigger Offline Monitoring Report Experts: Jiri Masik, Ricardo Gonçalo Shifters: Iwona Grabowska-Bold, Holger von Radziewski, Gustavo Otero y Garzon, Michael.
Issues with cluster calibration + selection cuts for TrigEgamma note Hardeep Bansil University of Birmingham Birmingham ATLAS Weekly Meeting 12/08/2010.
Level 2 ID-tracking truth association How it works Information in POOL How to use it.
Performance DPDs and trigger commissioning Preparing input to DPD task force.
INFSO-RI Enabling Grids for E-sciencE Using of GANGA interface for Athena applications A. Zalite / PNPI.
Trigger Input to First-Year Analysis Model Working Group And some soul searching… Trigger Open Meeting – 29 July 2009.
E/gamma report Ricardo Gonçalo for the e/γ slice.
L1Calo EM Efficiencies Hardeep Bansil University of Birmingham L1Calo Joint Meeting, Stockholm 29/06/2011.
Trigger study on photon slice Yuan Li Feb 27 th, 2009 LPNHE ATLAS group meeting.
10 January 2008Neil Collins - University of Birmingham 1 Tau Trigger Performance Neil Collins ATLAS UK Physics Meeting Thursday 10 th January 2008.
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.
Electron Identification Efficiency from Z→ee Maria Fiascaris University of Oxford In collaboration with Tony Weidberg and Lucia di Ciaccio ATLAS UK SM.
L1Calo EM Efficiency Maps Hardeep Bansil University of Birmingham L1Calo Weekly Meeting 07/03/2011.
Extrapolation Techniques  Four different techniques have been used to extrapolate near detector data to the far detector to predict the neutrino energy.
ATLAS Group Introduction + TriggerMasahiro Morii20’ Muon Spectrometer + Upgrades João Guimarães da Costa25’ Cosmic Ray AnalysisAlberto Belloni20’ Physics.
ATLAS Physics Analysis Framework James R. Catmore Lancaster University.
UPDATE First Look at Trigger Efficiencies from AOD for ttH, H  bb Catrin Bernius UCL ATLAS Physics Meeting
Introduction 08/11/2007 Higgs WG – Trigger meeting Ricardo Gonçalo, RHUL.
ATLAS UK physics meeting, 10/01/08 1 Triggers for B physics Julie Kirk RAL Overview of B trigger strategy Algorithms – current status and plans Menus Efficiencies.
Metadata and Supporting Tools on Day One David Malon Argonne National Laboratory Argonne ATLAS Analysis Jamboree Chicago, Illinois 22 May 2009.
ATLAS Distributed Computing Tutorial Tags: What, Why, When, Where and How? Mike Kenyon University of Glasgow.
L1Calo Databases ● Overview ● Trigger Configuration DB ● L1Calo OKS Database ● L1Calo COOL Database ● ACE Murrough Landon 16 June 2008.
THIS MORNING (Start an) informal discussion to -Clearly identify all open issues, categorize them and build an action plan -Possibly identify (new) contributing.
Monitoring of L1Calo EM Efficiencies
CMS High Level Trigger Configuration Management
ALICE analysis preservation
Presentation transcript:

Trigger Tools for Physics Analysis Some use cases Building a data sample Event by event analysis Input from across the Atlantic conclusions Thank you! Michael Begel, Gustaaf Brooijmans, Tomasz Bold, Till Eifert, Sinead Farringdon, Teresa Fonseca, Simon George, Rasmus Mackeprang, Srini Rajagopalan, Joerg Stelzer, et al.

USE CASES Data selection and normalization Tag and probe Trigger efficiency correction Menu for Monte Carlo generation Ricardo Gonçalo2Trigger Workshop Beatenberg Feb.09

Selecting and normalising a data set Analysis may rely on a specific trigger or group of triggers (OR) to select events Trigger decision used to stream events Tag database can be used to build up dataset based on trigger decision Normalising a dataset: – Need to either take the trigger efficiency into account – Or guarantee that the trigger efficiency with respect to the offline selection is ≈100% – Efficiency of prescaled trigger needs further correction – Prescale factor may change frequently – constant for each luminosity block too frequent changes should probably be limited, at least in the beginning – The situation becomes more complicated for an OR of several prescaled triggers… – Similar issues in other experiments, but with prescale periods longer than luminosity blocks Ricardo Gonçalo3Trigger Workshop Beatenberg Feb.09

Tag and probe Tag & Probe: Selected events with single- lepton trigger Offline: select Z->l + l - events – Reconstruct >=2 leptons – Apply m Z and fiducial cuts etc Match one of the 2 leptons with a trigger lepton passing single trigger Search for second matching trigger lepton Count successes in 2 nd matching 4 MZMZ MZMZ e20i Need to be able to match offline objects with online objects: Minimal info needed is RoI η and φ Better matching would need trigger objects (muon hits, perigee, etc) Ricardo GonçaloTrigger Workshop Beatenberg Feb.09

Another example (artificial?... not so much) Ricardo Gonçalo Trigger Workshop Beatenberg Feb.095 μ Χ 2 0 cross section: – σ = (N obs -N bkg )/(A ε trig ε off L) – Trigger and offline muon efficiency determined per initial muon (tag&probe) – Select events with >= 2 μ to increase stats – Find μμ pair in one side of event and identify X 2 0 – Correct trigger efficiency ε trig for events with 3 muons Needs to match trigger and offline objects to avoid miscalculation

Trigger Navigation Ricardo Gonçalo6 Trigger event processing coded into navigation tree: chains, sequences, trigger elements – navigation is ‘snapshot’ of event at end of trigger processing Data produced during trigger processing (“features”) attached to nodes of navigation tree (“trigger elements”) Navigation tree and features stored in HLTResult objects (into ESD, AOD, DPD) Allows to “navigate” to data produced somewhere in trigger chain Trigger Workshop Beatenberg Feb.09

Menus for Monte Carlo generation Related issue: – What trigger menu to use when generating MC samples? What menu composition? What prescale set? For MC samples to be compared with data in store: – Menu composition determined by triggers active during running period – Prescale set: May be possible to determine an average prescale factor, p, for each trigger – Prescale per lumi block, p i, weighted according to integrated luminosity per block L i – Assumes instantaneous luminosity doesn’t change by a huge factor Otherwise need to divide sample into smaller chunks according to instantaneous luminosity? Ricardo Gonçalo7Trigger Workshop Beatenberg Feb.09

BUILDING A DATA SAMPLE Data quality Trigger configuration Luminosity and prescales Ricardo Gonçalo8Trigger Workshop Beatenberg Feb.09

Need to know… Data quality check: – Use data quality flags – Different analysis will need different parts of detector active and working well Configuration: necessary trigger/set of triggers active in the menu – Determines which stream to run on – And with convenient configuration – selection cuts consistent with offline analysis cuts – Efficiency (Is it adequate to the analysis? Object based/simulation?) – Prescale factors (Fixed? Changing?) Integrated luminosity: how much in selected runs? – To normalise distributions and compare with MC – To calculate cross sections Ricardo GonçaloTrigger Workshop Beatenberg Feb.099

Data quality flags Filled by online shifter, automatically by DQMF, verified by offline shifter – Stored in COOL per lumi block – Analysed in user analysis jobs, DPD making, etc Flags have several states – Red, Green, Yellow, Black, White Expected in trigger (ongoing): – one flag per slice – one flag per detector system – one for L1Calo, L1 muon Should be possible to run job on: Physics.egamma stream From run X to run Y Requiring e.g. Pixel, SCT and TRT >=yellow Ricardo GonçaloTrigger Workshop Beatenberg Feb.0910 Red: bad Green: good Yellow: partially bad, some channels missing, hole in calo, etc Black: disabled, not in partition White: in partition Grey: or blue, undefined, tried to check quality but couldn’t Red: bad Green: good Yellow: partially bad, some channels missing, hole in calo, etc Black: disabled, not in partition White: in partition Grey: or blue, undefined, tried to check quality but couldn’t

11 Configuration Data Flow TriggerDB All configuration data COOL Preparation Data taking Reconstruction/ Trigger aware analysis Trigger Result passed?, passed through?, prescaled?, last successful step in trigger execution? Trigger EDM Trigger objects for trigger selection studies Trigger Configuration Trigger names (version), prescales, pass throughs ESD AOD TAG Configures Stores decoded Trigger Menu Encoded trigger decision (trigger result from all 3 levels ) DPD With decreasing amount of detail Decoded Trigger Menu Data formats: Ricardo GonçaloTrigger Workshop Beatenberg Feb.09

Ricardo GonçaloTrigger Workshop Beatenberg Feb.0912 Examine runs, streams, DQ, trigger SMK, etc:

Ricardo GonçaloTrigger Workshop Beatenberg Feb.0913 Allows to browse the trigger menu used in that run Can now go down to the level of individual properties of e.g. Hypo algorithms

Ricardo GonçaloTrigger Workshop Beatenberg Feb.0914 Browse trigger configuration database: Allows to see the difference between 2 menus ✓ ✓

Ricardo Gonçalo Infrastructure for efficiency distribution See talks by Corrine Mills and Matthias Schott Can provide a common way to apply trigger efficiencies to user analyses  (p T, ,  …) (root files) DPD (four-vectors) Sample Selection Efficiency Measurement End User (evt. effs) DATABASE 15Trigger Workshop Beatenberg Feb.09

Lumi f r and dq em y+ and dq and tr e20i / sh dq pix,sct,em,til, lumi Ricardo Gonçalo16Trigger Workshop Beatenberg Feb.09 Fictional tool! Under development

f r and dq em y+ and dq and tr e10i / sh dq pix,sct,em,til, lumi Lumi (pb -1 ) pb -1 Ricardo Gonçalo17Trigger Workshop Beatenberg Feb.09 Fictional tool! Under development Should be able to accept groups of triggers to be OR’ed (but need to be careful with this feature) Should give the run’s integrated luminosity corrected by the prescale factor Perhaps it could also return the prescale factor weighted by luminosity

EVENT-BY-EVENT ANALYSIS TrigDecisionTool TriggerARA New TrigDecisionTool interface Ricardo GonçaloTrigger Workshop Beatenberg Feb.0918

TrigDecisionTool The TrigDecisionTool is our main interface to trigger data – Well known of the physics community by now – Allows to find pass/fail status of each trigger – Provides user interface to navigation Allows checking configuration information interactively Practicals: – Use isPhysicsPassed(), not isPassed() Excludes events passed only by passthrough factors – Can retrieve TrigElectronContainer, but not TrigElectrons – mostly an exception The TrigDecisionTool is our main interface to trigger data – Well known of the physics community by now – Allows to find pass/fail status of each trigger – Provides user interface to navigation Allows checking configuration information interactively Practicals: – Use isPhysicsPassed(), not isPassed() Excludes events passed only by passthrough factors – Can retrieve TrigElectronContainer, but not TrigElectrons – mostly an exception Ricardo Gonçalo19

TrigDecisionTool has a few problems: complexity, robustness, etc; not really a user-friendly tool – being re-written See: Separate tool to work in ARA – only Python, no c++ version (under development) See: and an example: atlas.cgi/groups/Arizona/ARATopAnalysis/src/TrigStudy.cxx?revision=1.1 &view=markuphttp://atlas-sw.cern.ch/cgi-bin/viewcvs- atlas.cgi/groups/Arizona/ARATopAnalysis/src/TrigStudy.cxx?revision=1.1 &view=markup New interface: TrigDecisionTool is being re-written as a dual-use tool – same usage in Athena and in ARA (M.Begel, C.Hensel) See: e e TrigDecisionTool has a few problems: complexity, robustness, etc; not really a user-friendly tool – being re-written See: Separate tool to work in ARA – only Python, no c++ version (under development) See: and an example: atlas.cgi/groups/Arizona/ARATopAnalysis/src/TrigStudy.cxx?revision=1.1 &view=markuphttp://atlas-sw.cern.ch/cgi-bin/viewcvs- atlas.cgi/groups/Arizona/ARATopAnalysis/src/TrigStudy.cxx?revision=1.1 &view=markup New interface: TrigDecisionTool is being re-written as a dual-use tool – same usage in Athena and in ARA (M.Begel, C.Hensel) See: e e std::vector vec_tauClust; errCode = m_trigDec->getPassFeatures("L2_tau16i”, vec_tauClust); if (errCode == HLT::OK) { std::vector ::const_iterator CI = vec_tauClust.begin(); for(;CI != vec_tauClust.end(); ++CI) { (*m_log) << MSG::INFO << "REGTEST ” <<" Energy in EB sampling 1: ” energy(CaloSampling::EMB1) energy(CaloSampling::EMB2) energy(CaloSampling::EMB3) <<endreq; } std::vector vec_tauClust; errCode = m_trigDec->getPassFeatures("L2_tau16i”, vec_tauClust); if (errCode == HLT::OK) { std::vector ::const_iterator CI = vec_tauClust.begin(); for(;CI != vec_tauClust.end(); ++CI) { (*m_log) << MSG::INFO << "REGTEST ” <<" Energy in EB sampling 1: ” energy(CaloSampling::EMB1) energy(CaloSampling::EMB2) energy(CaloSampling::EMB3) <<endreq; } Ricardo Gonçalo20

IDEAS FROM ACROSS THE SEA Information pages from D0 Ricardo Gonçalo21Trigger Workshop Beatenberg Feb.09

Ricardo Gonçalo22Trigger Workshop Beatenberg Feb.09

Ricardo Gonçalo23Trigger Workshop Beatenberg Feb.09

WHAT ELSE? The word on the grapevine Conclusions Ricardo Gonçalo24Trigger Workshop Beatenberg Feb.09

Last remarks With the 2009 run there will come the need to provide reliable and user-friendly tools to analyse trigger data – Part of this exists but hasn’t been stressed, and part is under development This workshop provided the physics groups with a good reason to re-visit their trigger studies, after the CSC exercise was finished – this should continue! What else is missing? (Lots of things for sure! Would be good to find them early!) – E.g. easier comparison between online and reconstruction quantities matching between online and offline objects? – What else? Ricardo GonçaloTrigger Workshop Beatenberg Feb.0925

2/3/2011: e22i_loose – L2 passthrough factor changed from 0 to 1k from run /1/2011: FCAL fixed – FJ triggers back into menu (from SMK ) 12/12/2010: new luminosity correction - new numbers in DB 11/12/2010: optimized cuts in all electron chains – from SMK T HE G RAPE V I NE B ROWSE R 20/9/2010: cuts optimized SMK /12/2010: optimized cuts SMK /3/2011: L2 passthrough update SMK e/gamma L2 L2_e10_loose Sep.09 Slice: Chain:Level:From: Latest: e10_loose Search: (powered by Google) Search * Cut calo gaps from eta=1.37 to 1.52, otherwise you’ll get wrong efficiency * e10i_loose changed dramatically in September 2010: check out your offline cuts * Cut calo gaps from eta=1.37 to 1.52, otherwise you’ll get wrong efficiency * e10i_loose changed dramatically in September 2010: check out your offline cuts Ricardo Gonçalo26Trigger Workshop Beatenberg Feb.09 Fictional tool! not planned… Fictional tool! not planned…

BACKUP SLIDES Ricardo Gonçalo27Trigger Workshop Beatenberg Feb.09

Ricardo Gonçalo28Trigger Workshop Beatenberg Feb.09

Notes… Ricardo Gonçalo29Trigger Workshop Beatenberg Feb.09

30 Ricardo Gonçalo Configuration Trigger configuration: – Active triggers – Their parameters – Prescale factors – Passthrough fractions – Consistent over three trigger levels Needed for: – Online running – Event simulation – Offline analysis Relational Database (TriggerDB) for online running – User interface (TriggerTool) – Browse trigger list (menu) through key – Read and write menu into XML format – Menu consistency checks After run, configuration becomes conditions data (Conditions Database) – For use in simulation & analysis

Viewing and Modifying a Menu L1 Items in menu L2 chains in menu EF chains in menu Record names Some useful statistics L1 Threshold Steps Input / Output Trigger Elements Algorithms Menu can be edited by clicking the object Ricardo Gonçalo31Trigger Workshop Beatenberg Feb.09

27 Mar 07Ricardo Goncalo - new TrigDecision32 TrigDecision transient object TrigDecision_p1 persistent object T/P converter TrigDecisionTool user interface TrigConfigSvcXML COOL AOD header Persistent object stored POOL Only contains CTPDecision and HLTResult Transient object On request by Tool, expands and caches Configuration and Navigation information TrigDecisionTool: user interface; unpacks and interprets TrigDecision through configuration info TrigConfigSvc Common interface to several configuration DB implementations Different configuration DB formats for different use cases: online, offline, AOD analysis Until configuration from DB is available, persistify list of chains into event header. TrigConfigSvc provides common interface unpack