# macro to include from other SimG4 macros to setup the fieldmaps in this # directory. # To locate the fieldmaps used in this script, you must create an alias called # ICEDUST_FIELDMAPS or an environment variable and use /control/getEnv. One of # the two following lines should be used in the calling script: # /control/alias ICEDUST_FIELDMAPS /path/to/fielmap/directory /control/getEnv ICEDUST_FIELDMAPS ############################# # TOSHIBA Field Maps ############################# /comet/addFieldmap {ICEDUST_FIELDMAPS}/cap1.map /comet/addFieldmap {ICEDUST_FIELDMAPS}/ts1.map /comet/addFieldmap {ICEDUST_FIELDMAPS}/ts2.map ############################# # IHEP Field Map ############################# /comet/addFieldmap {ICEDUST_FIELDMAPS}/combined_ihep_bsds_ts3.map /comet/setLastFieldmapTranslation 0 0 7650 mm /comet/setLastFieldmapYRotation 90 degree #/comet/addFieldmap {ICEDUST_FIELDMAPS}/REG3_converted.map #/comet/setLastFieldmapScaling 1.0 #/comet/setLastFieldmapTranslation 0 0 0 m #/comet/setLastFieldmapYRotation 0 ############################## ## Perfect, Artificial, Uniform Dipole field ############################## #/comet/addFieldmap {ICEDUST_FIELDMAPS}/Uniform_ts2_only_dipole_1T.map #/comet/setLastFieldmapScaling 0.056 ############################# # Dipole field # We reuse the same fieldmap translated and rotated several times ############################# #TS2_1 /comet/addFieldmap {ICEDUST_FIELDMAPS}/131129-dipole.map /comet/setLastFieldmapTranslation 0 0 4656.5 mm /comet/setLastFieldmapYRotation 0 rad #TS2_2 /comet/addFieldmap {ICEDUST_FIELDMAPS}/131129-dipole.map /comet/setLastFieldmapTranslation 16.4343 0 4970.09 mm /comet/setLastFieldmapYRotation 0.10472 rad #TS2_3 /comet/addFieldmap {ICEDUST_FIELDMAPS}/131129-dipole.map /comet/setLastFieldmapTranslation 65.5572 0 5280.24 mm /comet/setLastFieldmapYRotation 0.20944 rad #TS2_4 /comet/addFieldmap {ICEDUST_FIELDMAPS}/131129-dipole.map /comet/setLastFieldmapTranslation 146.83 0 5583.55 mm /comet/setLastFieldmapYRotation 0.314159 rad #TS2_5 /comet/addFieldmap {ICEDUST_FIELDMAPS}/131129-dipole.map /comet/setLastFieldmapTranslation 259.364 0 5876.71 mm /comet/setLastFieldmapYRotation 0.418879 rad #TS2_6 /comet/addFieldmap {ICEDUST_FIELDMAPS}/131129-dipole.map /comet/setLastFieldmapTranslation 401.924 0 6156.5 mm /comet/setLastFieldmapYRotation 0.523599 rad #TS2_7 /comet/addFieldmap {ICEDUST_FIELDMAPS}/131129-dipole.map /comet/setLastFieldmapTranslation 572.949 0 6419.86 mm /comet/setLastFieldmapYRotation 0.628319 rad #TS2_8 /comet/addFieldmap {ICEDUST_FIELDMAPS}/131129-dipole.map /comet/setLastFieldmapTranslation 770.566 0 6663.89 mm /comet/setLastFieldmapYRotation 0.733038 rad #TS2_9 /comet/addFieldmap {ICEDUST_FIELDMAPS}/131129-dipole.map /comet/setLastFieldmapTranslation 992.608 0 6885.93 mm /comet/setLastFieldmapYRotation 0.837758 rad #TS2_10 /comet/addFieldmap {ICEDUST_FIELDMAPS}/131129-dipole.map /comet/setLastFieldmapTranslation 1236.64 0 7083.55 mm /comet/setLastFieldmapYRotation 0.942478 rad #TS2_11 /comet/addFieldmap {ICEDUST_FIELDMAPS}/131129-dipole.map /comet/setLastFieldmapTranslation 1500 0 7254.58 mm /comet/setLastFieldmapYRotation 1.0472 rad #TS2_12 /comet/addFieldmap {ICEDUST_FIELDMAPS}/131129-dipole.map /comet/setLastFieldmapTranslation 1779.79 0 7397.14 mm /comet/setLastFieldmapYRotation 1.15192 rad #TS2_13 /comet/addFieldmap {ICEDUST_FIELDMAPS}/131129-dipole.map /comet/setLastFieldmapTranslation 2072.95 0 7509.67 mm /comet/setLastFieldmapYRotation 1.25664 rad #TS2_14 /comet/addFieldmap {ICEDUST_FIELDMAPS}/131129-dipole.map /comet/setLastFieldmapTranslation 2376.26 0 7590.94 mm /comet/setLastFieldmapYRotation 1.36136 rad #TS2_15 /comet/addFieldmap {ICEDUST_FIELDMAPS}/131129-dipole.map /comet/setLastFieldmapTranslation 2686.41 0 7640.07 mm /comet/setLastFieldmapYRotation 1.46608 rad #TS2_16 /comet/addFieldmap {ICEDUST_FIELDMAPS}/131129-dipole.map /comet/setLastFieldmapTranslation 3000 0 7656.5 mm /comet/setLastFieldmapYRotation 1.5708 rad