Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MuNuclearBuilder Class Reference

#include <MuNuclearBuilder.hh>

Inheritance diagram for MuNuclearBuilder:
Collaboration diagram for MuNuclearBuilder:

Public Member Functions

 MuNuclearBuilder (const G4String &name="muNucl")
 
 ~MuNuclearBuilder ()
 
virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 
- Public Member Functions inherited from G4VPhysicsConstructor
 G4VPhysicsConstructor (const G4String &="")
 
 G4VPhysicsConstructor (const G4String &name, G4int physics_type)
 
virtual ~G4VPhysicsConstructor ()
 
void SetPhysicsName (const G4String &="")
 
const G4StringGetPhysicsName () const
 
void SetPhysicsType (G4int)
 
G4int GetPhysicsType () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
G4int GetInstanceID () const
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VPhysicsConstructor
static const G4VPCManagerGetSubInstanceManager ()
 
- Protected Member Functions inherited from G4VPhysicsConstructor
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
G4ParticleTable::G4PTblDicIteratorGetParticleIterator () const
 
- Protected Attributes inherited from G4VPhysicsConstructor
G4int verboseLevel
 
G4String namePhysics
 
G4int typePhysics
 
G4ParticleTabletheParticleTable
 
G4int g4vpcInstanceID
 
- Static Protected Attributes inherited from G4VPhysicsConstructor
static G4RUN_DLL G4VPCManager subInstanceManager
 

Detailed Description

Definition at line 42 of file MuNuclearBuilder.hh.

Constructor & Destructor Documentation

MuNuclearBuilder::MuNuclearBuilder ( const G4String name = "muNucl")

Definition at line 49 of file MuNuclearBuilder.cc.

50  : G4VPhysicsConstructor(name)
51 {}
G4VPhysicsConstructor(const G4String &="")
MuNuclearBuilder::~MuNuclearBuilder ( )

Definition at line 55 of file MuNuclearBuilder.cc.

56 {}

Member Function Documentation

virtual void MuNuclearBuilder::ConstructParticle ( void  )
inlinevirtual

Implements G4VPhysicsConstructor.

Definition at line 50 of file MuNuclearBuilder.hh.

50 {};
void MuNuclearBuilder::ConstructProcess ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 60 of file MuNuclearBuilder.cc.

61 {
62  G4ProcessManager * pManager = 0;
63 
64  G4MuonNuclearProcess* muNucProcess = new G4MuonNuclearProcess();
65  G4MuonVDNuclearModel* muNucModel = new G4MuonVDNuclearModel();
66  muNucProcess->RegisterMe(muNucModel);
67 
69  pManager->AddDiscreteProcess(muNucProcess);
70 
72  pManager->AddDiscreteProcess(muNucProcess);
73  /*
74  // Add standard EM Processes for Muon
75  G4ParticleDefinition* particle = G4MuonPlus::MuonPlus();
76  G4ProcessManager* pmanager = particle->GetProcessManager();
77  pmanager->AddProcess(new G4MuNuclearInteraction("muNucl"),-1,-1,4);
78 
79  particle = G4MuonMinus::MuonMinus();
80  pmanager = particle->GetProcessManager();
81 
82  pmanager->AddProcess(new G4MuNuclearInteraction("muNucl"),-1,-1,4);
83  */
84 }
static G4MuonPlus * MuonPlus()
Definition: G4MuonPlus.cc:99
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
void RegisterMe(G4HadronicInteraction *a)
G4ProcessManager * GetProcessManager() const
static G4MuonMinus * MuonMinus()
Definition: G4MuonMinus.cc:100

Here is the call graph for this function:


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