Skip to content
Snippets Groups Projects
Commit 07c66fcb authored by Elmar Ritsch's avatar Elmar Ritsch Committed by Graeme Stewart
Browse files

back-port 'FullG4_LongLived' setup and make 'MC12G4_longLived' an alias of it...

back-port 'FullG4_LongLived' setup and make 'MC12G4_longLived' an alias of it for backward compatibility (ISF_Config-00-02-03-02)

	* python/ISF_MainConfig.py, python/ISF_ConfigConfigDb.py: back-port
	'FullG4_LongLived' setup and make 'MC12G4_longLived' an alias of it for
	backward compatibility
	* tagging ISF_Config-00-02-03-02
parent c719978e
No related merge requests found
......@@ -67,6 +67,7 @@ addAlgorithm("ISF_Config.ISF_MainConfig.getKernel_MC12G4", "ISF_Ker
addAlgorithm("ISF_Config.ISF_MainConfig.getKernel_MC12G4_longLived", "ISF_Kernel_MC12G4_longLived")
addAlgorithm("ISF_Config.ISF_MainConfig.getKernel_PassBackG4", "ISF_Kernel_PassBackG4")
addAlgorithm("ISF_Config.ISF_MainConfig.getKernel_FullG4", "ISF_Kernel_FullG4")
addAlgorithm("ISF_Config.ISF_MainConfig.getKernel_FullG4_LongLived", "ISF_Kernel_FullG4_LongLived")
addAlgorithm("ISF_Config.ISF_MainConfig.getKernel_MC12G4_IDOnly", "ISF_Kernel_MC12G4_IDOnly")
addAlgorithm("ISF_Config.ISF_MainConfig.getKernel_MC12G4_IDCalo", "ISF_Kernel_MC12G4_IDCalo")
addAlgorithm("ISF_Config.ISF_MainConfig.getKernel_CosmicsG4", "ISF_Kernel_CosmicsG4")
......
......@@ -226,6 +226,16 @@ def getKernel_GenericG4Only(name="ISF_Kernel_GenericG4Only", **kwargs):
def getKernel_FullG4(name="ISF_Kernel_FullG4", **kwargs):
return getKernel_GenericG4Only(name, **kwargs)
############## Simulator: FullG4_LongLived ###############
def getKernel_FullG4_LongLived(name="ISF_Kernel_MC12G4_LongLived", **kwargs):
kwargs.setdefault("BeamPipeSimulationSelectors" , [ 'ISF_DefaultLongLivedGeant4Selector' ] )
kwargs.setdefault("IDSimulationSelectors" , [ 'ISF_DefaultLongLivedGeant4Selector' ] )
kwargs.setdefault("CaloSimulationSelectors" , [ 'ISF_DefaultLongLivedGeant4Selector' ] )
kwargs.setdefault("MSSimulationSelectors" , [ 'ISF_DefaultLongLivedGeant4Selector' ] )
kwargs.setdefault("CavernSimulationSelectors" , [ 'ISF_DefaultParticleKillerSelector' ] )
kwargs.setdefault("ParticleBroker" , 'ISF_LongLivedParticleBrokerSvc' )
return getKernel_GenericG4Only(name, **kwargs)
############## Simulator: PassBackG4 ###############
def getKernel_PassBackG4(name="ISF_Kernel_PassBackG4", **kwargs):
kwargs.setdefault("ParticleBroker" , "ISF_ParticleBrokerSvcNoOrdering" )
......@@ -244,13 +254,8 @@ def getKernel_CosmicsG4(name="ISF_Kernel_CosmicsG4", **kwargs):
############## Simulator: MC12G4_longLived ###############
def getKernel_MC12G4_longLived(name="ISF_Kernel_MC12G4_longLived", **kwargs):
kwargs.setdefault("BeamPipeSimulationSelectors" , [ 'ISF_DefaultLongLivedGeant4Selector' ] )
kwargs.setdefault("IDSimulationSelectors" , [ 'ISF_DefaultLongLivedGeant4Selector' ] )
kwargs.setdefault("CaloSimulationSelectors" , [ 'ISF_DefaultLongLivedGeant4Selector' ] )
kwargs.setdefault("MSSimulationSelectors" , [ 'ISF_DefaultLongLivedGeant4Selector' ] )
kwargs.setdefault("CavernSimulationSelectors" , [ 'ISF_DefaultParticleKillerSelector' ] )
kwargs.setdefault("ParticleBroker" , 'ISF_LongLivedParticleBrokerSvc' )
return getKernel_GenericG4Only(name, **kwargs)
# Legacy only
return getKernel_FullG4_LongLived(name, **kwargs)
############## Simulator: MC12G4 ###############
def getKernel_MC12G4(name="ISF_Kernel_MC12G4", **kwargs):
......
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