Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-06-30 07:54:56

0001 from DDSim.DD4hepSimulation import DD4hepSimulation
0002 SIM = DD4hepSimulation()
0003 
0004 # make ddsim find the sensitive detector for box of straws
0005 SIM.action.calorimeterSDTypes = ['sensitive']
0006 
0007 # Trigger printout of event seed
0008 SIM.random.enableEventSeed = True
0009 
0010 # Fix random seed for all events (debugging only):
0011 # SIM.random.seed = <number>
0012 
0013 SIM.filter.calo = ""
0014 
0015 # Configure the regexSD for the BoxOfStraws gas_
0016 SIM.geometry.regexSensitiveDetector['BoxOfStrawsDet'] = {'Match': ['gas_'],
0017                                                          'OutputLevel': 4,
0018                                                          }
0019 
0020 
0021 # Disable userParticleHander for box of straws
0022 SIM.part.userParticleHandler = ""