Skip to content

Commit

Permalink
Change some of the defaults of FullSim for Test Beam simultion
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunanda committed Oct 20, 2023
1 parent e4bfeac commit bbc1cef
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion SimG4Core/Application/python/g4SimHits_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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] ),
Expand Down Expand Up @@ -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)
)

0 comments on commit bbc1cef

Please sign in to comment.