diff --git a/macros/NextFlex_ovlp.config.mac b/macros/NextFlex_ovlp.config.mac new file mode 100644 index 000000000..fa21501b0 --- /dev/null +++ b/macros/NextFlex_ovlp.config.mac @@ -0,0 +1,81 @@ +## ---------------------------------------------------------------------------- +## nexus | NextFlex.config.mac +## +## Initialization macro to check overlaps in the NextFlex detector +## +## The NEXT Collaboration +## ---------------------------------------------------------------------------- + +### GEOMETRY + +# GAS SETTING +/Geometry/NextFlex/gas enrichedXe +/Geometry/NextFlex/gas_pressure 15. bar +/Geometry/NextFlex/gas_temperature 300. kelvin + +# ACTIVE +/Geometry/NextFlex/active_length 116. cm +/Geometry/NextFlex/active_diam 100. cm + +# FIELD CAGE +/Geometry/NextFlex/buffer_length 280. mm + +/Geometry/NextFlex/cathode_transparency .98 +/Geometry/NextFlex/anode_transparency .88 +/Geometry/NextFlex/gate_transparency .88 + +/Geometry/NextFlex/el_gap_length 10. mm +/Geometry/NextFlex/el_field_on false + +/Geometry/NextFlex/fc_wls_mat TPB + +/Geometry/NextFlex/fc_with_fibers true +/Geometry/NextFlex/fiber_mat EJ280 +/Geometry/NextFlex/fiber_claddings 2 + +# ENERGY PLANE +/Geometry/NextFlex/ep_with_PMTs false +/Geometry/NextFlex/ep_with_teflon true +/Geometry/NextFlex/ep_copper_thickness 12. cm +/Geometry/NextFlex/ep_wls_mat TPB + +# TRACKING PLANE +/Geometry/NextFlex/tp_copper_thickness 12. cm +/Geometry/NextFlex/tp_teflon_thickness 5. mm +/Geometry/NextFlex/tp_teflon_hole_diam 7. mm +/Geometry/NextFlex/tp_wls_mat TPB +/Geometry/NextFlex/tp_kapton_anode_dist 12. mm +/Geometry/NextFlex/tp_sipm_sizeX 1.3 mm +/Geometry/NextFlex/tp_sipm_sizeY 1.3 mm +/Geometry/NextFlex/tp_sipm_sizeZ 2.0 mm +/Geometry/NextFlex/tp_sipm_pitchX 15. mm +/Geometry/NextFlex/tp_sipm_pitchY 15. mm + +# ICS +/Geometry/NextFlex/ics_thickness 12. cm + +### GENERATOR +# Kripton +/Generator/Kr83mGenerator/region AD_HOC +/Geometry/NextFlex/specific_vertex 0. 0. 580. mm + + +### PHYSICS +/PhysicsList/Nexus/clustering false +/PhysicsList/Nexus/drift false +/PhysicsList/Nexus/electroluminescence false + + +### VERBOSITY +/control/verbose 0 +/run/verbose 0 +/event/verbose 0 +/tracking/verbose 0 + +/process/em/verbose 0 + + +### CONTROL +/nexus/random_seed -1 +/nexus/persistency/start_id 0 +/nexus/persistency/output_file NextFlex_ovlp.next diff --git a/macros/NextFlex_ovlp.init.mac b/macros/NextFlex_ovlp.init.mac new file mode 100644 index 000000000..b5f7fc5c6 --- /dev/null +++ b/macros/NextFlex_ovlp.init.mac @@ -0,0 +1,36 @@ +## ---------------------------------------------------------------------------- +## nexus | NextFlex_ovlp.init.mac +## +## Initialization macro to check overlaps in the NextFlex detector +## +## The NEXT Collaboration +## ---------------------------------------------------------------------------- + +### GEOMETRY +/nexus/RegisterGeometry NextFlex + + +### GENERATOR +/nexus/RegisterGenerator Kr83mGenerator + + +### PERSISTENCY MANAGER +/nexus/RegisterPersistencyManager PersistencyManager + + +### ACTIONS +/nexus/RegisterRunAction DefaultRunAction +/nexus/RegisterEventAction DefaultEventAction +/nexus/RegisterTrackingAction DefaultTrackingAction + + +### PHYSICS +/PhysicsList/RegisterPhysics G4EmStandardPhysics_option4 +/PhysicsList/RegisterPhysics G4DecayPhysics +/PhysicsList/RegisterPhysics G4RadioactiveDecayPhysics +/PhysicsList/RegisterPhysics NexusPhysics +/PhysicsList/RegisterPhysics G4StepLimiterPhysics + + +### EXTRA CONFIGURATION +/nexus/RegisterMacro macros/NextFlex_ovlp.config.mac diff --git a/pytest/macros_test.py b/pytest/macros_test.py index 9032949bc..9f4d256e5 100644 --- a/pytest/macros_test.py +++ b/pytest/macros_test.py @@ -22,7 +22,7 @@ def check_list(NEXUSDIR): NEXUSDIR + "/macros/NEW.init.mac", NEXUSDIR + "/macros/NEXT100_ovlp.init.mac", NEXUSDIR + "/macros/NEXT100opt_ovlp.init.mac", - NEXUSDIR + "/macros/NextFlex_fullKr.init.mac", + NEXUSDIR + "/macros/NextFlex_ovlp.init.mac", NEXUSDIR + "/macros/NextTonScale.init.mac", NEXUSDIR + "/macros/black_box.init.mac"]