How to use detector coverage tool
You must check the basic way to use the monitoring softweare according to the instruction (
https://twiki.cern.ch/twiki/bin/view/Atlas/SCTDetectorMonitoring).
When you want the detector coverage vale, you need to run Reco_tf.py with the option
--preExec 'from SCT_Monitoring.SCT_MonitoringConf import SCTErrMonTool; InDetSCTErrMonTool = SCTErrMonTool ( name = "InDetSCTErrMonTool", OutputLevel = 3, CoverageCheck = True)'
.
There is an example:
Reco_tf.py \
--conditionsTag all:CONDBR2-ES1PA-2017-05 \
--ignoreErrors 'False' \
--autoConfiguration='everything' \
--maxEvents '3' \
--AMITag 'x539' \
--preExec 'all:rec.doExpressProcessing.set_Value_and_Lock(True);'\
'from InDetRecExample.InDetJobProperties import InDetFlags;'\
'InDetFlags.useDynamicAlignFolders.set_Value_and_Lock(True);'\
'from SCT_Monitoring.SCT_MonitoringConf import SCTErrMonTool;'\
'InDetSCTErrMonTool = SCTErrMonTool ( name = "InDetSCTErrMonTool", OutputLevel = 3, CoverageCheck = True)' \
--geometryVersion all:ATLAS-R2-2016-01-00-01 \
--inputBSFile '/eos/atlas/atlastier0/rucio/data17_13TeV/express_express/00340368/data17_13TeV.00340368.express_express.merge.RAW/data17_13TeV.00340368.express_express.merge.RAW._lb0075._SFO-ALL._0001.1' \
--outputHISTFile 'HIST.pool.root'
Output file is "HIST.pool.root". Detector coverage histogram is in "HIST.pool.root/SCT/SCTTotalDetectorCoverageVsLbs"
The detector coverage is "Mean y" value in the information box.
--
KeisukeKoda - 2016-12-14
(Added by Thanawat Asawatavonvanich on 14-09-2018)
We have run various tests to see if the detector coverage tool is really behind the memory consumption issue, and we have found (the links to the presentations are below) that the tool is not the culprit as we had thought. In other words, we believe that the detector coverage tool can be used in the SCT monitoring.
https://indico.cern.ch/event/744902/contributions/3082284/attachments/1690272/2719525/SCT_Detector_Coverage_Tool_Thanawat_18072020.pdf
https://indico.cern.ch/event/753762/contributions/3124780/attachments/1708372/2753215/SCT_Detector_Coverage_Tool_Thanawat_30082018.pdf