%CERTIFY%

EPAMTutorial

Scope of the Tutorial:

The goal of this tutorial is to make sure that by the end of the workshop, the participants will have a general idea about the data taking at LHC, the whole steps to follow to have at the end the souhitable data for the analysis and be able to run ATLAS analysis on their own. There are two important requirements that need to be satisfied before the start of the tutorial, namely:

  • Have an account on Lxplus.
  • Have a valid grid certificate to be able to run analysis using the GRID (tomorrow by David, Eric, Ghita and Farida).

We will cover the following main areas:

  • Setup the directory structure.
  • Setup a particular version of the ATLAS software releases.
  • Understand various physics analysis objects (how to access more information about each object).
  • Use the physics objects in an AOD analysis.
  • Use the GRID (PAnda, Ganga) to analyze data, etc...

Session 1:

Setup the lxplus account s

1. For the practical session it is needed to have an account on LXPLUS, and have about 100MB of space quota. You can check this by typing fs lq; the result is given in kilobytes. For people who do not have an lxplus account they can use this account for this tutorial:

Loging: mgouigh 
password: totot 

Open a terminal and log in to the LXPLUS by: ssh -l mgouigh@lxplusNOSPAMPLEASE.cern.ch -X -Y

It's recommended to use bash or zsh as your shell. To check this type

ps -p $$ 

To switch type

bash -l 

The main thing is that you shouldn't use tcsh. You could change your shell on LXPLUS using the self-service tool available on a Web Portal

http://www.cern.ch/account

Click on the link "Applications and Resources" and from there, Click on [Manage] corresponding to the "Linux and AFS" line within "Common Services".

Under the "Linux settings" section, you can select your Unix Shell between: /bin/tcsh, /bin/bash, /bin/csh, /bin/ksh, /bin/sh and /bin/zsh.

Press on the "Save Selection" blue button to activate your change. Please wait for about an hour to make sure the change is propagated to the Linux environment.

Setting up your account for ATLAS software

There are currently two methods for setting up your lxplus account to enable running ATLAS software. The old method required setting up CMT (described below), which is now superseded by the [AtlasSetup] environment setup package. From Athena 16.1.0 both methods are supported, although the old method will be phased out, so it is essential to start to use the new (and simpler) [AtlasSetup].

Setting up AtlasSetup on Lxplus

Prior to using Atlas.AtlasSetup to obtain the ATLAS software you must make the following modifications to you lxplus (or, with appropriate changes, your local institute) account. Full details and can be found in the Atlas.AtlasSetup page.

  • Identify the type of shell you are using; bash / ash
  • The recommended places on LXPLUS for these lines are: sh/zsh/bash shells (e.g. ${HOME}/.bash_login); and, csh/tcsh shells (e.g. ${HOME}/.tcshrc):
export AtlasSetup=/afs/cern.ch/atlas/software/dist/AtlasSetup
alias asetup='source $AtlasSetup/scripts/asetup.sh'

Now you are ready to setup Athena, type:

asetup 16.6.0,here.

Instead of typing these commands each time, one can create a very short *.sh (Exp: test.sh) file in your work area (the place you prefer to setup athena) and put these lines:

export AtlasSetup=/afs/cern.ch/atlas/software/dist/AtlasSetup
alias asetup='source $AtlasSetup/scripts/asetup.sh'
asetup 16.6.0,here

This will setup the release 16.6.0 just by doing:

source test.sh

Setting up Athena using the old method (CMT):

This method can be used only for releases up to 16.0.1, since ATLAS start to change the management of the soft by using the setup. CMT home is the that allow the management of the packages, to use this method:

  • Create a directory named cmthome.
mkdir cmthome   
cd cmthome
  • Create a file using your favorite editor (nano, emacs ...) named requirements ( nano requirements) and paste into it these lines:
set   CMTSITE  CERN 
set   SITEROOT /afs/cern.ch 
macro ATLAS_DIST_AREA ${SITEROOT}/atlas/software/dist 
macro ATLAS_TEST_AREA ${HOME}/
use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA)

In case you prefer to setup athena in an other area rather than your HOME directory (exp scratch0), you just have to include it's path in your requirement (fourth line):

macro ATLAS_TEST_AREA ${HOME}/scratch0

  • Set up CMT by:
source /afs/cern.ch/sw/contrib/CMT/v1r21/mgr/setup.sh
cmt config
  • Now you are ready to setup athena, just type:
source cmthome/setup.sh -tag=16.0.1,setup,32

You force the 32-bit mode to be used.

  • Create a work directory by:
echo $TestArea
mkdir $TestArea
  • Go to the TestArea and get ready ready to run the ATLAS software!
cd $TestArea

For participants who do not have an LXPLUS account and like to do the work on mgouigh@lxplusNOSPAMPLEASE.cern.ch, it's preferable to make a directory in a temporary area (/tmp) of the LXPLUS machine you are logged on, like that we will not have problem of space in $HOME directory.

cd /tmp

Create a directory under your name

mkdir Your_name
cd Your_name

then do:

cp /afs/cern.ch/user/m/mgouigh/Control/AthenaExamples/AthExRegTutorial/run/*.py .

Selection of Good Luminosity Blocks

The selection of events in good luminosity blocks can be done using the GoodRunListSelectorTool, to do so, please:

1. Setup Athena 2. Then checkout the packages needed (for both GRLs production and Luminosity calculation):

cmt co -r GoodRunsListsUser-00-00-12 DataQuality/GoodRunsListsUser
cmt co -r GoodRunsLists-00-00-89 DataQuality/GoodRunsLists
cmt co -r LumiBlockComps-00-02-11 LumiBlock/LumiBlockComps
cmt co -r CoolRunQuery-00-03-35 Database/CoolRunQuery

To install, do:

cd $TestArea/Database/CoolRunQuery/cmt/
cmt make; source setup.sh
cd $TestArea/DataQuality/GoodRunsLists/cmt/
cmt make; source setup.sh
cd $TestArea/LumiBlock/LumiBlockComps/cmt/
cmt make; source setup.sh
cd $TestArea/DataQuality/GoodRunsListsUser/cmt/
cmt make; source setup.sh

It is useful to make the script init.sh . cd $TestArea Open your favorite editor to make init.sh, and insert the lines:

source $TestArea/Database/CoolRunQuery/cmt/setup.sh
source $TestArea/DataQuality/GoodRunsLists/cmt/setup.sh
source $TestArea/LumiBlock/LumiBlockComps/cmt/setup.sh
source $TestArea/DataQuality/GoodRunsListsUser/cmt/setup.sh

alternatively you can:

 
cd $TestArea 
setupWorkArea.py 
cd WorkArea/cmt 
cmt bro cmt config 
source setup.sh 

To look for the exact tags needed for a giving package, do:

get_tag DataQuality/GoodRunsLists

If you are interested of the head version of a given package, do:

cmt co DataQuality/GoodRunsLists

To use this tools you need first to setup athena as explained before

A possible selection rule can be the following:

AtlRunQuery.py 'find run 90270-90350 and dq em y+ and dq pixb y+ / show dq pix,sct,em,till'
AtlRunQuery.py 'find run 140541+ and partition ATLAS and db DATA and st physics_MinBias and ptag data09_900GeV and duration 60s+ and events 100+ and mag s and dq til y+ and dq lar y+ and dq atlsol y+ and lhc beamenergy 449-451 and lhc stablebeams true/ show dq til and dq lar and dq pix'

Example

AtlRunQuery.py 'find run 167575-167844 and partition ATLAS and db DATA and lhc stablebeams T and st physics_MinBias and ready 1 and ptag data10_7TeV and dq ATLGL LBSUMM#DetStatus-v03-repro05-00 g and dq atltor LBSUMM#DetStatus-v03-repro05-00 g and dq atlsol LBSUMM#DetStatus-v03-repro05-00 g and dq pix LBSUMM#DetStatus-v03-repro05-00 g and dq sct LBSUMM#DetStatus-v03-repro05-00 g and dq trtb,trte LBSUMM#DetStatus-v03-repro05-00 y+ and dq mdt LBSUMM#DetStatus-v03-repro05-00 g and dq rpc LBSUMM#DetStatus-v03-repro05-00 g and dq tgc LBSUMM#DetStatus-v03-repro05-00 g and dq csc LBSUMM#DetStatus-v03-repro05-00 g'

In case you get a problem like:

__Warning: use COOL_DISABLE_CORALCONNECTIONPOOLCLEANUP__
Data source lookup using /afs/cern.ch/atlas/software/releases/16.6.0/DBRelease/current/XMLConfig/dblookup.xml file
(file "", line 0) The database does not exist (C++ exception)

You have to include a very short file .asetup in your $HOME were you put these lines:

[defaults]
standalone = False

# your test area directory
testarea = $PWD

# each release has its own directory
multi=False

# the release dir name has the project prepended
projtest = False

The xml file is used as input in the athena analysis, it allows to run on the data conditions you select to produce it, make a not on the name which include near the top of the file, we will use it on the jobOption. If you are not sure simply run the command:

less <inputGRL.xml> | grep /Name

Integrated luminosity calculation in physics analysis

As we saw, we could calculate the luminosity using the iLumiCalc.exe which uses the Good Run List as input, the iLumiCalc.exe is loaded from the package LumiBlock/LumiBlockComps

iLumiCalc.exe -t L1_MBTS_1 --lumitag=OflLumi-7TeV-002 -x data10_7TeV.periodI.167575-167844_LBSUMM_DetStatus-v03-repro05-00_muon_7TeV.xml

iLumiCalc.exe --lumitag=OflLumi-7TeV-002 --livetrigger=L1_MBTS_2 --trigger=L1_MU10 --xml=/afs/cern.ch/user/g/gouighri/scratch0/MyXtalk/Control/AthenaExamples/AthExRegTutorial/run/data10_7TeV.periodI.167575-167844_LBSUMM_DetStatus-v03-repro05-00_muon_7TeV.xml

we got something like:

[gouighri@lxplus250]~/scratch0/MyXtalk/Control/AthenaExamples/AthExRegTutorial/run/LUMINO% iLumiCalc.exe --lumitag=OflLumi-7TeV-002 --livetrigger=L1_MBTS_2 --trigger=L1_MU10 --xml=/afs/cern.ch/user/g/gouighri/scratch0/MyXtalk/Control/AthenaExamples/AthExRegTutorial/run/data10_7TeV.periodI.167575-167844_LBSUMM_DetStatus-v03-repro05-00_muon_7TeV.xml
--- iLumiCalc           : Trigger(s): L1_MU10, 
--- iLumiCalc           : Trigger used for livetime: L1_MBTS_2
--- iLumiCalc           : Lumitag: OflLumi-7TeV-002
--- iLumiCalc           : No lumimethod or lumichannel is given, defaulting to Lumimethod: ATLAS_PREFERRED
--- iLumiCalc           : Being in XML file mode...
--- iLumiCalc           : Processing file: </afs/cern.ch/user/g/gouighri/scratch0/MyXtalk/Control/AthenaExamples/AthExRegTutorial/run/data10_7TeV.periodI.167575-167844_LBSUMM_DetStatus-v03-repro05-00_muon_7TeV.xml>
--- iLumiCalc           : --------------------------------------------
--- LumiCalculator      : Luminosity database: COOLOFL_TRIGGER/COMP200
--- LumiCalculator      : Trigger database: COOLONL_TRIGGER/COMP200
--- CoolQuery           : Trying to connect to database COOLONL_TRIGGER/COMP200...
Using machine hostname lxplus250.cern.ch for DB replica resolution
Frontier server at (proxyurl=http://atlast0fsquid.cern.ch:3128)(proxyurl=http://atlassquid1.cern.ch:3128)(proxyurl=http://atlassquid2.cern.ch:3128)(serverurl=http://atlasfrontier.cern.ch:8000/atlr)(serverurl=http://atlasfrontier1.cern.ch:8000/atlr)(serverurl=http://atlasfrontier2.cern.ch:8000/atlr)(serverurl=http://ccsqfatlasli01.in2p3.fr:23128/ccin2p3-AtlasFrontier) will be considered
Total of 6 servers found for host lxplus250.cern.ch
__Warning: use COOL_DISABLE_CORALCONNECTIONPOOLCLEANUP__
Data source lookup using /afs/cern.ch/atlas/software/builds/AtlasCore/16.6.0/InstallArea/XML/AtlasAuthentication/dblookup.xml file
Allowed replica to try (priority -700) : frontier://ATLF/()/ATLAS_COOLONL_TRIGGER
Allowed replica to try (priority -699) : oracle://ATLAS_COOLPROD/ATLAS_COOLONL_TRIGGER
Allowed replica to try (priority -200) : frontier://ATLF/()/ATLAS_COOLONL_TRIGGER
Allowed replica to try (priority -199) : oracle://FZK/ATLAS_COOLONL_TRIGGER
Allowed replica to try (priority -198) : oracle://LYON/ATLAS_COOLONL_TRIGGER
--- CoolQuery           : Trying to connect to database COOLOFL_TRIGGER/COMP200...
Using machine hostname lxplus250.cern.ch for DB replica resolution
Frontier server at (proxyurl=http://atlast0fsquid.cern.ch:3128)(proxyurl=http://atlassquid1.cern.ch:3128)(proxyurl=http://atlassquid2.cern.ch:3128)(serverurl=http://atlasfrontier.cern.ch:8000/atlr)(serverurl=http://atlasfrontier1.cern.ch:8000/atlr)(serverurl=http://atlasfrontier2.cern.ch:8000/atlr)(serverurl=http://ccsqfatlasli01.in2p3.fr:23128/ccin2p3-AtlasFrontier) will be considered
Total of 6 servers found for host lxplus250.cern.ch
Allowed replica to try (priority -700) : frontier://ATLF/()/ATLAS_COOLOFL_TRIGGER
Allowed replica to try (priority -699) : oracle://ATLAS_COOLPROD/ATLAS_COOLOFL_TRIGGER
Allowed replica to try (priority -200) : frontier://ATLF/()/ATLAS_COOLOFL_TRIGGER
Allowed replica to try (priority -199) : oracle://FZK/ATLAS_COOLOFL_TRIGGER
Allowed replica to try (priority -198) : oracle://LYON/ATLAS_COOLOFL_TRIGGER
--- LumiCalculator      : -----------------------------------
--- LumiCalculator      : Beginning calculation for Trigger L1_MU10, Run 167575 LB [125-138]
--- LumiCalculator      : -----------------------------------
--- LumiCalculator      : >== Trigger  : L1_MU10
--- LumiCalculator      :        Run    L1-Acc    L2-Acc    L3-Acc  LiveTime  IntL rec.(ub^-1)  IntL del.(ub^-1)
--- LumiCalculator      :     167575   1665584         0         0   821.188            121471            158385
--- LumiCalculator      : L1/2/3 accept: 1665584   0         0         
--- LumiCalculator      : L1BeforePresc: 3363760   
--- LumiCalculator      : Livetime     : 821.188
--- LumiCalculator      : Prescale Weighted Livetime: 821.188
--- LumiCalculator      : Lumi w/o prescale (ub^-1):  121471
--- LumiCalculator      : Good LBs     : 14
--- LumiCalculator      : Bad LBs      : 0
--- LumiCalculator      : IntL delivered (ub^-1) : 158385
--- LumiCalculator      : IntL recorded (ub^-1) : 121471
--- LumiCalculator      : L1 Prescales: [167575,125]:1, [167575,129]:1, [167575,130]:1, [167575,134]:1, 
--- LumiCalculator      : -----------------------------------
--- LumiCalculator      : Beginning calculation for Trigger L1_MU10, Run 167576 LB [3-293]
--- LumiCalculator      : -----------------------------------
--- LumiCalculator      : >== Trigger  : L1_MU10
--- LumiCalculator      :        Run    L1-Acc    L2-Acc    L3-Acc  LiveTime  IntL rec.(ub^-1)  IntL del.(ub^-1)
--- LumiCalculator      :     167576  52012950         0         0   33949.3       3.75406e+06       3.80898e+06
--- LumiCalculator      : L1/2/3 accept: 52012950  0         0         
--- LumiCalculator      : L1BeforePresc: 52749220  
--- LumiCalculator      : Livetime     : 33949.3
--- LumiCalculator      : Prescale Weighted Livetime: 33833.7
--- LumiCalculator      : Lumi w/o prescale (ub^-1):  3.77062e+06
--- LumiCalculator      : Good LBs     : 291
--- LumiCalculator      : Bad LBs      : 0
--- LumiCalculator      : IntL delivered (ub^-1) : 3.80898e+06
--- LumiCalculator      : IntL recorded (ub^-1) : 3.75406e+06
--- LumiCalculator      : L1 Prescales: [167576,3]:1, [167576,4]:30, [167576,5]:1, [167576,6]:1, [167576,7]:1, [167576,27]:1, [167576,31]:1, [167576,37]:1, [167576,59]:1, [167576,61]:1, [167576,86]:1, [167576,119]:1, [167576,122]:1, [167576,176]:1, 
--- LumiCalculator      : -----------------------------------
--- LumiCalculator      : Beginning calculation for Trigger L1_MU10, Run 167607 LB [86-430]
--- LumiCalculator      : -----------------------------------
--- LumiCalculator      : >== Trigger  : L1_MU10
--- LumiCalculator      :        Run    L1-Acc    L2-Acc    L3-Acc  LiveTime  IntL rec.(ub^-1)  IntL del.(ub^-1)
--- LumiCalculator      :     167607  76179160         0         0   37868.1        5.4771e+06       5.76007e+06
--- LumiCalculator      : L1/2/3 accept: 76179160  0         0         
--- LumiCalculator      : L1BeforePresc: 80310842  
--- LumiCalculator      : Livetime     : 37868.1
--- LumiCalculator      : Prescale Weighted Livetime: 37868.1
--- LumiCalculator      : Lumi w/o prescale (ub^-1):  5.4771e+06
--- LumiCalculator      : Good LBs     : 345
--- LumiCalculator      : Bad LBs      : 0
--- LumiCalculator      : IntL delivered (ub^-1) : 5.76007e+06
--- LumiCalculator      : IntL recorded (ub^-1) : 5.4771e+06
--- LumiCalculator      : L1 Prescales: [167607,86]:1, [167607,87]:1, [167607,90]:1, [167607,93]:1, [167607,96]:1, [167607,99]:1, [167607,102]:1, [167607,107]:1, [167607,115]:1, [167607,126]:1, [167607,127]:1, [167607,138]:1, [167607,140]:1, [167607,143]:1, [167607,188]:1, [167607,189]:1, [167607,232]:1, [167607,239]:1, [167607,241]:1, [167607,274]:1, [167607,284]:1, [167607,287]:1, [167607,291]:1, [167607,330]:1, [167607,362]:1, [167607,369]:1, [167607,382]:1, [167607,425]:1, 
--- LumiCalculator      : -----------------------------------
--- LumiCalculator      : Beginning calculation for Trigger L1_MU10, Run 167661 LB [372-439]
--- LumiCalculator      : -----------------------------------
--- LumiCalculator      : >== Trigger  : L1_MU10
--- LumiCalculator      :        Run    L1-Acc    L2-Acc    L3-Acc  LiveTime  IntL rec.(ub^-1)  IntL del.(ub^-1)
--- LumiCalculator      :     167661  17728830         0         0   7361.96       1.33562e+06       1.38041e+06
--- LumiCalculator      : L1/2/3 accept: 17728830  0         0         
--- LumiCalculator      : L1BeforePresc: 18333164  
--- LumiCalculator      : Livetime     : 7361.96
--- LumiCalculator      : Prescale Weighted Livetime: 7361.96
--- LumiCalculator      : Lumi w/o prescale (ub^-1):  1.33562e+06
--- LumiCalculator      : Good LBs     : 68
--- LumiCalculator      : Bad LBs      : 0
--- LumiCalculator      : IntL delivered (ub^-1) : 1.38041e+06
--- LumiCalculator      : IntL recorded (ub^-1) : 1.33562e+06
--- LumiCalculator      : L1 Prescales: [167661,372]:1, [167661,375]:1, [167661,377]:1, [167661,379]:1, [167661,384]:1, [167661,385]:1, [167661,386]:1, [167661,393]:1, [167661,395]:1, [167661,413]:1, [167661,414]:1, [167661,421]:1, 
--- LumiCalculator      : -----------------------------------
--- LumiCalculator      : Beginning calculation for Trigger L1_MU10, Run 167680 LB [33-266]
--- LumiCalculator      : -----------------------------------
--- LumiCalculator      : >== Trigger  : L1_MU10
--- LumiCalculator      :        Run    L1-Acc    L2-Acc    L3-Acc  LiveTime  IntL rec.(ub^-1)  IntL del.(ub^-1)
--- LumiCalculator      :     167680  47860798         0         0   23839.6       3.68099e+06       3.84451e+06
--- LumiCalculator      : L1/2/3 accept: 47860798  0         0         
--- LumiCalculator      : L1BeforePresc: 49888768  
--- LumiCalculator      : Livetime     : 23839.6
--- LumiCalculator      : Prescale Weighted Livetime: 23839.6
--- LumiCalculator      : Lumi w/o prescale (ub^-1):  3.68099e+06
--- LumiCalculator      : Good LBs     : 234
--- LumiCalculator      : Bad LBs      : 0
--- LumiCalculator      : IntL delivered (ub^-1) : 3.84451e+06
--- LumiCalculator      : IntL recorded (ub^-1) : 3.68099e+06
--- LumiCalculator      : L1 Prescales: [167680,33]:1, [167680,40]:1, [167680,45]:1, [167680,54]:1, [167680,58]:1, [167680,60]:1, [167680,66]:1, [167680,77]:1, [167680,83]:1, [167680,86]:1, [167680,89]:1, [167680,96]:1, [167680,99]:1, [167680,101]:1, [167680,104]:1, [167680,107]:1, [167680,121]:1, [167680,124]:1, [167680,128]:1, [167680,141]:1, [167680,146]:1, [167680,151]:1, [167680,164]:1, [167680,172]:1, [167680,234]:1, [167680,258]:1, 
--- LumiCalculator      : -----------------------------------
--- LumiCalculator      : Beginning calculation for Trigger L1_MU10, Run 167776 LB [124-546]
--- LumiCalculator      : -----------------------------------
--- LumiCalculator      : >== Trigger  : L1_MU10
--- LumiCalculator      :        Run    L1-Acc    L2-Acc    L3-Acc  LiveTime  IntL rec.(ub^-1)  IntL del.(ub^-1)
--- LumiCalculator      :     167776  78320321         0         0   49707.8       6.05068e+06       6.11436e+06
--- LumiCalculator      : L1/2/3 accept: 78320321  0         0         
--- LumiCalculator      : L1BeforePresc: 79133722  
--- LumiCalculator      : Livetime     : 49707.8
--- LumiCalculator      : Prescale Weighted Livetime: 49707.8
--- LumiCalculator      : Lumi w/o prescale (ub^-1):  6.05068e+06
--- LumiCalculator      : Good LBs     : 423
--- LumiCalculator      : Bad LBs      : 0
--- LumiCalculator      : IntL delivered (ub^-1) : 6.11436e+06
--- LumiCalculator      : IntL recorded (ub^-1) : 6.05068e+06
--- LumiCalculator      : L1 Prescales: [167776,124]:1, [167776,130]:1, [167776,132]:1, [167776,191]:1, [167776,208]:1, [167776,210]:1, [167776,212]:1, [167776,214]:1, [167776,283]:1, [167776,347]:1, [167776,372]:1, [167776,378]:1, [167776,384]:1, [167776,390]:1, [167776,401]:1, [167776,432]:1, 
--- LumiCalculator      : -----------------------------------
--- LumiCalculator      : Beginning calculation for Trigger L1_MU10, Run 167844 LB [79-270]
--- LumiCalculator      : -----------------------------------
--- LumiCalculator      : >== Trigger  : L1_MU10
--- LumiCalculator      :        Run    L1-Acc    L2-Acc    L3-Acc  LiveTime  IntL rec.(ub^-1)  IntL del.(ub^-1)
--- LumiCalculator      :     167844  33607002         0         0   21950.5       2.53309e+06       2.55123e+06
--- LumiCalculator      : L1/2/3 accept: 33607002  0         0         
--- LumiCalculator      : L1BeforePresc: 33782287  
--- LumiCalculator      : Livetime     : 21950.5
--- LumiCalculator      : Prescale Weighted Livetime: 21950.5
--- LumiCalculator      : Lumi w/o prescale (ub^-1):  2.53309e+06
--- LumiCalculator      : Good LBs     : 192
--- LumiCalculator      : Bad LBs      : 0
--- LumiCalculator      : IntL delivered (ub^-1) : 2.55123e+06
--- LumiCalculator      : IntL recorded (ub^-1) : 2.53309e+06
--- LumiCalculator      : L1 Prescales: [167844,79]:1, [167844,81]:1, [167844,86]:1, [167844,90]:1, [167844,91]:1, [167844,95]:1, [167844,112]:1, [167844,116]:1, [167844,121]:1, [167844,135]:1, [167844,142]:1, [167844,189]:1, [167844,224]:1, 
--- LumiCalculator      : -----------------------------------
--- LumiCalculator      :      Total    L1-Acc    L2-Acc    L3-Acc  LiveTime  IntL rec.(ub^-1)  IntL del.(ub^-1)
--- LumiCalculator      :            307374645         0         0    175498        2.2953e+07        2.3618e+07
--- LumiCalculator      : Total L1/2/3 accept: 307374645 0         0         
--- LumiCalculator      : Total L1 livetime trigger accept: 408026357 
--- LumiCalculator      : Total L1BeforePresc: 317561763 
--- LumiCalculator      : Total Livetime     : 175498
--- LumiCalculator      : Total prescale weighted Livetime: 175383
--- LumiCalculator      : Total lumi w/o prescale (ub^-1):  2.29696e+07
--- LumiCalculator      : Total Good LBs     : 1567
--- LumiCalculator      : Total Bad LBs     : 0
--- LumiCalculator      : Total IntL delivered (ub^-1) : 2.3618e+07
--- LumiCalculator      : Total IntL recorded (ub^-1) : 2.2953e+07
--- iLumiCalc           : --------------------------------------------
--- TGoodRunsListWriter : GoodRunsList stored as        : ilumicalc_merged_grl_167575.125-167844.270.xml
--- iLumiCalc           : Real time: 8.5147 s
--- iLumiCalc           : CPU time:   4.41 s

Other info can be added to the command line, like -r specify a specific run(s), --lbstart=xx --lbend=yy to select a LB range[xx,yy], -t specify the trigger item and --lumitag the Cool database folders are tagged so one needs to specify the tag.

For more details about the Luminosity calculation, have a look on this tutorial LuminosityCalculation

Running the Full simulation chain

To run the full simulation chain (Generation to Reconstruction) you need an ATHENA production cache release like 16.6.0.X, normally, it is recommended to use directly the official files (RDO, ESD, AOD...) produced by your physic group, some stages especially at the reconstruction level are complex and difficult to configure correctly. The production is generally done on the Grid using the Production System (ProdSys).

Running an athena analysis code

After setting up athena using asetup:

<cd TestArea>
asetup 16.6.0,here

</pre>

   
  
In your home directory (${HOME}/):

  • Create a directory called cmthome: " mkdir cmthome"
  • Create a directory called IctpTutorial: "
  • mkdir IctpTutorial

Have a look at Physics Container: https://twiki.cern.ch/twiki/bin/view/AtlasProtected/PhysicsContainers For name of Project tag ...

Have also a look at: https://twiki.cern.ch/twiki/bin/view/AtlasProtected/DataPeriods

Setup athena

-- Main.MohamedGouighri - 11-Mar-2011


This topic: Main > TWikiUsers > MohamedGouighri > EPAMTutorial
Topic revision: r9 - 2011-03-31 - MohamedGouighri
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 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