|
|
|||
File indexing completed on 2026-09-17 08:31:12
0001 // 0002 // ******************************************************************** 0003 // * License and Disclaimer * 0004 // * * 0005 // * The Geant4 software is copyright of the Copyright Holders of * 0006 // * the Geant4 Collaboration. It is provided under the terms and * 0007 // * conditions of the Geant4 Software License, included in the file * 0008 // * LICENSE and available at http://cern.ch/geant4/license . These * 0009 // * include a list of copyright holders. * 0010 // * * 0011 // * Neither the authors of this software system, nor their employing * 0012 // * institutes,nor the agencies providing financial support for this * 0013 // * work make any representation or warranty, express or implied, * 0014 // * regarding this software system or assume any liability for its * 0015 // * use. Please see the license in the file LICENSE and URL above * 0016 // * for the full disclaimer and the limitation of liability. * 0017 // * * 0018 // * This code implementation is the result of the scientific and * 0019 // * technical work of the GEANT4 collaboration. * 0020 // * By using, copying, modifying or distributing the software (or * 0021 // * any work based on the software) you agree to acknowledge its * 0022 // * use in resulting scientific publications, and indicate your * 0023 // * acceptance of all terms of the Geant4 Software license. * 0024 // ******************************************************************** 0025 // 0026 /// \file PhysicsList.hh 0027 /// \brief Definition of the PhysicsList class 0028 0029 ///////////////////////////////////////////////// 0030 // 0031 // ClassName: PhysicsList 0032 // 0033 // Authors: 01.06.17 V.Ivanchenko 0034 // 0035 // 0036 /////////////////////////////////////////// 0037 0038 #ifndef PhysicsList_h 0039 #define PhysicsList_h 1 0040 0041 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 0042 0043 #include "G4VModularPhysicsList.hh" 0044 #include "globals.hh" 0045 0046 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 0047 0048 class G4VPhysicsConstructor; 0049 class PhysicsListMessenger; 0050 class StepMax; 0051 0052 class PhysicsList : public G4VModularPhysicsList 0053 { 0054 public: 0055 PhysicsList(); 0056 virtual ~PhysicsList(); 0057 0058 virtual void ConstructParticle(); 0059 0060 virtual void SetCuts(); 0061 0062 virtual void ConstructProcess(); 0063 0064 void AddPhysicsList(const G4String& name); 0065 0066 void SetLDMPhotonMass(G4double val); 0067 0068 void SetLDMHiMass(G4double val); 0069 0070 private: 0071 void AddDarkMatter(); 0072 0073 G4VPhysicsConstructor* fEmPhysicsList; 0074 G4VPhysicsConstructor* fDecayPhysicsList; 0075 G4String fEmName; 0076 0077 PhysicsListMessenger* fMessenger; 0078 0079 G4double fLDMPhotonMass; 0080 G4double fLDMHiMass; 0081 0082 G4bool fLDMPhoton; 0083 G4bool fLDMHi; 0084 }; 0085 0086 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 0087 0088 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|