All material comes from: Atlantis Link.

EventIndex Twiki, EventIndex Tutorial

Steps:

1) use EventIndex to locate the event index:

el -e '00310341 410259325' -s physics_Main -details "type id" -t RAW    

you will get like:

F2BB85F1 -F48E-E611-937C-44A8420A88BC StreamRAW EI16.1.data16_13TeV.physics_Main.deriv.DAOD_HIGG2D1.r9264_p3083_p3372.00310341

2) Then use the following command to retrieve ami detail:

ami command AMIGetFileInfo -fileGUID=F2BB85F1-F48E-E611-937C-44A8420A88BC

3) use rucio to download what's shown in "LFN"

rucio download data16_13TeV.00310341.physics_Main.daq.RAW._lb0112._SFO-4._0002.data

4) filter the file to have only the event of interest:

acmd.py filter-files -s ev.txt data16_13TeV/data16_13TeV.00310341.physics_Main.daq.RAW._lb0112._SFO-4._0002.data -o my.RAW.picked

ev.txt contain one line: your run number and event ID: 00310341 410259325

5) determine which AMITag to use.

In the el command, you can use option "-api rich" then you can see corresponding tags that your analysis is running on. Say you're running on specific DAOD with some p-tag, you can match the p-tag and check the f-tag. And that's the one you'll be using. If it's f755, you can do following to get the detailed command that you should try to run with:

GetTfCommand.py --AMI f755

Additional read:

Check geometry versions here: data-base

Check condition tag here: cool-database

6) retrieve the xml from the file

Utilizing the options you have, call:

Reco_tf.py --AMITag f755 --geometryVersion all:ATLAS-R2-2015-04-00-00 --conditionsTag all:CONDBR2-BLKPA-2016-19 --preExec 'all:jp.Rec.doJiveXML.set_Value_and_Lock(True)' --inputBSFile=my.RAW.picked --outputESDFile=myDelightfulESD.pool.root

7) Run Atlantis now

RunAtlantis *xml 

-- RongkunWang - 2018-05-27

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2018-05-31 - RongkunWang
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback