Files
geant4/examples/extended/radioactivedecay/exrdm/include/exrdmPhysicsList.hh
T
2016-06-09 15:37:50 +02:00

91 lines
3.1 KiB
C++

//
// ********************************************************************
// * 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 exrdmPhysicsList_h
#define exrdmPhysicsList_h 1
#include "G4VModularPhysicsList.hh"
#include "globals.hh"
#include <vector>
class G4VPhysicsConstructor;
class exrdmPhysicsListMessenger;
class G4ProductionCuts;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
class exrdmPhysicsList: public G4VModularPhysicsList
{
public:
exrdmPhysicsList();
virtual ~exrdmPhysicsList();
void ConstructParticle();
void SetCuts();
void SetCutForGamma(G4double);
void SetCutForElectron(G4double);
void SetCutForPositron(G4double);
void SelectPhysicsList(const G4String& name);
void ConstructProcess();
void SetTargetCut(G4double val);
void SetDetectorCut(G4double val);
private:
void AddExtraBuilders(G4bool flagHP);
// hide assignment operator
exrdmPhysicsList & operator=(const exrdmPhysicsList &right);
exrdmPhysicsList(const exrdmPhysicsList&);
G4double cutForGamma;
G4double cutForElectron;
G4double cutForPositron;
G4VPhysicsConstructor* emPhysicsList;
G4VPhysicsConstructor* raddecayList;
G4VPhysicsConstructor* particleList;
G4VPhysicsConstructor* hadPhysicsList;
std::vector<G4VPhysicsConstructor*> hadronPhys;
G4int nhadcomp;
exrdmPhysicsListMessenger* pMessenger;
G4ProductionCuts* DetectorCuts;
G4ProductionCuts* TargetCuts;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#endif