diff --git a/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts10.py b/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts10.py index dd9894e8510f55f0fb5dcfc88a3ca7c35e6fc10c..f5c4d1b8e5654e4576db52173883c6964650ff34 100644 --- a/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts10.py +++ b/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts10.py @@ -8,7 +8,8 @@ ######################################################### atlasG4log.info("G4 TRT Config: Setting TRT cut") -rom AthenaCommon.CfgGetter import getService -getService('DetectorGeometrySvc').RegionCreators['TRTPhysicsRegionTool'].ElectronCut=10. #FIXME Units?! +from AthenaCommon.CfgGetter import getService +import AthenaCommon.SystemOfUnits as Units +getService('DetectorGeometrySvc').RegionCreators['TRTPhysicsRegionTool'].ElectronCut=10.*Units.mm # FIXME: Is it correct to alter only the e- cut and leave the e+ and # photon cuts unchanged? diff --git a/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts100.py b/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts100.py index d9ca3305de14bb9783f425f926a7a50416770de5..bc2aade57f1138fd9c85805ad7c18fdbf8884ef6 100644 --- a/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts100.py +++ b/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts100.py @@ -9,6 +9,7 @@ atlasG4log.info("G4 TRT Config: Setting TRT cut") from AthenaCommon.CfgGetter import getService -getService('DetectorGeometrySvc').RegionCreators['TRTPhysicsRegionTool'].ElectronCut=100. #FIXME Units?! +import AthenaCommon.SystemOfUnits as Units +getService('DetectorGeometrySvc').RegionCreators['TRTPhysicsRegionTool'].ElectronCut=100.*Units.mm # FIXME: Is it correct to alter only the e- cut and leave the e+ and # photon cuts unchanged? diff --git a/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts5.py b/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts5.py index f48734d3334dc5c4037623cc7f409c1091f80f67..bafea42e7fe4db860c1b1fbad8385e864d6a0ff4 100644 --- a/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts5.py +++ b/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts5.py @@ -9,6 +9,7 @@ atlasG4log.info("G4 TRT Config: Setting TRT cut") from AthenaCommon.CfgGetter import getService -getService('DetectorGeometrySvc').RegionCreators['TRTPhysicsRegionTool'].ElectronCut=5. #FIXME Units?! +import AthenaCommon.SystemOfUnits as Units +getService('DetectorGeometrySvc').RegionCreators['TRTPhysicsRegionTool'].ElectronCut=5.*Units.mm # FIXME: Is it correct to alter only the e- cut and leave the e+ and # photon cuts unchanged? diff --git a/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts50.py b/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts50.py index 81ba7fe3909663bb7764fa24c94d94aa4b10cff3..907723705e3a25745ad6f9c722a36405a00b5a22 100644 --- a/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts50.py +++ b/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts50.py @@ -9,6 +9,7 @@ atlasG4log.info("G4 TRT Config: Setting TRT cut") from AthenaCommon.CfgGetter import getService -getService('DetectorGeometrySvc').RegionCreators['TRTPhysicsRegionTool'].ElectronCut=50. #FIXME Units?! +import AthenaCommon.SystemOfUnits as Units +getService('DetectorGeometrySvc').RegionCreators['TRTPhysicsRegionTool'].ElectronCut=50.*Units.mm # FIXME: Is it correct to alter only the e- cut and leave the e+ and # photon cuts unchanged? diff --git a/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts500.py b/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts500.py index 97ac91fb58bfeaae003be154735ef3342acd416e..a7bd5a1aee38a20abc65da979b0e63e2f828f419 100644 --- a/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts500.py +++ b/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts500.py @@ -9,6 +9,7 @@ atlasG4log.info("G4 TRT Config: Setting TRT cut") from AthenaCommon.CfgGetter import getService -getService('DetectorGeometrySvc').RegionCreators['TRTPhysicsRegionTool'].ElectronCut=500. #FIXME Units?! +import AthenaCommon.SystemOfUnits as Units +getService('DetectorGeometrySvc').RegionCreators['TRTPhysicsRegionTool'].ElectronCut=500.*Units.mm # FIXME: Is it correct to alter only the e- cut and leave the e+ and # photon cuts unchanged? diff --git a/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts_Ar15mm_Xe25mm.py b/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts_Ar15mm_Xe25mm.py new file mode 100644 index 0000000000000000000000000000000000000000..bc5f27d1b9fc3e7d7181c51be2986a034e42541c --- /dev/null +++ b/Simulation/SimulationJobOptions/share/g4/postInclude.TRTCuts_Ar15mm_Xe25mm.py @@ -0,0 +1,15 @@ +######################################################### +# +# SimulationJobOptions/postInclude.TRTCuts_Ar15mm_Xe25um.py +# +# For a special production to evaluate the effect of high +# energy deltas on HIP trigger efficiency. +######################################################### + +atlasG4log.info("G4 TRT Config: Setting TRT cut") +from AthenaCommon.CfgGetter import getService +import AthenaCommon.SystemOfUnits as Units +getService('DetectorGeometrySvc').RegionCreators['TRTPhysicsRegionTool'].ElectronCut=0.025*Units.mm +getService('DetectorGeometrySvc').RegionCreators['TRTPhysicsRegionTool'].PositronCut=0.025*Units.mm +getService('DetectorGeometrySvc').RegionCreators['TRT_ArPhysicsRegionTool'].ElectronCut=15.*Units.mm +getService('DetectorGeometrySvc').RegionCreators['TRT_ArPhysicsRegionTool'].PositronCut=15.*Units.mm