Hi! Here are code for gamma-nuclear processes in case of Bertitni cascade. can you write the analogue code for case of LENDorBertini model.
void GammaNuclearPhysics::ConstructProcess()
{
G4ProcessManager* pManager = G4Gamma::Gamma()->GetProcessManager();
//
G4PhotoNuclearProcess* process = new G4PhotoNuclearProcess();
//
G4ParticleDefinition* pd = G4Gamma::GammaDefinition();
G4CascadeInterface* bertini = new G4CascadeInterface();
bertini->SetMaxEnergy(10*GeV);
process->RegisterMe(bertini);
//
pManager->AddDiscreteProcess(process);
}