v1.2.1 : Usability and Documentation Improvements
Besides a host of documentation improvements, we've also added another XsecMethod variant which simply allows the model to use whichever XsecMethod it believes is best suited for a specific lepton and dark photon mass situation. This variant is called Auto
and is the new default.
Breaking Changes
Updating the default XsecMethod required another modification of the G4DarkBreMModel constructor. A code snippet below shows a quick reference for the different constructor parameters.
auto model = std::make_shared<g4db::G4DarkBreMModel>(
db_lib, // path to dark brem event library
muons, // lepton is a muon (or not)
0.0, // threshold for non-zero xsec
1.0, // epsilon
g4db::G4DarkBreMModel::ScalingMethod::ForwardOnly, // scaling method
g4db::G4DarkBreMModel::XsecMethod::Auto, // xsec calculation method
50.0, // maximum mA/mL to use the Full WW, above which use the Improved WW
622, // ID of dark photon in event library
false // load event library
);
Full Changelog: v1.2.0...v1.2.1