Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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

◆ New()

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

Definition at line 33 of file TheoModelFactory.hh.

34 {
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 SetTransport(G4VIntraNuclearTransportModel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)

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