Import Geant4 9.1.0 source tree
This commit is contained in:
@@ -1,62 +0,0 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * License and Disclaimer *
|
||||
// * *
|
||||
// * The Geant4 software is copyright of the Copyright Holders of *
|
||||
// * the Geant4 Collaboration. It is provided under the terms and *
|
||||
// * conditions of the Geant4 Software License, included in the file *
|
||||
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
||||
// * include a list of copyright holders. *
|
||||
// * *
|
||||
// * 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. Please see the license in the file LICENSE and URL above *
|
||||
// * for the full disclaimer and the limitation of liability. *
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration. *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef exrdmPhysListGeneral_h
|
||||
#define exrdmPhysListGeneral_h 1
|
||||
|
||||
#include "G4VPhysicsConstructor.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class exrdmPhysListGeneral : public G4VPhysicsConstructor
|
||||
{
|
||||
public:
|
||||
exrdmPhysListGeneral(const G4String& name = "general");
|
||||
virtual ~exrdmPhysListGeneral();
|
||||
|
||||
public:
|
||||
// This method is dummy for physics
|
||||
virtual void ConstructParticle() {};
|
||||
|
||||
// This method will be invoked in the Construct() method.
|
||||
// each physics process will be instantiated and
|
||||
// registered to the process manager of each particle type
|
||||
virtual void ConstructProcess();
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
|
||||
#include "G4VModularPhysicsList.hh"
|
||||
#include "globals.hh"
|
||||
#include <vector>
|
||||
|
||||
class G4VPhysicsConstructor;
|
||||
class exrdmPhysicsListMessenger;
|
||||
@@ -42,7 +43,7 @@ class exrdmPhysicsList: public G4VModularPhysicsList
|
||||
{
|
||||
public:
|
||||
exrdmPhysicsList();
|
||||
~exrdmPhysicsList();
|
||||
virtual ~exrdmPhysicsList();
|
||||
|
||||
void ConstructParticle();
|
||||
|
||||
@@ -59,6 +60,8 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
void AddExtraBuilders(G4bool flagHP);
|
||||
|
||||
// hide assignment operator
|
||||
exrdmPhysicsList & operator=(const exrdmPhysicsList &right);
|
||||
exrdmPhysicsList(const exrdmPhysicsList&);
|
||||
@@ -68,11 +71,13 @@ private:
|
||||
G4double cutForPositron;
|
||||
|
||||
G4VPhysicsConstructor* emPhysicsList;
|
||||
G4VPhysicsConstructor* generalPhysicsList;
|
||||
G4VPhysicsConstructor* raddecayList;
|
||||
G4VPhysicsConstructor* particleList;
|
||||
// std::vector<G4VPhysicsConstructor*> hadronPhys;
|
||||
G4VPhysicsConstructor* hadPhysicsList;
|
||||
|
||||
std::vector<G4VPhysicsConstructor*> hadronPhys;
|
||||
G4int nhadcomp;
|
||||
|
||||
exrdmPhysicsListMessenger* pMessenger;
|
||||
G4ProductionCuts* DetectorCuts;
|
||||
G4ProductionCuts* TargetCuts;
|
||||
|
||||
Reference in New Issue
Block a user