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