Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:17:45

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 SIM.filter.calo = ""
0008 
0009 # Configure the regexSD for the BoxOfStraws gas_
0010 SIM.geometry.regexSensitiveDetector['BoxOfStrawsDet'] = {'Match': ['gas_'],
0011                                                          'OutputLevel': 4,
0012                                                          }
0013 
0014 
0015 # Disable userParticleHander for box of straws
0016 SIM.part.userParticleHandler = ""