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

python/ISF_Output.py - protection against simFlags.SimulationFlavour not being...

python/ISF_Output.py - protection against simFlags.SimulationFlavour not being set. ATLASSIM-172, ATLASSIM-2733. Tagging: ISF_Example-00-02-56 (ISF_Example-00-02-56)

	* python/ISF_Output.py - protection against
	simFlags.SimulationFlavour not being set. ATLASSIM-172,
	ATLASSIM-2733.
	* Tagging: ISF_Example-00-02-56

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

	* python/ISF_Output.py - patch to catch both LongLived and
	longLived in Simulator names. ATLASSIM-172
	* Tagging: ISF_Example-00-02-55

	* python/ISF_Output.py (ISF_HITSStream): remove attempts to write
	out obsolete SimpleScintillatorHitCollection and
	ScintillatorHitCollection classes. ATLASSIM-2480
	* Tagging: ISF_Example-00-02-54

2016-04-06  Zach Marshall <ZLMarshall@lbl.gov>
	* Changes for the new proposed version of quasi-stable particle
	simulation's truth strategy. ATLASSIM-172
...
(Long ChangeLog diff - truncated)
parent 0bd116b8
No related branches found
No related tags found
No related merge requests found
################################################################################
# Package: ISF_Example
################################################################################
# Declare the package name:
atlas_subdir( ISF_Example )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PRIVATE
TestPolicy )
# Install files from the package:
atlas_install_python_modules( python/*.py )
atlas_install_joboptions( share/*.py )
atlas_install_scripts( scripts/*.py )
......@@ -41,6 +41,10 @@ class ISF_HITSStream:
stream1.ItemList = ["EventInfo#*",
"McEventCollection#TruthEvent",
"JetCollection#*"]
if simFlags.SimulationFlavour() is not None and 'ongLived' in simFlags.SimulationFlavour(): # to catch LongLived and longLived
stream1.ItemList += ["McEventCollection#GEN_EVENT"]
from PyJobTransforms.trfUtils import releaseIsOlderThan
if releaseIsOlderThan(20,0):
#Hack to maintain compatibility of G4AtlasApps trunk with
......@@ -66,7 +70,7 @@ class ISF_HITSStream:
stream1.ItemList += ["CaloCalibrationHitContainer#*",
"LArHitContainer#*",
"TileHitVector#*",
"SimpleScintillatorHitCollection#*",
#"SimpleScintillatorHitCollection#*",
"TrackRecordCollection#MuonEntryLayer"]
## Muon
if DetFlags.Muon_on():
......@@ -100,7 +104,7 @@ class ISF_HITSStream:
stream1.ItemList += ["AFP_TDSimHitCollection#*","AFP_SIDSimHitCollection#*"]
## Ancillary scintillators
stream1.ItemList += ["ScintillatorHitCollection#*"]
#stream1.ItemList += ["ScintillatorHitCollection#*"]
## TimingAlg
stream1.ItemList +=["RecoTimingObj#EVNTtoHITS_timings"]
......@@ -108,10 +112,10 @@ class ISF_HITSStream:
## Add cosmics and test beam configuration hit persistency if required cf. geom tag
layout = simFlags.SimLayout.get_Value()
## add xAOD::TrackParticles output collection Parametric Simulation
## add xAOD::TrackParticles output collection Parametric Simulation
if simFlags.SimulationFlavour == "ParametricSimulation":
stream1.ItemList +=["xAOD::TrackParticleContainer#*",
"xAOD::TrackParticleAuxContainer#*"]
"xAOD::TrackParticleAuxContainer#*"]
#from AthenaCommon.GlobalFlags import globalflags
#layout = globalflags.DetDescrVersion.get_Value()
if "tb" not in layout:
......
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