#include <TheoModelFactory.hh>
Static Public Member Functions | |
static G4TheoFSGenerator * | New () |
Definition at line 30 of file TheoModelFactory.hh.
static G4TheoFSGenerator* TheoModelFactory< C, S, F >::New | ( | ) | [inline, static] |
Definition at line 33 of file TheoModelFactory.hh.
References G4VPartonStringModel::SetFragmentationModel(), G4TheoFSGenerator::SetHighEnergyGenerator(), and G4TheoFSGenerator::SetTransport().
00034 { 00035 G4TheoFSGenerator * result = new G4TheoFSGenerator; 00036 G4VIntraNuclearTransportModel * theCascade = new C; 00037 result->SetTransport(theCascade); 00038 00039 G4VLongitudinalStringDecay * theFragmentation = new F; 00040 G4ExcitedStringDecay * theStringDecay = new G4ExcitedStringDecay(theFragmentation); 00041 G4VPartonStringModel * theStringModel = new S; 00042 theStringModel->SetFragmentationModel(theStringDecay); 00043 result->SetHighEnergyGenerator(theStringModel); 00044 00045 return result; 00046 }