The New TrigDecision Nicolas Berger, Till Eifert, Ricardo Gonçalo Physics Analysis Tools session ATLAS Software Workshop – Munich, March 2007.

Slides:



Advertisements
Similar presentations
TriggerDecision Trigger AOD discussion 13 December 2006 Ricardo Gonçalo - RHUL.
Advertisements

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.
TriggerDecision update PESA-Algorithms – 16 November 2006 Status in rel nightlies Next steps for TriggerDecision Other random bits of news Ricardo.
The ATLAS High Level Trigger Steering Journée de réflexion – Sept. 14 th 2007 Till Eifert DPNC – ATLAS group.
New muon EF trigger with offline supertools Sergio Grancagnolo INFN Lecce & Salento University.
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!
Trigger Software Validation Olga Igonkina (U.Oregon), Ricardo Gonçalo (RHUL) TAPM Open Meeting – Mar. 1, 2007 Outline: Status of infrastructure Schedule.
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)
The Pixel Detector ByteStream Converter M.Cobal (1), L. Santi (2) (1) University of Udine and INFN Trieste, Italy (2) University of Trieste and INFN Trieste,
Algorithm / Data-flow Interface
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.
Conditions DB in LHCb LCG Conditions DB Workshop 8-9 December 2003 P. Mato / CERN.
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.
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?
The Region of Interest Strategy for the ATLAS Second Level Trigger
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.
1 Michela Biglietti (Universita’ di Napoli-Federico II) Gabriella Cataldi (INFN Lecce) and the HLT.
ALICE, ATLAS, CMS & LHCb joint workshop on
Level 2 ID-tracking truth association Trigger AOD discussion 13 December 2006 Ricardo Gonçalo - RHUL.
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 input to FFReq 1. Specific Issues for Trigger The HLT trigger reconstruction is a bit different from the offline reconstruction: – The trigger.
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,
Dual-use prototype for analysis tools David Adams BNL October 16, 2013 ASG tools working group.
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.
A university for the world real R © 2009, Chapter 9 The Runtime Environment Michael Adams.
3rd November Richard Hawkings Luminosity, detector status and trigger - conditions database and meta-data issues  How we might apply the conditions.
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.
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.
Conditions Metadata for TAGs Elizabeth Gallas, (Ryan Buckingham, Jeff Tseng) - Oxford ATLAS Software & Computing Workshop CERN – April 19-23, 2010.
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,
Overlap Removal and Timing Optimization Studies Nicole Carlson, Northwestern University 8/8/07 Supervisor: Tomasz Bold.
PESAsim – the e/  analysis framework Validation of the framework First look at a trigger menu combining several signatures Short-term plans Mark Sutton.
9/12/99R. Moore1 Level 2 Trigger Software Interface R. Moore, Michigan State University.
Trigger Validation Olga Igonkina (U.Oregon), Ricardo Gonçalo (RHUL) on behalf of trigger community Physics Validation Meeting – Feb. 13, 2007.
4/9/2007RPC converter1/18 RPC bytestream converter: Brainstorming a summary of discussions involving M.Bianco, G.Cataldi, G.Chiodini, E.Gorini, A.Guida,
Bologna Tutorial, April Job Options and Printing.
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.
ATLAS-specific functionality in Ganga - Requirements for distributed analysis - ATLAS considerations - DIAL submission from Ganga - Graphical interfaces.
Level 2 ID-tracking truth association How it works Information in POOL How to use it.
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.
27 March 2003RD Schaffer & C. Arnault CHEP031 Use of a Generic Identification Scheme Connecting Events and Detector Description in Atlas  Authors: C.
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)
UPDATE First Look at Trigger Efficiencies from AOD for ttH, H  bb Catrin Bernius UCL ATLAS Physics Meeting
POOL Based CMS Framework Bill Tanenbaum US-CMS/Fermilab 04/June/2003.
N ATIONAL E NERGY R ESEARCH S CIENTIFIC C OMPUTING C ENTER Charles Leggett Transient Conditions/Detector Store using StoreGate ATLAS Software Workshop.
Trigger Data for Analysis
“Algorithm Tools” what they are, how to get them and how to use them
Presentation transcript:

The New TrigDecision Nicolas Berger, Till Eifert, Ricardo Gonçalo Physics Analysis Tools session ATLAS Software Workshop – Munich, March 2007

27 Mar 07Ricardo Goncalo - new TrigDecision2 The old TriggerDecision Up to : TrigSteeringEvent/TriggerDecision Caters for needs of most physics analyses Good reception from physics-analysis users Simple interface Self-contained object (simple map for each level) Overloads event with configuration information (simple map for each level; signature same for all run) Slightly clunky in trigger re-run from POOL AOD: More than one TriggerDecision object per event retrieved “by hand” No access to trigger EDM objects or prescale information

27 Mar 07Ricardo Goncalo - new TrigDecision3 The new TrigDecision In 13.x.x new TrigEvent/TrigDecision package Provides functionality of old TriggerDecision Designed to work with new Steering Provides more functionality: Access to configuration: LVL1CTP::Lvl1Items, HLT::Chains, HLT::Signature, prescale factors Access to trigger objects through Navigation: triggerElements and features (tracks, TrigElectron, …) Configuration information stored per file/luminosity block, not per event Interface more complicated than before Working on implementing/simplifying accessors No longer a self-contained object Needs Tool to interpret it Tool configuration can be used to hide clunky retrieving of decision in trigger re-run

27 Mar 07Ricardo Goncalo - new TrigDecision4 TrigDecision transient object TrigDecision_p1 persistent object T/P converter TrigDecisionTool user interface TrigConfigSvcTrigDB / XML COOL AOD header ChainList 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 and store for every event. TrigConfigSvc provides common interface unpack Missing

27 Mar 07Ricardo Goncalo - new TrigDecision5 How to use it: example Instantiate TrigDecisionTool: this will “point” at a certain TrigDecision transient object – TrigDec::Last in the example (*) – to accommodate re-running the trigger on POOL files –IoVSvc used by TrigDecisionTool to point at the right TrigDecision object for each new event. Find if chain was satisfied (state) and what its prescale factor is (configuration) Retrieve feature for successful RoI (transparently through Navigation) –On first user call to some methods, the transient TrigDecision object unpacks and caches Navigation and Configuration using Steering tools. The TrigDecisionTool interprets this information. MyAlgorithm::initialize() { StatusCode sc = toolSvc()->retrieveTool(“TrigDecisionTool”, “TrigDecisionTool”, m_trgTool, TrigDec::Last); // (*)... MyAlgorithm::execute() { if (m_trgTool->isConfigured(“L2_e25i”) && m_trgTool->isPassed(“L2_e25i”) ) { // e.g. get prescale log << MSG::INFO << “Chain e25i satisfied at level 2; prescale factor=1/” getFullChainPrescaleFactor(“L2_e25i”) << endreq; // retrieve features from successful RoIs (*) const std::vector m_e_vector; StatusCode sc = m_trgDecTool->getPassFeatures( “L2_e25i”, m_e_vector);... (*) currently being implemented

27 Mar 07Ricardo Goncalo - new TrigDecision6 Summary and plans Trigger-user interface rewritten for new Steering Also need a self-contained form for use in SAN/pAOD: TrigDecisionSAN –Mimics TrigDecisionTool but is self-contained –Like old TriggerDecision but with TrigDecisionTool accessors Now compiling in nightlies; soon to be usable for tests –Some methods still missing –Accessors to cover most common use cases being written e.g. to retrieve all features of some class T using single method: this can use other accessor methods already in place –To be fully debugged in rel

TrigDecisionTool accessors 27 Mar 07Ricardo Goncalo - new TrigDecision7 bool isPassed(TrigLevel lvl); bool isPassed(TrigLevel lvl, unsigned int chain_counter); bool isPassed(std::string chain_name); bool isConfigured(TrigLevel lvl); bool isConfigured(TrigLevel lvl, unsigned int chain_counter); bool isConfigured(std::string chain_name); const LVL1CTP::Lvl1Item* getLvl1Item(unsigned int item_counter); const LVL1CTP::Lvl1Item* getLvl1Item(std::string item_name); const HLT::Chain* getHLTChain(TrigLevel lvl, unsigned int chain_counter); const HLT::Chain* getHLTChain(std::string chain_name); const std::vector & getConfiguredItems(); const std::vector & getConfiguredChains(TrigLevel lvl); int getFullChainPrescaleFactor(TrigLevel lvl, unsigned int chain_counter); int getFullChainPrescaleFactor(std::string chain_name); const HLT::Signature* getChainSignature(TrigLevel lvl, unsigned int chain_counter, int step = -1); const HLT::Signature* getChainSignature(std::string chain_name, int step = -1); const std::vector * getChainTEs(TrigLevel lvl, unsigned int chain_counter, int step = -1); const std::vector * getChainTEs(std::string chain_name, int step = -1); std::string getTELabel( const HLT::TriggerElement* te ) const; HLT::Navigation* getNavigation(); template HLT::ErrorCode getFeature(const HLT::TriggerElement* te, const T*& feature, cost std::string& label = ""); template HLT::ErrorCode getFeatures(const HLT::TriggerElement* te, std::vector & feature, const std::string& label = ""); bool isTriggerPassed(); NOT FINAL INTERFACE

27 Mar 07Ricardo Goncalo - new TrigDecision8 How to use it: example 2 Retrieve feature and look at eta phi …... MyAlgorithm::execute() { if ( m_trgTool->isConfigured( "tau25_xE30_L2“ ) ) { // retrieve handle to Trigger chain: const HLT::Chain* chain1 = m_trigDec->getHLTChain("tau25_xE30_L2“); // retrieve all TriggerElements (TE) of last step of chain (= -1) const std::vector * comb = m_trigDec->getChainTEs("tau25_xE30_L2“, -1); // loop over all TEs for (std::vector ::const_iterator te = comb->begin(); te != comb->end(); ++te) { // retrieve RoI descriptor feature attached to this TE std::vector rois; if (m_trigDec->getFeatures(*te, rois) != HLT::OK) continue; // print eta, phi for each RoI descriptor object for (std::vector ::const_iterator roi = rois.begin(); roi != rois.end(); ++roi) { log eta0() << ", phi: " phi0() << ") "; }...