Skip to content
Snippets Groups Projects
  1. Aug 31, 2017
  2. Jun 19, 2017
    • Stephen A. Wood's avatar
      Add THcRunParms. Get beam energy without db_run.dat · a7f5da2e
      Stephen A. Wood authored
        With this commit, db_run.dat is not needed in hcana
        If THcRunParms is used, hcana will get the beam momentum from the
        parameter "gpbeam" instead of db_run.dat.  To use, use the
        THaRun::SetRunParamClass method to set the run parameter class
        to "THcRunParameters".
      
        THaRun* run = new THaRun(RunFileName);
        run->SetRunParamClass("THcRunParameters");
      a7f5da2e
Loading