File tree Expand file tree Collapse file tree
sbndcode/LArSoftConfigurations/gen Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ sbnd_flux_g4bnb_1_0_0_fhc: {
236236 FluxType: "dk2nu"
237237 DetectorLocation: "SBND"
238238 FluxCopyMethod: "DIRECT"
239- FluxSearchPaths: "/cvmfs/sbnd.osgstorage.org/pnfs/fnal.gov/usr/sbnd/persistent/stash/fluxFiles/bnb/G4BNB/v1.1.0 /fhc/a/"
239+ FluxSearchPaths: "/cvmfs/sbnd.osgstorage.org/pnfs/fnal.gov/usr/sbnd/persistent/stash/fluxFiles/bnb/G4BNB/v1.1.1 /fhc/a/"
240240 FluxFiles: [ "NuBeam_production_BooNE_50m_I174000A_*.dk2nu.root" ]
241241}
242242
@@ -385,7 +385,7 @@ sbnd_genie_simple_rockbox: {
385385 # As we are changing the FV we need to recalculate the maximum path lengths
386386 # This file was generated by running with:
387387 # GeomScan: "flux: 10000 1.1 1"
388- GeomScan: "file: GENIE/sbnd_rock_maxpathlength_fluxG4_gdmlv02_06 .xml"
388+ GeomScan: "file: GENIE/sbnd_rock_maxpathlength_fluxG4v1.1.1_gdmlv02_06 .xml"
389389}
390390
391391# Rotated bucket configuration
Original file line number Diff line number Diff line change 77#
88pset_geom_scan = pset ['physics' ]['producers' ]['generator' ]['GeomScan' ]
99
10- geom_scan_flux_config = pset_geom_scan .split ('flux ' )[1 ][:2 ]
10+ geom_scan_flux_config = pset_geom_scan .split ('fluxG4v ' )[1 ][:5 ]
1111geom_scan_gdml_version = pset_geom_scan .split ('gdml' )[1 ][:6 ]
1212
1313print ('Using GeomScan file:' , pset_geom_scan )
2222pset_flux = pset ['physics' ]['producers' ]['generator' ]['FluxSearchPaths' ]
2323print ('Using:' , pset_flux , pset_gdml )
2424
25- # flux_config = pset_flux.split('config ')[1][0 ]
25+ flux_config = pset_flux .split ('G4BNB/v ' )[1 ][: 5 ]
2626gdml_version = pset_gdml .split ('sbnd_' )[1 ][:6 ]
2727
2828print ('\t -> gdml version:' , gdml_version )
29- # print('\t -> flux configuration:', flux_config)
29+ print ('\t -> flux configuration:' , flux_config )
3030
3131#
3232# Check that the two are the same, if not, need to regenerate the GeomScan file
3333#
3434message = 'Please regenerate the GeomScan file. Instructions are in fcl file make_genie_geomscan_file_sbnd.fcl.'
3535
36- # assert geom_scan_flux_config == flux_config, f"Have you updated/changed the flux files? {message}"
36+ assert geom_scan_flux_config == flux_config , f"Have you updated/changed the flux files? { message } "
3737
3838assert geom_scan_gdml_version == gdml_version , f"Have you updated/changed the GDML file? { message } "
3939
Original file line number Diff line number Diff line change @@ -326,7 +326,7 @@ end_qualifier_list
326326####################################
327327table_fragment_begin
328328 # currently, XML pandora files are installed in 'scripts':
329- pathPrepend(GDK2NUFLUXXML, /cvmfs/sbnd.osgstorage.org/pnfs/fnal.gov/usr/sbnd/persistent/stash/fluxFiles/bnb/G4BNB/v1.1.0/ GNuMIFlux.xml)
329+ pathPrepend(GDK2NUFLUXXML, /cvmfs/sbnd.osgstorage.org/pnfs/fnal.gov/usr/sbnd/persistent/stash/fluxFiles/bnb/G4BNB/GNuMIFlux.xml)
330330 pathPrepend(FW_SEARCH_PATH, ${SBNDCODE_DIR}/scripts)
331331 pathPrepend(FW_SEARCH_PATH, ${SBND_DATA_DIR}/CalibrationDatabase)
332332 pathPrepend(FW_SEARCH_PATH, /cvmfs/sbnd.osgstorage.org/pnfs/fnal.gov/usr/sbnd/persistent/stash)
You can’t perform that action at this time.
0 commit comments