Skip to content

21.0 first version of DNNCaloSimSvc

David Rousseau requested to merge DNNCaloSim/athena:21.0-dnncalosimv1 into 21.0

First version of DNNCaloSimSvc to be run in lieu of FastCaloSimSvcV2. Standard running of FastCaloSimSvcV2 is unchanged.

How to run DNNCaloSim (tested on 21.0.92, replace full path to input simulated data and input json file):

How to run DNNCaloSim (tested on 21.0.92, replace full path to input simulated data and input json file):

similar to FCS: Sim_tf.py --simulator 'G4FastCaloDNN' --conditionsTag 'default:OFLCOND-MC16-SDR-14' --physicsList 'FTFP_BERT_ATL' --truthStrategy 'MC15aPlus' --postInclude 'default:RecJobTransforms/UseFrontier.py,G4AtlasTests/postInclude.DCubeTest.py' --preInclude 'EVNTtoHITS:SimulationJobOptions/preInclude.BeamPipeKill.py' --DataRunNumber '284500' --geometryVersion 'default:ATLAS-R2-2016-01-00-01_VALIDATION' --inputEVNTFile /exp/atlas/rousseau/fcsdata/mc15_13TeV.431004.ParticleGun_pid22_E65536_disj_eta_m25_m20_20_25_zv_0.EVNT.pool.root --outputHITSFile photons.G4FastCalo.HITs.pool.root --maxEvents 5 '

minimal to run only DNN, to save initialization time (runs in 90s wall clock time instead of 200s): Sim_tf.py --simulator 'DNNOnly' --geometryVersion 'default:ATLAS-R2-2016-01-00-01_VALIDATION' --inputEVNTFile /exp/atlas/rousseau/fcsdata/mc15_13TeV.431004.ParticleGun_pid22_E65536_disj_eta_m25_m20_20_25_zv_0.EVNT.pool.root --outputHITSFile photons.G4FastCalo_light.HITs.pool.root --maxEvents 5 --preExec 'from ISF_FastCaloSimServices.ISF_FastCaloSimJobProperties import ISF_FastCaloSimFlags;ISF_FastCaloSimFlags.ParamsInputFilename="DNNCaloSim/DNNCaloSim_GAN_nn_v0.json";from AthenaCommon.DetFlags import DetFlags;DetFlags.all_setOn();DetFlags.Muon_setOff();DetFlags.LVL1_setOff();DetFlags.Forward_setOff()'

Edited by David Rousseau

Merge request reports