Planning for the split

NuTools is shared by both LArSoft and NOvA. It contains a number of utilities and interfaces to event generators. Since NOvA and LArSoft often use different releases of the event generators, and also different releases of art, it becomes complicated to keep everything up to date. We think the time has come to revisit NuTools and provide the fuctionality in separately maintained packages. A committe of interested parties from NOvA and LArSoft met May 23 to discuss options.

The current compontents of nutools are:

  • EventDisplayBase
  • EventGeneratorBase
    • CRY
    • GENIE
    • GiBUU
    • GeneratedEventTimestamp_plugin
  • G4Base
  • G4NuPhysicsLists
  • IFDatabase
  • MagneticField
  • NuBeamWeights
  • NuReweight
  • ParticleNavigation
  • RandomUtils


To be dropped

The funtionality of G4NuPhysicsLists is now in geant4. We believe that G4NuPhysicsLists can be dropped.

NuBeamWeights contains NuMI SKZP flux weighting and is considered obsolete. It will be dropped.


Both LArSoft and NOvA use CRY. The CRY interface remains as the sole component of nutools.


RandomUtils is unused by NOvA. It will be split out into nurandom and distributed with larsoft.


G4Base, MagneticField, and ParticleNavigation will move into nug4.


EventDisplayBase will be split out into nuevdb. It will continue to be owned by NOvA. LArSoft also uses EventDisplayBase, but hopes to move to another event display at some point. There is speculation that NOvA and LArSoft might prefer to maintain separate copies in their own code base.

We believe that IFDatabase can be deprecated. However, there is some entanglement with EventDisplayBase to be sorted out.


EventGeneratorBase and NuReweight will be split out into nugen. The CRY interface will not be part of nugen.

This will also be the home for the larsim and NOvA genieGen_modules. The modules are nearly the same but have two different pot datastructures. The new genieGen module will support both datastructures. Details TBD.


  • The first component of library names will change
  • Header paths will change
  • Migration scripts will be maintained in nutools.
  • At the point where nutools ceases to exist, the migration scripts will also be available in larsoft.


  • Work will begin immediately.
  • This will be an iterative process.
  • We will start with one or two easy steps in the first release.
  • With the release of nutools v3_03_00, only EventGeneratorBase/CRY remains in nutools.