diff --git a/SimG4Core/Application/python/g4SimHits_cfi.py b/SimG4Core/Application/python/g4SimHits_cfi.py index a941a3ddfa78f..5da781a5d13b8 100644 --- a/SimG4Core/Application/python/g4SimHits_cfi.py +++ b/SimG4Core/Application/python/g4SimHits_cfi.py @@ -694,6 +694,8 @@ from Configuration.Eras.Modifier_h2tb_cff import h2tb h2tb.toModify(g4SimHits, OnlySDs = ['EcalSensitiveDetector', 'CaloTrkProcessing', 'HcalTB06BeamDetector', 'HcalSensitiveDetector'], + ECalSD = dict( + TestBeam = True ), CaloSD = dict( EminHits = [0.0, 0.0, 0.0, 0.0, 0.0], TmaxHits = [1000.0, 1000.0, 1000.0, 1000.0, 2000.0] ), @@ -723,5 +725,14 @@ from Configuration.Eras.Modifier_hgcaltb_cff import hgcaltb hgcaltb.toModify(g4SimHits, - OnlySDs = ['AHcalSensitiveDetector', 'HGCSensitiveDetector', 'HGCalTB1601SensitiveDetector', 'HcalTB06BeamDetector'] + OnlySDs = ['AHcalSensitiveDetector', 'HGCSensitiveDetector', 'HGCalSensitiveDetector', 'HGCalTB1601SensitiveDetector', 'HcalTB06BeamDetector'], + NonBeamEvent = True, + UseMagneticField = False, + CaloSD = dict( + EminHits = [0.0, 0.0, 0.0, 0.0, 0.0], + TmaxHits = [1000.0, 1000.0, 1000.0, 1000.0, 2000.0] ), + CaloTrkProcessing = dict( + TestBeam = True ), + HCalSD = dict( + ForTBHCAL = True) )