Skip to content
Snippets Groups Projects
Commit f72d39c0 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Resolve "Handle PFRICH in `npsim.py`"

parent ee87f523
No related branches found
No related tags found
No related merge requests found
...@@ -47,10 +47,17 @@ if __name__ == "__main__": ...@@ -47,10 +47,17 @@ if __name__ == "__main__":
name='ParticleSelectFilter/OpticalPhotonSelector', name='ParticleSelectFilter/OpticalPhotonSelector',
parameter={"particle": "opticalphoton"}, parameter={"particle": "opticalphoton"},
) )
# This could probably be a substring
SIM.filter.mapDetFilter['DRICH'] = 'opticalphotons' SIM.filter.mapDetFilter['DRICH'] = 'opticalphotons'
SIM.filter.mapDetFilter['MRICH'] = 'opticalphotons'
SIM.filter.mapDetFilter['PFRICH'] = 'opticalphotons'
SIM.filter.mapDetFilter['DIRC'] = 'opticalphotons'
# Use the optical tracker for the DRICH # Use the optical tracker for the DRICH
SIM.action.mapActions['DRICH'] = 'Geant4OpticalTrackerAction' SIM.action.mapActions['DRICH'] = 'Geant4OpticalTrackerAction'
SIM.action.mapActions['MRICH'] = 'Geant4OpticalTrackerAction'
SIM.action.mapActions['PFRICH'] = 'Geant4OpticalTrackerAction'
SIM.action.mapActions['DIRC'] = 'Geant4OpticalTrackerAction'
# Parse remaining options (command line and steering file override above) # Parse remaining options (command line and steering file override above)
SIM.parseOptions() SIM.parseOptions()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment