Skip to content
Snippets Groups Projects
Commit 3bc56933 authored by John Derek Chapman's avatar John Derek Chapman Committed by Graeme Stewart
Browse files

Remove python/iParticleKiller.py, python/ISF_iParticleKillerConfig.py -...

Remove python/iParticleKiller.py, python/ISF_iParticleKillerConfig.py - configuration simplified and moved to ISF_Services. ATLASSIM-2352. Tagging: ISF_Example-00-02-60-02 (ISF_Example-00-02-60-02)

	* remove python/iParticleKiller.py,
	python/ISF_iParticleKillerConfig.py - configuration simplified and
	moved to ISF_Services. ATLASSIM-2352
	* Tagging: ISF_Example-00-02-60-02

2016-07-11  John Chapman  <John.Chapman@cern.ch>

	* test/ISF_Example_TestConfiguration.xml - remove obsolete ATN and
	RTT test configurations. All ISF tests are covered by the
	ISF_Validation package.  ATLASSIM-2995
	* Tagging: ISF_Example-00-02-60-01

2016-06-20  John Chapman  <John.Chapman@cern.ch>

	* python/ISF_Output.py (ISF_HITSStream): add HGTD to the list of
	possible subdetectors that we can record as simulated in the
	Simulation metadata. ATLASSIM-2789
	* Tagging: ISF_Example-00-02-60

...
(Long ChangeLog diff - truncated)


Former-commit-id: 6c9d7d89
parent cf30f648
No related branches found
No related tags found
No related merge requests found
......@@ -235,7 +235,7 @@ class ISF_HITSStream:
## Simulated detector flags: add each enabled detector to the simulatedDetectors list
simDets = []
for det in ['pixel','SCT','TRT','BCM','DBM','Lucid','FwdRegion','ZDC','ALFA','AFP','LAr','Tile','MDT','CSC','TGC','RPC','Micromegas','sTGC','Truth']:
for det in ['pixel','SCT','TRT','BCM','DBM','Lucid','FwdRegion','ZDC','ALFA','AFP','LAr','HGTD','Tile','MDT','CSC','TGC','RPC','Micromegas','sTGC','Truth']:
attrname = det+"_on"
checkfn = getattr(DetFlags.geometry, attrname, None)
if checkfn is None:
......
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
"""
Tools configurations for ISF
KG Tan, 17/06/2012
"""
from AthenaCommon.CfgGetter import getPrivateTool,getPrivateToolClone,getPublicTool,getPublicToolClone,\
getService,getServiceClone,getAlgorithm,getAlgorithmClone
from AthenaCommon.Constants import * # FATAL,ERROR etc.
from AthenaCommon.SystemOfUnits import *
from AthenaCommon.DetFlags import DetFlags
from ISF_Config.ISF_jobProperties import ISF_Flags # IMPORTANT: Flags must be set before tools are retrieved
cache = {}
def usingParticleKiller():
global cache
return bool(cache)
def getIParticleKiller():
global cache
if 'iParticleKiller' in cache:
i = cache['iParticleKiller']
else:
from iParticleKiller import iParticleKiller
i = iParticleKiller()
cache['iParticleKiller'] = i
return i
def getParticleKillerSvc(name="ISF_ParticleKillerSvc", **kwargs):
return getIParticleKiller().getSimSvc()
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
from Gaudi.Configuration import *
class iParticleKiller:
def __init__(self):
from AthenaCommon.AppMgr import ServiceMgr as svcMgr
from ISF_Services.ISF_ServicesConf import ISF__ParticleKillerSimSvc
ParticleKiller = ISF__ParticleKillerSimSvc('ParticleKillerSvc')
ParticleKiller.Identifier = "ParticleKiller"
svcMgr += ParticleKiller
self.__simSvc__ = ParticleKiller
def getSimSvc(self):
return self.__simSvc__
This diff is collapsed.
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