Skip to content
Snippets Groups Projects
Commit 48b59278 authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'ISF_G4FastCaloTest_fix' into 'master'

Add Common.ProductionStep flag to ISF_FastCaloSimServicesTest and fix Digitization flag

See merge request atlas/athena!40228
parents 5426a37f 3ad47c76
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ def ISFCollectionMergerCfg(flags,name="ISF_CollectionMerger", **kwargs): ...@@ -25,7 +25,7 @@ def ISFCollectionMergerCfg(flags,name="ISF_CollectionMerger", **kwargs):
kwargs.setdefault( "InputTGCHits", [ ] ) kwargs.setdefault( "InputTGCHits", [ ] )
hardscatterSG="" hardscatterSG=""
try: try:
if flags.Sim.DoFullChain and (flags.Digitization.Pileup is True): if flags.Sim.DoFullChain and (flags.Digitization.PileUp is True):
hardscatterSG = "OriginalEvent_SG+" hardscatterSG = "OriginalEvent_SG+"
except RuntimeError as err: except RuntimeError as err:
msg = logging.getLogger(name) msg = logging.getLogger(name)
......
...@@ -5,6 +5,7 @@ Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration ...@@ -5,6 +5,7 @@ Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
""" """
from argparse import ArgumentParser from argparse import ArgumentParser
from AthenaConfiguration.Enums import ProductionStep
from AthenaConfiguration.ComponentFactory import CompFactory from AthenaConfiguration.ComponentFactory import CompFactory
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
...@@ -51,9 +52,9 @@ def defaultTestFlags(configFlags, args): ...@@ -51,9 +52,9 @@ def defaultTestFlags(configFlags, args):
configFlags.Input.OverrideRunNumber = True configFlags.Input.OverrideRunNumber = True
configFlags.Input.Files = defaultTestFiles.EVNT # ["root://eosuser.cern.ch///eos/atlas/atlascerngroupdisk/proj-simul/OutputSamples/rel21/mc16_13TeV.photon.E65536.eta20_25.EVNT.merged.pool.root"] configFlags.Input.Files = defaultTestFiles.EVNT # ["root://eosuser.cern.ch///eos/atlas/atlascerngroupdisk/proj-simul/OutputSamples/rel21/mc16_13TeV.photon.E65536.eta20_25.EVNT.merged.pool.root"]
configFlags.Output.HITSFileName = "myHITSnew.pool.root" configFlags.Output.HITSFileName = "myHITSnew.pool.root"
configFlags.Common.ProductionStep = ProductionStep.Simulation
# Sim configFlags # Sim configFlags
# Flags taken from old config:
configFlags.Sim.TruthStrategy = "MC15aPlus" configFlags.Sim.TruthStrategy = "MC15aPlus"
configFlags.Sim.PhysicsList = "FTFP_BERT_ATL" configFlags.Sim.PhysicsList = "FTFP_BERT_ATL"
configFlags.Sim.CalibrationRun = "Off" #"DeadLAr" configFlags.Sim.CalibrationRun = "Off" #"DeadLAr"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment