TRIGGER-AWARE ANALYSIS TUTORIAL ARTEMIS Workshop – Pisa – 18...

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

of 19

  • date post

    12-Jan-2016
  • Category

    Documents

  • view

    214
  • download

    0

Embed Size (px)

Transcript of TRIGGER-AWARE ANALYSIS TUTORIAL ARTEMIS Workshop – Pisa – 18...

  • TRIGGER-AWARE ANALYSIS TUTORIALARTEMIS Workshop Pisa 18th to 19th June 2009Alessandro Cerri (CERN), Ricardo Gonalo Royal Holloway

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

  • ARTEMIS - Pisa, June 2009 - Trigger TutorialfeaturesT.E.passed e/ triggerdecision

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

  • Trigger configuation:L1 Items: Name, version, CTP-Id, prescaleHLT Chains: Name, version, level, counter, prescaleStreams: Chains feeding into each streamChain-groups: Chains belonging to each groupBunch-groups: Name of each of the 8 BG

    Trigger objects (features)Data objects:L2 has its own EDM: TrigTau, TrigInDetTrack, TrigEMClusterEvent Filter uses mostly offline EDMCaloCluster, egamma, TrackParticleNavigation links: TriggerElementsARTEMIS - Pisa, June 2009 - Trigger Tutorial

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

  • ARTEMIS - Pisa, June 2009 - Trigger Tutorial

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

  • ARTEMIS - Pisa, June 2009 - Trigger TutorialIOV based P/T conv.EDM P/TconvertionUnpackingDec. + Nav.Transient:

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

  • ToolHandle to a TrigDecisionTool in your algorithm header

    Initialize ToolHandle in constructor as public tool

    Retrieve tool in initialization

    Use tool in execute()

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

  • Important concept in the new tool: ChainGroupThey work as an OR of triggersCreated 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 2009 - Trigger Tutorial

    ARTEMIS - Pisa, June 2009 - 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() constvector getListOfGroups() constvector 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 2009 - Trigger Tutorial

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

  • Use chains or chain groups to access trigger features produced by each trigger/groupFeatureContainer 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 2009 - Trigger TutorialFeatureContainer f = m_trigDec->features(L2_e15);FeatureContainer::combination_const_iterator it;

    for (it = f.getCombinations().begin(); it != f.getCombinations().end(); ++it) {std::vector< Feature > initRois = cIt->get("initialRoI");}

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

  • ARTEMIS - Pisa, June 2009 - Trigger Tutorial

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

  • Run-summary page: trigger chains, prescales, rates web basedQuery single run

    AtlCoolTrigger.py: same, but command lineViews many runs

    TriggerTool: Java based GUI to browse the TriggerDB (replica) for all information

    http://trigconf.cern.ch as web front-end to TriggerTool and AtlCoolTrigger.pyARTEMIS - Pisa, June 2009 - Trigger Tutorial

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

  • Java based front end to TriggerDB, launch from the web (Java web-start): http://www.cern.ch/triggertoolOverview of all trigger configurationsDetailed and convenient investigation of trigger menusTrigger definition L1->L2->EF: prescales, threshold algorithms, selection criteria, streaming information, etc.

    Possibility to compare different trigger configurations

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

  • Web interface http://trigconf.cern.ch Runs TriggerTool on the server, result presented as dynamic html pages

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial1. Search run-range2. Run list3. Trigger configuration (browsable) (definition, algorithms, selection cuts)Also with simple comparison functionality

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

  • checkTrigger.py AOD.pool.rootRuns over ESD/AOD/DPD and presents detailed (chainwise) counts of the trigger decision

    checkTriggerConfig.py d AOD.pool.rootRuns over ESD/AOD/DPD and presents detailed trigger configuration(s) in the fileShows multiple configurations, in DPD possible/likely

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

  • Triger Menu and L1 rates stored in COOL, HLT rates coming. Quick access via

    Run summary pages (WEB based)http://atlas-service-db-runlist.web.cern.ch/atlas-service-db-runlist/query.html Trigger names, rates

    AtlCoolTrigger.py (command line tool)AtlCoolTrigger r 9100099000 (many run summary)AtlCoolTrigger v m r 90272 (single run menu)Prints keys, trigger menus, streams, allows diffing of menus in different runs

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

  • ARTEMIS - Pisa, June 2009 - Trigger TutorialGeneral Trigger info: https://twiki.cern.ch/twiki/bin/view/Atlas/TriggerUserPages

    Tutorials: https://twiki.cern.ch/twiki/bin/view/Atlas/TriggerSoftwareTutorialPage

    Trigger Event Data Model (EDM) : https://twiki.cern.ch/twiki/bin/view/Atlas/TriggerEDM

    TrigDecisionTool all releases/versions:Twiki: https://twiki.cern.ch/twiki/bin/view/Atlas/TrigDecisionTool

    Athena examples:TrigAnalysisExamples package:http://atlas-computing.web.cern.ch/atlas-computing/links/nightlyDevDirectory/AtlasOffline/latest_doxygen/InstallArea/doc//TrigAnalysisExamples/html/ TrigDecisionChecker (pre-15.X.0 for the moment): http://atlas-sw.cern.ch/cgi-bin/viewcvs-atlas.cgi/offline/Trigger/TrigValidation/TrigValAlgs/TrigValAlgs/TrigDecisionChecker.h?revision=1.2&view=markup

    ARA example:ARA: https://twiki.cern.ch/twiki/bin/view/Atlas/TriggerARA14

    Trigger Configuration: https://twiki.cern.ch/twiki/bin/view/Atlas/TriggerConfiguration?topic=TrigDecisionToolRun summary pages: http://atlas-service-db-runlist.web.cern.ch/atlas-service-db-runlist/query.html(include link to start up the TriggerTool)

    Trigger information slimming: https://twiki.cern.ch/twiki/bin/view/Atlas/HLTTrigNavigationSlimming

    TriggerMenu working group: https://twiki.cern.ch/twiki/bin/view/Atlas/TriggerPhysicsMenu

    Help! Hypernews forum hn-atlas-TriggerHelp@cern.ch

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

  • ARTEMIS - Pisa, June 2009 - Trigger Tutorial

    ARTEMIS - Pisa, June 2009 - 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 runsImportant for analysis on DPD, where multiple runs are merged

    Prescales at LVL1 or at HLT can change between luminosity blocksA negative prescale means that this trigger is off. This is important for calculating the integrated luminosity

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial

  • ARTEMIS - Pisa, June 2009 - Trigger TutorialESDAODTAGConfiguresStoresdecoded Trigger Menu DPDWith decreasing amount of detail

    ARTEMIS - Pisa, June 2009 - Trigger Tutorial