Project

General

Profile

Bug #11794

nutools and genie v2_10_4

Added by Lynn Garren over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
02/22/2016
Due date:
% Done:

0%

Estimated time:
Spent time:
Occurs In:
Experiment:
-
Co-Assignees:
Duration:

Description

nutools EventGeneratorBase/GENIE/GENIEHelper.cxx contains this code:

  void GENIEHelper::ReadXSecTable()
  {
    /// determine which cross section table to use
    /// fully expand the path

    // priority order:
    //    fcl fEnvironment GSPLOAD
    //    fcl XSecTable
    //    $GSPLOAD in environment
    //    default 'gxspl-NuMIsmall.xml'

    if ( fXSecTable == "" ) {
      // stand-alone value is not set
      const char* gspload_alt = std::getenv("GSPLOAD");
      if ( ! gspload_alt ) {
        const char* gspload_dflt = "gxspl-NuMIsmall.xml";  // fall back
        gspload_alt = gspload_dflt;
      }
      fXSecTable = std::string(gspload_alt);
    }

However, with genie 2.10.4, gxspl-NuMIsmall.xml cannot be found. Is the file inadvertently missing, or should a different file be used?

History

#1 Updated by Lynn Garren over 3 years ago

It seems that genie_xsec v2_8_6a contains gxspl-NuMIsmall.xml, but genie_xsec v2_10_2 does not include this file.

#2 Updated by Robert Hatcher over 3 years ago

Users can override the default via the fcl file:

physics.producers.generator.XSecTable:  "gxspl-FNALsmall.xml" 

See: GENIEHelper ( https://cdcvs.fnal.gov/redmine/projects/nutools/wiki/GENIEHelper )

The current name is gxspl-FNALsmall.xml (to accommodate the non-NuMI expts), but really it should be picked up via genie_xsec ups product which sets e.g.:

$ echo $GENIEXSECFILE 
/grid/fermiapp/products/nova/externals/genie_xsec/v2_10_2/NULL/defaultplusccmec/data/gxspl-FNALsmall.xml

I think I made changes to GENIE R-2_10_X so that env variables can be used for the fcl parameter value -- I'll try to validate this and change this default to $GENIEXSECFILE

#3 Updated by Lynn Garren over 3 years ago

  • Status changed from Assigned to Resolved

A new genie.fcl file has been committed to larsim.

#4 Updated by Lynn Garren over 3 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF