Skip to content
Snippets Groups Projects
Forked from atlas / athena
110138 commits behind the upstream repository.
John Derek Chapman's avatar
John Derek Chapman authored
Apply MMSimHit in MM fast digitization (ATLASSIM-3755)

See merge request atlas/athena!21904

(cherry picked from commit 84f662910dd5a3939a27b16204f6de514f9e62c2)

d7793694 Apply MMSimHit in MM fast digitization.
b43bf604 Add MMSimHit results in the output.
3a8349ad Merge remote-tracking branch 'upstream/21.3' into NSWMMFastDigi0313
12fb1599
History
Name Last commit Last update
..
data
python
share
test
CMakeLists.txt
README
         Simulation/Digitization
	------------------------

This package is a collection of scripts to run Digitization. It serves 
both DC2 and Rome production.
The main jobOptions is AtlasDigitization.py and a configuration script is 
provided in DigitizationConfig.py




Use of the Package:
-------------------
get_files PDGTABLE.MeV
get_files DigitizationConfig.py

Edit the file DigitizationConfig.py to set your options, and run it with:

athena DigitizationConfig.py Digitization/AtlasDigitization.py


Scripts to run Digitization:
-------------------------
Scripts to run simulation (transformations) are provided in the script 
directory for the Rome "configration". rome.g4digit.trf and 
rome.g4digit.MuonDigit.trf serve this purpose. The latter one 
provides a work around to avoid the creation of RDOs in the muon and save 
MuonDigits into the pool files. This is because RDO creation for the Muons 
does not work yet in 9.0.x.  LSF wrappers are also in the script 
directory

Note for Digitization of events with Muon layout Q:
--------------------------------------------------
This applies to Rome-Initial layout in release 9. 
Use the script rome.g4digit.MuonDigit.trf when digitizing events
with muon layout Q with all avaiable releases. Or add the following to 
DigitizationConfig.py:

DetDescrVersion = 'Rome-Initial'
#--------------------------------------------------------------
# Write Muon digits instead of RDOs
#--------------------------------------------------------------
writeMuonDigit = True
from AthenaCommon.DetFlags import DetFlags
DetFlags.writeRDOPool.Muon_setOff() 

Note for release 9.0.2
----------------------
Some packages need to be checked out: (they will go in 9.0.3)
cmt co Simulation/Digitization
The lines where the RomeRDBConfig.py files is created need to be uncommented

Note for release 9.0.3
----------------------
A file RomeIOVConfig.py is created and needs to be called right after the 
Digitization.py jobOptions. This sets the db table to InitLayout-A as required
to have the latest LAr conditions