mt01physicslist.bakhh

来自「利用linux环境下蒙特卡罗计算工具geant4实现伽玛射线与探测器乘积能量的模」· BAKHH 代码 · 共 104 行

BAKHH
104
字号
//// ********************************************************************// * DISCLAIMER                                                       *// *                                                                  *// * The following disclaimer summarizes all the specific disclaimers *// * of contributors to this software. The specific disclaimers,which *// * govern, are listed with their locations in:                      *// *   http://cern.ch/geant4/license                                  *// *                                                                  *// * Neither the authors of this software system, nor their employing *// * institutes,nor the agencies providing financial support for this *// * work  make  any representation or  warranty, express or implied, *// * regarding  this  software system or assume any liability for its *// * use.                                                             *// *                                                                  *// * This  code  implementation is the  intellectual property  of the *// * GEANT4 collaboration.                                            *// * By copying,  distributing  or modifying the Program (or any work *// * based  on  the Program)  you indicate  your  acceptance of  this *// * statement, and all its terms.                                    *// ********************************************************************////// $Id: ExN01PhysicsList.hh,v 1.5 2002/01/09 17:23:48 ranjard Exp $// GEANT4 tag $Name: geant4-07-00-patch-01 $//// //// ExN01PhysicsList//  Construct/define particles and physics processes////  Particle defined in ExampleN01//    geantino////  Process defined in ExampleN01//    transportation//#ifndef mt01PhysicsList_h#define mt01PhysicsList_h 1#include "G4VUserPhysicsList.hh"#include "globals.hh"class G4LowEnergyIonisation;class G4LowEnergyPhotoElectric;class G4LowEnergyBremsstrahlung;class G4eIonisation;class mt01PhysicsList: public G4VUserPhysicsList{  public:    mt01PhysicsList();    ~mt01PhysicsList();  protected:    // Construct particle and physics process    void ConstructParticle();    void ConstructProcess();    protected:    // these methods Construct particles     void ConstructBosons();    void ConstructLeptons();    void ConstructMesons();    void ConstructBaryons();    void ConstructIons();  protected:  // these methods Construct physics processes and register them    void ConstructGeneral();    void ConstructEM();  public:  void SetCuts();  void SetGammaCut(G4double);  void SetElectronCut(G4double);  void SetLowEnSecPhotCut(G4double);  void SetLowEnSecElecCut(G4double);  void SetProtonCut(G4double);  void SetCutsByEnergy(G4double);  private:  G4LowEnergyIonisation*  LeIoprocess;  G4LowEnergyPhotoElectric* LePeprocess;  G4LowEnergyBremsstrahlung* LeBrprocess;    G4double cutForGamma;  G4double cutForElectron;  G4double cutForProton;};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?