# 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}/combined_ts1_ts2_realisticDipoles.map ############################# # IHEP Field Map ############################# /comet/addFieldmap {ICEDUST_FIELDMAPS}/combined_ihep_bsds_ts3_x_orient.map /comet/setLastFieldmapTranslation 0 0 7650 mm #/comet/addFieldmap {ICEDUST_FIELDMAPS}/REG3_converted.map #/comet/setLastFieldmapScaling 1.0 #/comet/setLastFieldmapTranslation 0 0 0 m #/comet/setLastFieldmapYRotation 0