5 """Configuring the Athena application for a 'track record' job"""
6 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
11 from AthenaConfiguration.ComponentFactory
import CompFactory
12 TrackRecordGenerator=CompFactory.TrackRecordGenerator
15 from SimulationConfig.SimEnums
import CavernBackground
16 if ConfigFlags.Sim.CavernBackground
is CavernBackground.Read:
17 kwargs.setdefault(
'TRSmearing', -1)
18 kwargs.setdefault(
'TRPSmearing', -1)
19 kwargs.setdefault(
'TRCollection',
"NeutronBG")
21 kwargs.setdefault(
'TRCollection',
'CosmicRecord')
22 kwargs.setdefault(
"TRSmearing", -1 )
23 kwargs.setdefault(
"TRPSmearing", -1 )
24 kwargs.setdefault(
'StopParticles',
False)
25 kwargs.setdefault(
'stopped_tminus', -25.)
26 kwargs.setdefault(
'stopped_tplus', 25.)
27 from RngComps.RngCompsConfig
import AthRNGSvcCfg
28 kwargs.setdefault(
'RndmSvc', acc.getPrimaryAndMerge(
AthRNGSvcCfg(ConfigFlags)).name)