Closed zhaozhiwen closed 1 year ago
latest gemc treat coordinate of local field map as absolute coordinate in root volume. old gemc 2.3 treat as local coordinate in its mother volume. So latest gemc need to use DISPLACE_FIELDMAP option to load oxford_ptarget at correct location
There may be a bug when possible bug with multiple FIELD_PROPERTIES options with two field map are used.
solenoid_CLEOv8 is 1.4T hall soldnoid field along z axis, oxford_ptarget is 5T local solenoid field along x axis near z=-350cm I shoot e+ along -z direction and it should be bent by oxford_ptarget field toward toward phi=-90 direction. but the onscreen output as follows shows it goes along -z without changing direction
+++++here is how to repeat it ++++++++++++++++++++++++++++++++++++++++++++ source /site/env/syscshrc module load singularity/3.9.5 singularity shell -s /bin/tcsh /group/solid/apps/jeffersonlab_jlabce_tag2.5_digest:sha256:9b9a9ec8c793035d5bfe6651150b54ac298f5ad17dca490a8039c530d0302008_20220413_s3.9.5.sif cd /group/solid/solid_github/JeffersonLab/solid_gemc_test/analysis/field_test gemc beam.gcard -BEAM_P="e+,11*GeV,180*deg,0*deg" -BEAM_V="(0,0,0)cm" -FIELD_PROPERTIES="solenoid_CLEOv8, 10mm, G4ClassicalRK4,linear" -FIELD_PROPERTIES="oxford_ptarget, 1mm, G4ClassicalRK4,linear" -FIELD_VERBOSITY=10
+++++onscreen output +++++++++++++++++++++++++++++++++++++++++++++