How to run FATRAS, Digitization and Truth Tracking with a custom geometry

This twiki has been written to run FATRAS, FastDigitization and truth-seeded reconstruction using a general custom geometry.

Getting started

Setup 20.20.X-VAL:

Use latest stable release (replace rel_X with the correct release) from:

asetup 20.20.X-VAL,rel_X,slc6,gcc48,opt,here,runtime

Building geometry

How to implement fast definitions of realistic detector layouts in the ATLAS TrackingGeometry is described here:

Running FATRAS

Once you have defined your geometry in the XML package you have to edit the jobOption (in the ISF_FatrasDetDescrAlpine package) that has to be pre-icluded when you run FATRAS.

Just check the ISF_FatrasDetDescrAlpine package out: ISF_FatrasDetDescrAlpine

and edit the file share/

Here you have to define the layout you want to use and all its specification in order to build it correctly. The reference layout is ATLAS Run2 geometry.

If you want to run FATRAS, you must have an EVNT input file you want to process. In case you don't have it, I have one file available for you (single muons, pT = 100 GeV) ;-).

Add another pre-include jobOption in your area with the remaining specifications. It should contain at least these lines (You can name it

from AthenaCommon.DetFlags import DetFlags 
from TrkDetDescrSvc.TrkDetDescrJobProperties import TrkDetFlags 
TrkDetFlags.MaterialSource = 'Input' 
from AthenaCommon.AppMgr import ServiceMgr 
ServiceMgr.MessageSvc.Format = "% F%50W%S%7W%R%T %0W%M" 
# the magnetic field 
from MagFieldServices import SetupField 
from IOVDbSvc.CondDB import conddb 

You can also add a post-include jobOption to add VP1 (You can name it

from VP1Algs.VP1AlgsConf import VP1Alg 
topSequence += VP1Alg()

NB: To load correctly VP1 libraries you need to export the GL libraries first:

export LD_PRELOAD=/usr/lib64/

Then run FATRAS: --simulator 'Fatras_newExtrapolation_IDOnly' --randomSeed 0 --enableLooperKiller True --maxEvents 10 --skipEvents 0 --geometryVersion ATLAS-PX-ITK-00-00-00_VALIDATION --conditionsTag OFLCOND-SIM-00-00-00 --inputEVNTFile /afs/ --outputHITSFile "Hits.pool.root" --preInclude "Simulation/ISF/ISF_Fatras/ISF_FatrasDetDescrAlpine/share/," --postInclude ""

or --simulator 'Fatras_newExtrapolation_IDOnly' --randomSeed 0 --enableLooperKiller True \
--maxEvents 10 --skipEvents 0 --geometryVersion ATLAS-PX-ITK-00-00-00_VALIDATION --conditionsTag OFLCOND-SIM-00-00-00 \
--inputEVNTFile /afs/ --outputHITSFile "Hits.pool.root"\
--preInclude "Simulation/ISF/ISF_Fatras/ISF_FatrasDetDescrAlpine/share/," \
--postInclude ""

Very Fast Digitization module and truth-seeded reconstruction

In order to run the very fast digitization module, you have to check out the FastSiDigitization package and compile it.

The jobOptions used to run are in the share folder of this package. In particular, you can use two jobOptions:

  • share/ --> To run digitization and produce clusters (for both Pixel and SCT).
  • share/ --> To run digitization and truth-tracking in one step.
The commands are:

athena Simulation/ISF/ISF_Fatras/ISF_FatrasDetDescrAlpine/share/ InnerDetector/InDetDigitization/FastSiDigitization/share/


athena Simulation/ISF/ISF_Fatras/ISF_FatrasDetDescrAlpine/share/ InnerDetector/InDetDigitization/FastSiDigitization/share/

The truth-seeded reconstruction is configured to used the Trk::KalmanFitter with the Trk::ExtrapolationEngine.

-- Main.NoemiCalace - 2015-07-01

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r5 - 2016-02-02 - RemiLafaye
    • 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