user guide to trigger/prescale information in coma runbrowserreport elizabeth gallas - oxford...

21
User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Upload: randall-ford

Post on 18-Jan-2018

220 views

Category:

Documents


0 download

DESCRIPTION

Dec 2010Elizabeth Gallas - COMA / RunBrowser3 COMA Database: General Principles Conditions Metadata  Data is uploaded from best available sources  Mostly Conditions DB, Trigger DB, but also other sources  Into a Relational Database to which ELSSI has easy access Must provide information ELSSI needs to decode TAG attributes (data/MC) Include information for both Online and MC Runs  TAGs for Online/MC have the same attributes (no MC truth)  Catalogue for Online/MC reflects similar processing workflows Upload select conditions for Runs of ‘analysis interest’  Note: NOT all Runs and not all Conditions  Only upload Conditions in LOCKED COOL tags (w/cross checks) Refine/Correct/Derive conditions to form more effective criteria !  Information not available in other systems Systems now using/integrating COMA information:  RunBrowser interfaces (runBrowser and runBrowserReport)  ELSSI (the TAG DB Browser)  TAG services (command line use of TAG files)  TAG Catalogue  AMI

TRANSCRIPT

Page 1: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

User Guide to Trigger/Prescale information in

COMA runBrowserReport

Elizabeth Gallas - Oxford

December, 2010

Page 2: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 2

What is COMA ?COMA is a short name for the ATLAS “COnditions MetadatA” project:

part of a general effort to consolidate/relate ATLAS Metadata.

3 Components of COnditions MetadatA (COMA) project:1. COMA Database Tables

A collection of selected/derived Run/LB-wise Conditions Originally, built to support dynamic queries of TAG DB Now, also a standalone system with interfaces (below)

2. runBrowserReport - report interface for COMA Tables COMA Run reports available for some time New COMA Reports contain more trigger/prescale info

Useful to experts as well as general users

3. runBrowser – interface for finding Run/LB of interest runBrowser is another related interface in development Ryan Buckingham – main developer of runBrowser runBrowser is not covered in this presentation but feedback on desired trigger related selection criteria is welcome

These slides: Focus on trigger/prescale related info in runBrowserReportCaveatsLinks and DocumentationSummary

Page 3: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 3

COMA Database: General PrinciplesConditions Metadata

Data is uploaded from best available sources Mostly Conditions DB, Trigger DB, but also other sources

Into a Relational Database to which ELSSI has easy accessMust provide information ELSSI needs to decode TAG attributes (data/MC)Include information for both Online and MC Runs

TAGs for Online/MC have the same attributes (no MC truth) Catalogue for Online/MC reflects similar processing workflows

Upload select conditions for Runs of ‘analysis interest’ Note: NOT all Runs and not all Conditions Only upload Conditions in LOCKED COOL tags (w/cross checks)

Refine/Correct/Derive conditions to form more effective criteria ! Information not available in other systems

Systems now using/integrating COMA information: RunBrowser interfaces (runBrowser and runBrowserReport) ELSSI (the TAG DB Browser) TAG services (command line use of TAG files) TAG Catalogue AMI

Page 4: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 4

runBrowserReport: General PrinciplesrunBrowserReport Purpose: Report interface for COMA

Display what COMA knows about Runs Useful for experts/users (also for COMA loading and cross checks)

Provide links to more detailed information (in other systems) runQuery, AMI, Trigger, Data Quality …reports using COOLCherryPy

Provide reports distinctive from other systems (Avoid duplication of effort) Display COMA ‘derived’ information

Not available in other systems runBrowserReport php uses GET methods:

Inputs are not complex, user can modify URL to get report they want, put links into TWiki or other documentation

https://atlas-tagservices.cern.ch/RBR/runBrowserReport.php?runs=161562

Currently: ELSSI and runBrowser generate links to runBrowserReports for selections in those systems … links in AMI this week

Page 5: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 5

Some COMA “derived” prescale quantities“Aggregate Prescale”: LB Range-wise: TRIG_AGG_PS.AGG_PS

AGG_PS = L1 * L2 * EF prescales, when all trigger levels are active

(prescale >= 0). AGG_PS = -1

when any level PS <0 Run-wise: RUN_AGG_PS.MIN_PS, MAX_PS

MIN_PS = MIN (AGG_PS), MAX_PS = MAX(AGG_PS)Of all AGG_PS >=1

MIN_PS = MAX_PS = -1, When all AGG_PS < 1 over the Run.

FLAGS: Prescale, PassThrough, Rerun (3 modes chains can be ‘active’): PS_FLAG (at the Run level)

-1 / 0 / 1 chain active via prescale for none / part / all of Run. PT_FLAG (at LB Range and Run level)

0 / 1 / 2 / 3 no PT / PT at L2 and EF / PT at L2 / PT at EF. RR_FLAG (at the Run level)

-1 / 0 / 1 indicates if the chain Never / Sometimes / Always can be RERUN during the Run (online).

For each •Signature•LB range in ps evolution

AGG_PSPT_FLAG

For each•Signature•Run

MIN_PSMAX_PSPS_FLAGPT_FLAGRR_FLAG

Page 6: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 6

COMA runBrowserReport Index page INDEX: https://atlas-tagservices.cern.ch/RBR/runBrowserReport.html GUIDE: https://atlas-tagservices.cern.ch/RBR/rBR_Documentation.html

“Index” page: Enter any input quantity,

IE: a Run number IE: a Chain Name

Click on submit (or return key)

Links at bottom of every page:

RBR reports use “GET” methods:Modify the URL to change input

RBR reports contain linksNo need to use index page for

every queryLinks lead you to

other COMA reports other external reportsAMI, runQuery, TriggerDB…

Bottom of each page

Page 7: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 7

runBrowserReport: Reports available (example links)RBR Run Report (Run 161562):https://atlas-tagservices.cern.ch/RBR/runBrowserReport.php?runs=161562

General Run information, AMI tags, DQ, Prescale Evolution, Triggers Trigger tables show derived Run-integrated prescale, passthrough

RBR Master Key Report (Key 877):https://atlas-tagservices.cern.ch/RBR/runBrowserReport.php?smk=877

Runs using this SMK, physics/commissioning chains, Level 1 itemsRBR Chain Report (Chain EF_g11_etcut):https://atlas-tagservices.cern.ch/RBR/runBrowserReport.php?cn=EF_g11_etcut

Summary: SMK, Runs, Signature appearances of this chain Runs with this chain ‘active’

RBR Chain Wildcard Report (chain name matching string EF_g1%):https://atlas-tagservices.cern.ch/RBR/runBrowserReport.php?cn=EF_g1%

Summary: SMK,Runs with this chain, activation in RunsRBR Prescale Report (Run 162882 Prescales for chain EF_g11_etcut):https://atlas-tagservices.cern.ch/RBR/runBrowserReport.php?runs=162882&cn=EF_g11_etcut

Derived chain activity over the Run and LB-wise prescales

Page 8: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 8

RBR Multi-Run Report:Click on a specific Run link: RBR Single Run report

Contains: basic information for the runs matching the input criteria

Input criteria: printed in the header

Click on SMK link: RBR Trigger Super

Master Key Report

Links in Table column headers: Short description of column

Hover over link:Indicates what

will happen

Click on duck: RBR documentation

Page 9: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 9

RBR: Single Run Overview

General Run info Period, LB range, Date … Links to COMA reports Links to external reports

Yellow sections expand (5): AMI tags for this Run

In the TAG Catalogue DQ LBSUMM assessments

COOL tagged/locked Active Streams Prescale Evolution

PS Key changes Trigger section

HLT summary HLT subsections

Physics Commissioning

Level 1 ItemsOpen this section in

next slide…

Page 10: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 10

RBR Run Report (166964):Trigger SectionHLT Summary: total, active, disabled physics, commissioning signaturesShow/Hide the grey rows

grey disabled signature in Run

Choose Egamma(jQueryColumnFilters)

RBR Chain Report:All Runs with this

chain or item

RBR Prescale Report:LB-wise PS info for

this Run/Signature

Run-wise AggPS Range,Flags(PT,PS,RR)

Page 11: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 11

RBR Chain Report (chain EF_e10_loose)

Activation Summary:Shows the Runs in which this element

is “active” separated by: “Physics” EF-L2-L1 signatures

Via prescale Via pass through Via rerun

“Commissioning” signatures Via prescale Via pass through Via rerun

Configuration Summary:Shows where this element is

configured: Super Master Key(s), Runs (Summary), Signature Appearances

Open this section in next slide…

Page 12: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 12

RBR Chain Report (chain EF_e10_loose)Expand Run-wise Activation … “Physics” EF-L2-L1 signatures

Runs in Data Periods Active via Prescale

Table Shows: Data Period Names of each Run Link: COMA Run report Link: COMA SMK Report Links: COMA Chain/Item Reports (3) Links: COMA Prescale Report (3)

Range of Aggregate prescalewhile chain is active during the Run

Page 13: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 13

RBR Chain Wildcard Report (input: “EF_g1%”)Purpose: See all the names matching a pattern or Find exact

name from part of the nameReport: Displays chain/item names matching the input string …

text size proportional to occurrence in SMK In Period Runs and in All Runs

Page 14: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 14

RBR Prescale Report (Run 167844, chain EF_e5_tight)

LB Range Summary table: LB-wise Prescale Evolution Link:TriggerDB prescale reports Prescales:

L1,L2,EF and Aggregate Chain Inactive from

LB 1-78 and 271-287(LB ranges in COMA always inclusive)

L2 pass through N=315 from LB 79-270

EF Pass Through: Never

Run-wise Summary: Includes link to COMA reports:

Run, Master Key, Chain, Prescale (each level)

Aggregate PS Range: 250-1000 Flags:

Partially active via PS Pass Through at L2 Never Rerun

Page 15: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 15

Caveats You must have a grid certificate on your browser

To use ELSSI or runBrowser or runBrowserReport (soon AMI …)

COMA divides signatures in two mutually exclusive categories: “Physics” complete EF-L2-L1 signatures with distinct name, counter, prescale

Does not imply all are written to “physics” streams ! “Commissioning” irregular/incomplete signatures (missing one/more of above)

Includes signatures with L1-OR’d conditions (never used for physics analysis)

COMA derived Aggregate Prescales and PS_FLAG: Do not take into account “Stream Prescales”

Never applied to “Physics” streams Do not take into account effective Level 1 prescale in chains using L1-OR’s

These are not physics triggers anyway THEREFORE: Aggregate prescales for triggers writing to non-physics streams

may be underestimates But this does not apply to chains used for physics So not highest priority now, may incorporate this later in stream reports

Warning: RBR Reports for MC Runs are not well tested Prescales don’t generally change with LB, generally 1 …

Not highest priority now

Page 16: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 16

Documentation and LinksWeb Interface Link:

Because COMA is developed within the TAG development group,RunBrowser interfaces are linked into the TAG Services portal: TAG Services portal:

https://atlas-tagservices.cern.ch/(click on the latest versions)

runBrowserReport ‘index’ page direct link (also available from above)https://atlas-tagservices.cern.ch/RBR/runBrowserReport.html

Documentation runBrowserReport:

https://atlas-tagservices.cern.ch/RBR/rBR_Documentation.html

Page 17: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 17

COMA Trigger info use in ELSSIELSSI: “Event Level Selection Service Interface”

The ATLAS TAG DB browserTAG DB (and TAG files) contain event-wise trigger decisions

At all levels of the trigger At EF level, contains the ‘physics’ and ‘raw’ decision

Workflow: ELSSI user selects the equivalent of one/more Runs1. ELSSI looks to COMA tables to find

chain/item name/number mapping For the “Physics Trigger” tab:

The relationship between trigger levels Displays the “active” EF-L2-L1 chains in the selected runs

Also, there is a “Level 1 Trigger tab” showing all items2. ELSSI: gives link to runBrowserReport for selected Runs3. ELSSI: can also launch runBrowser, not covered today

What does this look like in ELSSI ??? Next slides … which will lead into the runBrowserReport(s) …

Page 18: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 18

ELSSI “Trigger” tab, “Physics Chains” subtab

Page 19: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 19

ELSSI Link to runBrowserReportELSSI contains a link to the COMA Run Report:

1. User chooses the Collection Name (Period selection also available)2. ELSSI shows Runs in the Collection3. ELSSI displays link to pop-up runBrowserReport

Page 20: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 20

SummaryComponents of the COMA project (COnditions MetadatA)

1. COMA tables – the relational DB tables RunBrowser Package

2. runBrowser – the Browser interface for COMA3. runBrowserReport – the Report interface for COMA

I’ve described today Trigger/PS aspects of COMA and runBrowserReportThere are many areas of activity in the COMA project not mentioned here

Reports will grow and evolve As COMA information evolves/grows With feedback from users

I hope in future we can talk about runBrowser and ELSSI: How they can be used to select Runs/ LBs/ Events

in advance of analysis What Run/LB-wise trigger/ps related selections would be useful

Thanks !!! Trigger DB / Trigger Experts for answering questions Joerg Stelzer, Paul Bell And to many others who answer questions posted on hypernews

Forms many use cases to direct development effort

Page 21: User Guide to Trigger/Prescale information in COMA runBrowserReport Elizabeth Gallas - Oxford December, 2010

Dec 2010 Elizabeth Gallas - COMA / RunBrowser 21

Backup