Skip to content
Snippets Groups Projects
Commit e06819ed authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'master-FixRandomEngineFlag' into 'master'

Remove duplicate Random.Engine flags

See merge request atlas/athena!22016
parents 8f606f04 9065609e
No related branches found
No related tags found
No related merge requests found
"""Construct ConfigFlags Beam Conditions Monitor Digitization
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
"""
from AthenaConfiguration.AthConfigFlags import AthConfigFlags
def createBCMCfgFlags():
"""Return an AthConfigFlags object with required flags"""
flags = AthConfigFlags()
# Run Inner Detector noise simulation?
flags.addFlag("Digitization.DoInnerDetectorNoise", True)
# Should pile-up digitization be done one bunch crossing at a time?
# Else all bunch crossings are provided at once.
flags.addFlag("Digitization.DoXingByXingPileUp", False)
# Name of MC EvtStore to overlay
flags.addFlag("Overlay.EventStore", "BkgEvent_0_SG")
# Name of the random number service to use
# of ("dSFMT", "Ranlux64", "Ranecu",)
flags.addFlag("Random.Engine", "dSFMT")
return flags
...@@ -28,8 +28,6 @@ ConfigFlags.join(createOverlayCfgFlags()) ...@@ -28,8 +28,6 @@ ConfigFlags.join(createOverlayCfgFlags())
ConfigFlags.lock() ConfigFlags.lock()
# Construct our accumulator to run # Construct our accumulator to run
acc = MainServicesSerialCfg() acc = MainServicesSerialCfg()
from StoreGate.StoreGateConf import StoreGateSvc # FIXME remove this once athena is fixed
acc.addService(StoreGateSvc("ConditionStore"))
acc.merge(PoolReadCfg(ConfigFlags)) acc.merge(PoolReadCfg(ConfigFlags))
acc.merge(InDetGMConfig(ConfigFlags)) # FIXME This sets up the whole ID geometry would be nicer just to set up min required for BCM acc.merge(InDetGMConfig(ConfigFlags)) # FIXME This sets up the whole ID geometry would be nicer just to set up min required for BCM
# Add configuration to write HITS pool file # Add configuration to write HITS pool file
......
...@@ -11,10 +11,6 @@ def _createCfgFlags(): ...@@ -11,10 +11,6 @@ def _createCfgFlags():
# e.g. 'CondDB', 'VertexOverrideEventFile.txt', 'VertexOverride.txt',"LongBeamspot" # e.g. 'CondDB', 'VertexOverrideEventFile.txt', 'VertexOverride.txt',"LongBeamspot"
acf.addFlag('Vertex.Source', 'CondDB' ) acf.addFlag('Vertex.Source', 'CondDB' )
# Name of the random number service to use
# of ("dSFMT", "Ranlux64", "Ranecu",)
acf.addFlag("Random.Engine", "dSFMT")
return acf return acf
......
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