24void BertiniWithHistoryModel::constructGammaProcess(
25 G4ProcessManager* processManager) {
26 ldmx_log(info) <<
"BertiniWithHistoryModel::constructGammaProcess";
27 ldmx_log(info) <<
" Max energy: " << max_energy_ <<
" MeV";
28 ldmx_log(info) <<
" Energy threshold: " << energy_threshold_ <<
" MeV";
30 auto photo_nuclear_process =
31 new G4HadronInelasticProcess(
"photonNuclear", G4Gamma::Definition());
34 model->setEnergyThreshold(energy_threshold_);
35 model->SetMaxEnergy(max_energy_ * CLHEP::MeV);
37 ldmx_log(info) <<
" Created LDMXCascadeInterface model";
39 addPNCrossSectionData(photo_nuclear_process);
40 photo_nuclear_process->RegisterMe(model);
41 processManager->AddDiscreteProcess(photo_nuclear_process);
43 ldmx_log(info) <<
" Photonuclear process added to gamma";
Photonuclear model with cascade history capture.
PhotoNuclear model that records Bertini cascade history.