53{
55 theModel = new G4TheoFSGenerator("QGSP");
56
57 G4QGSModel< G4QGSParticipants >* theStringModel =
58 new G4QGSModel< G4QGSParticipants >;
59 G4ExcitedStringDecay* theStringDecay =
60 new G4ExcitedStringDecay(new G4QGSMFragmentation);
62
63 G4GeneratorPrecompoundInterface* theCascade =
64 new G4GeneratorPrecompoundInterface();
65
66 theModel->SetTransport(theCascade);
67 theModel->SetHighEnergyGenerator(theStringModel);
68 if (quasiElastic)
69 {
70 theModel->SetQuasiElasticChannel(new G4QuasiElasticChannel());
71 }
72}
static G4HadronicParameters * Instance()
G4double GetMinEnergyTransitionQGS_FTF() const
void SetFragmentationModel(G4VStringFragmentation *aModel)