Project

General

Profile

Bug #20994

prodsingle_mu_bnblike.fcl (and possibly other fcls) use an outdated hack to ensure the correct throwing distribution is used

Added by Dominic Brailsford about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
High
Category:
Simulation
Start date:
10/02/2018
Due date:
% Done:

0%

Estimated time:
First Occurred:
Occurs In:
Duration:

Description

Trying to run prodsingle_mu_bnblike.fcl with v07_06_01 UPS sbndcode displays the following error:

%MSG-s ArtException: SingleGen:generator@Construction 02-Oct-2018 11:18:49 CDT ModuleConstruction
cet::exception caught in art
---- Configuration BEGIN

====================================================================================================
!! The following modules have been misconfigured: !!

Module label: generator
module_type : SingleGen
Any parameters prefaced with '#' are optional.
Unsupported parameters:
+ PHist                          [ /cvmfs/sbnd.opensciencegrid.org/products/sbnd/sbndcode/v07_06_01/fcl/prodsingle_mu_bnblike.fcl:11 ]
+ PHist[0] [ /cvmfs/sbnd.opensciencegrid.org/products/sbnd/sbndcode/v07_06_01/fcl/prodsingle_mu_bnblike.fcl:11 ]
+ ThetaXzYzHist [ /cvmfs/sbnd.opensciencegrid.org/products/sbnd/sbndcode/v07_06_01/fcl/prodsingle_mu_bnblike.fcl:15 ]
+ ThetaXzYzHist[0] [ /cvmfs/sbnd.opensciencegrid.org/products/sbnd/sbndcode/v07_06_01/fcl/prodsingle_mu_bnblike.fcl:15 ]

It looks like the fcl file used a hack to ensure a Gaussian distribution was used to throw the momentum and angle

  physics.producers.generator.PHist: [ "dummy" ] #suggested to ensure we get a gaussian throw

The fix should be simple enough: remove the hack line. But first we need to identify other affected fcl files

start_mom.png (6.14 KB) start_mom.png Start momentum of muons generated in prodsingle_mu_bnblike.fcl after removing the hack Dominic Brailsford, 10/02/2018 11:53 AM

Associated revisions

Revision 2f917b78 (diff)
Added by Dominic Brailsford about 1 year ago

Fix for issue #20994

History

#1 Updated by Dominic Brailsford about 1 year ago

Affected fcls:
  1. prodsingle_mu_bnblike.fcl
  2. prodsingle_proton_bnblike.fcl

#2 Updated by Dominic Brailsford about 1 year ago

Start momentum of muons generated in prodsingle_mu_bnblike.fcl after removing the hack.

#3 Updated by Dominic Brailsford about 1 year ago

Fixed in the develop branch

#4 Updated by Dominic Brailsford about 1 year ago

  • Status changed from New to Closed


Also available in: Atom PDF