SND@LHC Software
Loading...
Searching...
No Matches
CMBG_conf Namespace Reference

Functions

 configure (CMBG, ship_geo)
 

Function Documentation

◆ configure()

CMBG_conf.configure (   CMBG,
  ship_geo 
)

Definition at line 5 of file CMBG_conf.py.

5def configure(CMBG, ship_geo):
6 #handles external variables for the Cosmic Muon Backgorund Generator within FairShip
7 Z1 = ship_geo.MuonStation3.z # 3900
8 Z2 = ship_geo.vetoStation.z # -1968
9 Z3 = ship_geo.chambers.Tub1length # 250
10 zmiddle = (Z1 + (Z2-2*Z3))/2 # 716
11
12 # CMBG production area
13 CMBG.xdist = 3000 # production area size [cm]
14 CMBG.zdist = 9000 # production area size [cm]
15 # DetectorBox
16 CMBG.yBox = 600 # box top layer [cm]
17 CMBG.xBox = 300 # box side layer [cm]
18 CMBG.zBox = 3650 # box length [cm]
19 CMBG.z0 = zmiddle # relative coordinate system [cm] (Z_muonstation + (Z_veto - 2 * Z_Tub1))/2,... Z_veto <0 ! ->z0 = 716, sets the middle of the production area
20 #setup
21 CMBG.n_EVENTS = 400000; # #simulated events per "spill"
22 CMBG.minE = 1.0 #low energy limit for the Low-energy simulation [GeV]