BOSS
7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
BesGeneralPhysics.cc
Go to the documentation of this file.
1
2
#include "
BesGeneralPhysics.hh
"
3
#include "globals.hh"
4
#include "G4ios.hh"
5
#include <iomanip>
6
7
BesGeneralPhysics::BesGeneralPhysics
(
const
G4String& name)
8
: G4VPhysicsConstructor(name)
9
{
10
}
11
12
BesGeneralPhysics::~BesGeneralPhysics
()
13
{
14
}
15
16
#include "G4ParticleDefinition.hh"
17
#include "G4ProcessManager.hh"
18
// Bosons
19
#include "G4ChargedGeantino.hh"
20
#include "G4Geantino.hh"
21
22
void
BesGeneralPhysics::ConstructParticle
()
23
{
24
// pseudo-particles
25
G4Geantino::GeantinoDefinition();
26
G4ChargedGeantino::ChargedGeantinoDefinition();
27
}
28
29
void
BesGeneralPhysics::ConstructProcess
()
30
{
/*
31
theParticleIterator->reset();
32
while( (*theParticleIterator)() ){
33
G4ParticleDefinition* particle = theParticleIterator->value();
34
G4ProcessManager* pmanager = particle->GetProcessManager();
35
if (fDecayProcess.IsApplicable(*particle)) {
36
pmanager ->AddProcess(&fDecayProcess);
37
// set ordering for PostStepDoIt and AtRestDoIt
38
pmanager ->SetProcessOrdering(&fDecayProcess, idxPostStep);
39
pmanager ->SetProcessOrdering(&fDecayProcess, idxAtRest);
40
}
41
}*/
42
}
43
44
45
46
47
48
49
50
51
BesGeneralPhysics.hh
BesGeneralPhysics::BesGeneralPhysics
BesGeneralPhysics(const G4String &name="general")
Definition
BesGeneralPhysics.cc:7
BesGeneralPhysics::ConstructProcess
virtual void ConstructProcess()
Definition
BesGeneralPhysics.cc:29
BesGeneralPhysics::~BesGeneralPhysics
virtual ~BesGeneralPhysics()
Definition
BesGeneralPhysics.cc:12
BesGeneralPhysics::ConstructParticle
virtual void ConstructParticle()
Definition
BesGeneralPhysics.cc:22
7.1.1
Simulation
BOOST
PhySim
PhySim-00-01-00
src
BesGeneralPhysics.cc
Generated by
1.12.0