BesGeneralPhysics Class Reference

#include <BesGeneralPhysics.hh>

List of all members.

Public Member Functions

 BesGeneralPhysics (const G4String &name="general")
virtual ~BesGeneralPhysics ()
virtual void ConstructParticle ()
virtual void ConstructProcess ()

Protected Attributes

G4Decay fDecayProcess


Detailed Description

Definition at line 12 of file BesGeneralPhysics.hh.


Constructor & Destructor Documentation

BesGeneralPhysics::BesGeneralPhysics ( const G4String &  name = "general"  ) 

Definition at line 7 of file BesGeneralPhysics.cc.

00008                      :  G4VPhysicsConstructor(name)
00009 {
00010 }

BesGeneralPhysics::~BesGeneralPhysics (  )  [virtual]

Definition at line 12 of file BesGeneralPhysics.cc.

00013 {
00014 }


Member Function Documentation

void BesGeneralPhysics::ConstructParticle (  )  [virtual]

Definition at line 22 of file BesGeneralPhysics.cc.

00023 {
00024   // pseudo-particles
00025   G4Geantino::GeantinoDefinition();
00026   G4ChargedGeantino::ChargedGeantinoDefinition();  
00027 }

void BesGeneralPhysics::ConstructProcess (  )  [virtual]

Definition at line 29 of file BesGeneralPhysics.cc.

References fDecayProcess.

00030 {  
00031   theParticleIterator->reset();
00032    while( (*theParticleIterator)() ){
00033      G4ParticleDefinition* particle = theParticleIterator->value();
00034      G4ProcessManager* pmanager = particle->GetProcessManager();
00035      if (fDecayProcess.IsApplicable(*particle)) { 
00036        pmanager ->AddProcess(&fDecayProcess);
00037        // set ordering for PostStepDoIt and AtRestDoIt
00038        pmanager ->SetProcessOrdering(&fDecayProcess, idxPostStep);
00039        pmanager ->SetProcessOrdering(&fDecayProcess, idxAtRest);
00040       }
00041     }
00042 }


Member Data Documentation

G4Decay BesGeneralPhysics::fDecayProcess [protected]

Definition at line 29 of file BesGeneralPhysics.hh.

Referenced by ConstructProcess().


Generated on Tue Nov 29 23:17:31 2016 for BOSS_7.0.2 by  doxygen 1.4.7