G4LEpp* elasticModel = new G4LEpp(); G4HadronElasticProcess* hadElastProc = new G4HadronElasticProcess(); hadElastProc->RegisterMe(elasticModel); pManager->AddDiscreteProcess(hadElastProc);