Skip to content
Snippets Groups Projects
  • hallc-online's avatar
    43e57c65
    Modify src/THcRaster.cxx · 43e57c65
    hallc-online authored
    Add default values for optional values of
    +   fgbpma_zpos = 370.82;
        fgbpmb_zpos = 224.96 ;// cm
        fgbpmc_zpos = 129.30 ;// cm
    
    instead of zero.
    
    Otherwise the code would get NaN for the calculated target beam position
    since it was divied by zero unless this the parameters are set.
    43e57c65
    History
    Modify src/THcRaster.cxx
    hallc-online authored
    Add default values for optional values of
    +   fgbpma_zpos = 370.82;
        fgbpmb_zpos = 224.96 ;// cm
        fgbpmc_zpos = 129.30 ;// cm
    
    instead of zero.
    
    Otherwise the code would get NaN for the calculated target beam position
    since it was divied by zero unless this the parameters are set.