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

#include <PhysListEmStandardSSM.hh>

Inheritance diagram for PhysListEmStandardSSM:
Collaboration diagram for PhysListEmStandardSSM:

Public Member Functions

 PhysListEmStandardSSM (const G4String &name="standardSSM")
 
 ~PhysListEmStandardSSM ()
 
virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 
 PhysListEmStandardSSM (const G4String &name="standardSSM")
 
 ~PhysListEmStandardSSM ()
 
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 PhysListEmStandardSSM.hh.

Constructor & Destructor Documentation

PhysListEmStandardSSM::PhysListEmStandardSSM ( const G4String name = "standardSSM")

Definition at line 63 of file PhysListEmStandardSSM.cc.

64  : G4VPhysicsConstructor(name)
65 {}
G4VPhysicsConstructor(const G4String &="")
PhysListEmStandardSSM::~PhysListEmStandardSSM ( )

Definition at line 69 of file PhysListEmStandardSSM.cc.

70 {}
PhysListEmStandardSSM::PhysListEmStandardSSM ( const G4String name = "standardSSM")
PhysListEmStandardSSM::~PhysListEmStandardSSM ( )

Member Function Documentation

virtual void PhysListEmStandardSSM::ConstructParticle ( void  )
inlinevirtual

Implements G4VPhysicsConstructor.

Definition at line 50 of file PhysListEmStandardSSM.hh.

50 {};
virtual void PhysListEmStandardSSM::ConstructParticle ( void  )
inlinevirtual

Implements G4VPhysicsConstructor.

Definition at line 50 of file PhysListEmStandardSSM.hh.

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

Implements G4VPhysicsConstructor.

void PhysListEmStandardSSM::ConstructProcess ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 74 of file PhysListEmStandardSSM.cc.

75 {
76  // Add standard EM Processes
77 
79  particleIterator->reset();
80  while( (*particleIterator)() ){
81  G4ParticleDefinition* particle = particleIterator->value();
82  G4ProcessManager* pmanager = particle->GetProcessManager();
83  G4String particleName = particle->GetParticleName();
84 
85  if (particleName == "gamma") {
86  // gamma
90 
91  } else if (particleName == "e-") {
92  //electron
93  pmanager->AddProcess(new G4eIonisation, -1, 1, 1);
94  pmanager->AddProcess(new G4eBremsstrahlung, -1, 2, 2);
95 
99  //model->SetLowEnergyThreshold(10*eV);
100  model->SetPolarAngleLimit(0.0);
101  cs->AddEmModel(0, model);
102  pmanager->AddDiscreteProcess(cs);
103 
104  } else if (particleName == "e+") {
105  //positron
106 
107  pmanager->AddProcess(new G4eIonisation, -1, 1, 1);
108  pmanager->AddProcess(new G4eBremsstrahlung, -1, 2, 2);
109  pmanager->AddProcess(new G4eplusAnnihilation, 0,-1, 3);
110 
114  model->SetPolarAngleLimit(0.0);
115  cs->AddEmModel(0, model);
116  pmanager->AddDiscreteProcess(cs);
117 
118  } else if (particleName == "mu+" ||
119  particleName == "mu-" ) {
120  //muon
121  pmanager->AddProcess(new G4MuIonisation, -1, 1, 1);
122  pmanager->AddProcess(new G4MuBremsstrahlung, -1, 2, 2);
123  pmanager->AddProcess(new G4MuPairProduction, -1, 3, 3);
126  model->SetPolarAngleLimit(0.0);
127  cs->AddEmModel(0, model);
128  pmanager->AddDiscreteProcess(cs);
129 
130 
131  } else if (particleName == "alpha" || particleName == "He3") {
132  pmanager->AddProcess(new G4ionIonisation, -1, 1, 1);
135  cs->SetBuildTableFlag(false);
136  pmanager->AddDiscreteProcess(cs);
137 
138  } else if (particleName == "GenericIon" ) {
139  pmanager->AddProcess(new G4ionIonisation, -1, 1, 1);
142  cs->SetBuildTableFlag(false);
143  pmanager->AddDiscreteProcess(cs);
144 
145  } else if ((!particle->IsShortLived()) &&
146  (particle->GetPDGCharge() != 0.0) &&
147  (particle->GetParticleName() != "chargedgeantino")) {
148  //all others charged particles except geantino
149  pmanager->AddProcess(new G4hIonisation, -1, 1, 1);
150  pmanager->AddDiscreteProcess(new G4CoulombScattering);
151  }
152  }
153 }
void SetBuildTableFlag(G4bool val)
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
const G4String & GetParticleName() const
G4ParticleTable::G4PTblDicIterator * GetParticleIterator() const
G4int AddProcess(G4VProcess *aProcess, G4int ordAtRestDoIt=ordInActive, G4int ordAlongSteptDoIt=ordInActive, G4int ordPostStepDoIt=ordInActive)
void AddEmModel(G4int, G4VEmModel *, const G4Region *region=nullptr)
G4ProcessManager * GetProcessManager() const
std::vector< G4InuclElementaryParticle >::iterator particleIterator
Definition: G4BigBanger.cc:65
G4double GetPDGCharge() const
const XML_Char XML_Content * model
Definition: expat.h:151
void SetPolarAngleLimit(G4double)
Definition: G4VEmModel.hh:767

Here is the call graph for this function:


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