CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CMSQGSPSIMPBuilder Class Reference

#include <CMSQGSPSIMPBuilder.h>

Public Member Functions

void Build (CMSSIMPInelasticProcess *aP)
 
 CMSQGSPSIMPBuilder ()
 
 ~CMSQGSPSIMPBuilder ()
 

Private Attributes

G4QGSMFragmentation * theQGSM
 
G4ExcitedStringDecay * theStringDecay
 
G4QGSModel< G4QGSParticipants > * theStringModel
 

Detailed Description

Definition at line 16 of file CMSQGSPSIMPBuilder.h.

Constructor & Destructor Documentation

◆ CMSQGSPSIMPBuilder()

CMSQGSPSIMPBuilder::CMSQGSPSIMPBuilder ( )

Definition at line 14 of file CMSQGSPSIMPBuilder.cc.

References theQGSM, theStringDecay, and theStringModel.

14  {
15  theStringModel = new G4QGSModel<G4QGSParticipants>;
16  theStringDecay = new G4ExcitedStringDecay(theQGSM = new G4QGSMFragmentation);
17  theStringModel->SetFragmentationModel(theStringDecay);
18 }
G4QGSMFragmentation * theQGSM
G4QGSModel< G4QGSParticipants > * theStringModel
G4ExcitedStringDecay * theStringDecay

◆ ~CMSQGSPSIMPBuilder()

CMSQGSPSIMPBuilder::~CMSQGSPSIMPBuilder ( )

Definition at line 20 of file CMSQGSPSIMPBuilder.cc.

References theQGSM, theStringDecay, and theStringModel.

20  {
21  delete theStringDecay;
22  delete theStringModel;
23  delete theQGSM;
24 }
G4QGSMFragmentation * theQGSM
G4QGSModel< G4QGSParticipants > * theStringModel
G4ExcitedStringDecay * theStringDecay

Member Function Documentation

◆ Build()

void CMSQGSPSIMPBuilder::Build ( CMSSIMPInelasticProcess aP)

Definition at line 26 of file CMSQGSPSIMPBuilder.cc.

References theStringModel.

Referenced by CustomPhysicsList::ConstructProcess().

26  {
27  G4GeneratorPrecompoundInterface* theCascade = new G4GeneratorPrecompoundInterface;
28  G4PreCompoundModel* thePreEquilib = new G4PreCompoundModel();
29  theCascade->SetDeExcitation(thePreEquilib);
30 
31  G4TheoFSGenerator* theModel = new G4TheoFSGenerator("QGSP");
32  theModel->SetTransport(theCascade);
33  theModel->SetHighEnergyGenerator(theStringModel);
34  theModel->SetMinEnergy(0.0);
35  theModel->SetMaxEnergy(100 * CLHEP::TeV);
36  aP->RegisterMe(theModel);
37 }
G4QGSModel< G4QGSParticipants > * theStringModel

Member Data Documentation

◆ theQGSM

G4QGSMFragmentation* CMSQGSPSIMPBuilder::theQGSM
private

Definition at line 26 of file CMSQGSPSIMPBuilder.h.

Referenced by CMSQGSPSIMPBuilder(), and ~CMSQGSPSIMPBuilder().

◆ theStringDecay

G4ExcitedStringDecay* CMSQGSPSIMPBuilder::theStringDecay
private

Definition at line 25 of file CMSQGSPSIMPBuilder.h.

Referenced by CMSQGSPSIMPBuilder(), and ~CMSQGSPSIMPBuilder().

◆ theStringModel

G4QGSModel<G4QGSParticipants>* CMSQGSPSIMPBuilder::theStringModel
private

Definition at line 24 of file CMSQGSPSIMPBuilder.h.

Referenced by Build(), CMSQGSPSIMPBuilder(), and ~CMSQGSPSIMPBuilder().