Skip to content
Snippets Groups Projects
Commit 3ad47c76 authored by Blaz Leban's avatar Blaz Leban
Browse files

Add Common.ProductionStep flag and fix typo

parent e5ec8432
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ def ISFCollectionMergerCfg(flags,name="ISF_CollectionMerger", **kwargs):
kwargs.setdefault( "InputTGCHits", [ ] )
hardscatterSG=""
try:
if flags.Sim.DoFullChain and (flags.Digitization.Pileup is True):
if flags.Sim.DoFullChain and (flags.Digitization.PileUp is True):
hardscatterSG = "OriginalEvent_SG+"
except RuntimeError as err:
msg = logging.getLogger(name)
......
......@@ -5,6 +5,7 @@ Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
"""
from argparse import ArgumentParser
from AthenaConfiguration.Enums import ProductionStep
from AthenaConfiguration.ComponentFactory import CompFactory
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
......@@ -51,9 +52,9 @@ def defaultTestFlags(configFlags, args):
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.Output.HITSFileName = "myHITSnew.pool.root"
configFlags.Common.ProductionStep = ProductionStep.Simulation
# Sim configFlags
# Flags taken from old config:
configFlags.Sim.TruthStrategy = "MC15aPlus"
configFlags.Sim.PhysicsList = "FTFP_BERT_ATL"
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