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 (  )  [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   }


The documentation for this class was generated from the following file:
Generated on Mon May 27 17:54:04 2013 for Geant4 by  doxygen 1.4.7