Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions
TheoModelFactory< C, S, F > Class Template Reference

#include <TheoModelFactory.hh>

Static Public Member Functions

static G4TheoFSGeneratorNew ()
 

Detailed Description

template<class C, class S, class F>
class TheoModelFactory< C, S, F >

Definition at line 30 of file TheoModelFactory.hh.

Member Function Documentation

template<class C , class S , class F >
static G4TheoFSGenerator* TheoModelFactory< C, S, F >::New ( )
inlinestatic

Definition at line 33 of file TheoModelFactory.hh.

References G4VPartonStringModel::SetFragmentationModel(), G4TheoFSGenerator::SetHighEnergyGenerator(), and G4TheoFSGenerator::SetTransport().

34  {
35  G4TheoFSGenerator * result = new G4TheoFSGenerator;
36  G4VIntraNuclearTransportModel * theCascade = new C;
37  result->SetTransport(theCascade);
38 
39  G4VLongitudinalStringDecay * theFragmentation = new F;
40  G4ExcitedStringDecay * theStringDecay = new G4ExcitedStringDecay(theFragmentation);
41  G4VPartonStringModel * theStringModel = new S;
42  theStringModel->SetFragmentationModel(theStringDecay);
43  result->SetHighEnergyGenerator(theStringModel);
44 
45  return result;
46  }
void SetFragmentationModel(G4VStringFragmentation *aModel)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetTransport(G4VIntraNuclearTransportModel *const value)

The documentation for this class was generated from the following file: