JeffersonLab / gluex_MCwrapper

1 stars 4 forks source link

Requested Max photon energy is above the electron beam energy rcdb! #41

Closed markdalton closed 4 years ago

markdalton commented 4 years ago

I update my mcwrapper to the current master and am getting a crash simulating run 51768.

something went wrong with initialization Error: Requested Max photon energy 11.0 is above the electron beam energy rcdb! ending gluex_MC.py

It does not matter what value of energy is used.

Config file here:

gluex_MC.py /home/dalton/gluex/FCAL/MC_omega3pi_E6to11.6_FCAL.config 51768 10

Aside: the value obtained from rcdb should be output in this error message.

T-Britton commented 4 years ago

let me address the aside first: It is being printed out; "electron beam energy rcdb" really should be "electron beam energy 11.6" or something. because the user can provide the ebeam energy I use the string "rcdb" as a keyword to tell mcwrapper to "look it up".

something is going wrong when it is attempting to read the energy from the rcdb. It is on my radar and I will look into it in the next 24 hours or so. In the mean time can you try the DEV branch to make sure this isn't something I have fixed but haven't released

markdalton commented 4 years ago

I verified that the DEV branch does this too.

T-Britton commented 4 years ago

I believe this is solved as a user configuration error....reopen if it isn't solved