Error flags in eic.cc on selecting parameterisation files now make sense. If an invalid particle combination is identified, the generator exits as it should.
Added a new variable, fT_max which sets the upper limit for -t retained in the generator. This is set by ejectile type in eic.cc. This allowed 4 cuts in DEMP_Reaction.cc to be merged into one.
Removed w' calculation.
Removed Mandelstam s determination and conservation check.
Removed kSConserve true/false flag settiting, not used.
Commented out fermi momentum calculation, this does affect the output events. In future, we will want this back in (and done base upon hadron beam species), so it wasn't deleted
Reordered the output in the details (.txt) file. The cuts are now in the order they are applied in the file, the text has been corrected too. It's now more obvious what's going on here. There is also a check condition at the top that checks if the number tried is equal to the number cut + number recorded.
Added in the latest version of the solve function from Ishan. Now does not use the particle class. Working fine. This is now selected with a flag in the .json input file. If not set, or not set correctly, the code will default to the analytical calculation. Output in the details file is different for analytical/solve
There are a few more changes planned which I'll work on next week -
Switching from proton labelling of vectors to more generic hadron beam -> hBeam. Needs to be done throughout.
Removal of spurious definitions/quantities in eic_pim.cc, there's a lot here that just does not seem to be used.
Update of fermi momentum application, apply/do not apply depending upon hadron beam.
A bunch of updates/changes here -
There are a few more changes planned which I'll work on next week -