How to use detector coverage tool

Preparation

You should create a directory to test this tool. For example, the directory may be named "myCoverageMonitoring".

mkdir myCoverageMonitoring
cd myCoverageMonitoring

You should set the ATLAS environment.

export AtlasSetup=/afs/cern.ch/atlas/software/dist/AtlasSetup
alias asetup='source $AtlasSetup/script/asetup.sh'

Download some packages here and make WorkArea.

setupATLAS
asetup 20.7.X.Y, here
pkgco.py SCT_Monitoring-00-06-99
pkgco.py InDetRecExample
setup WorkArea.py

Set X,Y numbers of release version.

Next, you should compile the following files.

cd WorkArea/cmt
cmt config
source setup.sh
cmt bro gmake clean
cmt bro gmake

You will see "--all ok" when compiling is finished.

You should copy "jobOptions_Standalone.py" file to "run" directory.

cd ../run
cp  $TestArea/InnerDetector/InDetExample/InDetRecExample/share/jobOptions_Standalone.py .

Next, edit 3 lines in this file.

In line 6, doReadBS is False in default setting. You should change to True:

doReadBS = True

In line 38, change "theApp.EvtMax = 10" to

theApp.EvtMax = -1

In line 166, change "False" to "True":

InDetFlacs.doMonitoringSCT = True

And change outpulevel in InDetMonitoringSCT.py file.

vi $TestArea/InnerDetector/InDetExample/InDetRecExample/share/InDetMonitoringSCT.py

In line 49,

Outputlevel = 3,

and you should add the following valiable into SCTErrMonTool:

CoverageCheck = True,

Using detector coverage tool

You add a path of a RAW file of which you want to check lumi block like the following:

athenaCommonFlags.FilesInput = ["root://eosatlas///eos/atlas/atlastier0/rucio/data16_13TeV/express_express/00302829/data16_13TeV.00302829.express_express.merge.RAW/data16_13TeV.00302829.express_express.merge.RAW._lb0930._SFO-ALL._0001.1"]

These represent a PATH of a RAW file of lb930 at run303839.

You run the job file by athena

athena jobOptions_Standalone.py

Detector coverage will be showen on your display (2016/08/02 it is not available).

Output file is "monitoring.root". Detector coverage histogram is in "monitoring.root/SCT/GENERAL/Conf/SCTTotalDetectorCoverageVsLbs"

The detector coverage is "Mean y" value in the information box.

-- KeisukeKoda - 2016-06-16

Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r11 - 2016-12-14 - unknown
 
    • 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