BOSS
7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEMPhysics.cc
Go to the documentation of this file.
1
2
#include "
BesEMPhysics.hh
"
3
4
#include "globals.hh"
5
#include "G4ios.hh"
6
#include <iomanip>
7
8
9
BesEMPhysics::BesEMPhysics
(
const
G4String& name)
10
: G4VPhysicsConstructor(name)
11
{
12
}
13
14
BesEMPhysics::~BesEMPhysics
()
15
{
16
}
17
18
#include "G4ParticleDefinition.hh"
19
#include "G4ParticleTable.hh"
20
21
#include "G4Gamma.hh"
22
23
#include "G4Electron.hh"
24
#include "G4Positron.hh"
25
26
#include "G4NeutrinoE.hh"
27
#include "G4AntiNeutrinoE.hh"
28
29
//#include "G4StepLimiter.hh"
30
31
void
BesEMPhysics::ConstructParticle
()
32
{
33
// gamma
34
G4Gamma::GammaDefinition();
35
36
// electron
37
G4Electron::ElectronDefinition();
38
G4Positron::PositronDefinition();
39
G4NeutrinoE::NeutrinoEDefinition();
40
G4AntiNeutrinoE::AntiNeutrinoEDefinition();
41
}
42
43
44
#include "G4ProcessManager.hh"
45
46
47
void
BesEMPhysics::ConstructProcess
()
48
{
49
/*
50
G4ProcessManager * pManager = 0;
51
52
// Gamma Physics
53
pManager = G4Gamma::Gamma()->GetProcessManager();
54
pManager->AddDiscreteProcess(&thePhotoEffect);
55
pManager->AddDiscreteProcess(&theComptonEffect);
56
pManager->AddDiscreteProcess(&thePairProduction);
57
58
// Electron Physics
59
pManager = G4Electron::Electron()->GetProcessManager();
60
61
pManager->AddProcess(&theElectronMultipleScattering, -1, 1, 1);
62
pManager->AddProcess(&theElectronIonisation, -1, 2, 2);
63
pManager->AddProcess(&theElectronBremsStrahlung, -1, 3, 3);
64
// pManager->AddProcess(new G4StepLimiter, -1, -1,4);
65
//pManager->AddDiscreteProcess(new G4StepLimiter);
66
//Positron Physics
67
pManager = G4Positron::Positron()->GetProcessManager();
68
69
pManager->AddProcess(&thePositronMultipleScattering, -1, 1, 1);
70
pManager->AddProcess(&thePositronIonisation, -1, 2, 2);
71
pManager->AddProcess(&thePositronBremsStrahlung, -1, 3, 3);
72
pManager->AddProcess(&theAnnihilation, 0,-1, 4); */
73
}
BesEMPhysics.hh
BesEMPhysics::BesEMPhysics
BesEMPhysics(const G4String &name="EM")
Definition
BesEMPhysics.cc:9
BesEMPhysics::ConstructProcess
virtual void ConstructProcess()
Definition
BesEMPhysics.cc:47
BesEMPhysics::~BesEMPhysics
virtual ~BesEMPhysics()
Definition
BesEMPhysics.cc:14
BesEMPhysics::ConstructParticle
virtual void ConstructParticle()
Definition
BesEMPhysics.cc:31
7.1.1
Simulation
BOOST
PhySim
PhySim-00-01-00
src
BesEMPhysics.cc
Generated by
1.12.0