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
7BesGeneralPhysics::BesGeneralPhysics( const G4String& name ) : G4VPhysicsConstructor( name ) {}
8
10
11#include "G4ParticleDefinition.hh"
12#include "G4ProcessManager.hh"
13// Bosons
14#include "G4ChargedGeantino.hh"
15#include "G4Geantino.hh"
16
18 // pseudo-particles
19 G4Geantino::GeantinoDefinition();
20 G4ChargedGeantino::ChargedGeantinoDefinition();
21}
22
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(const G4String &name="general")
virtual void ConstructProcess()
virtual void ConstructParticle()