86 lines
2.7 KiB
C++
86 lines
2.7 KiB
C++
//
|
|
// ********************************************************************
|
|
// * 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: ExN04PhysicsList.cc,v 1.15 2003/11/19 09:26:02 vnivanch Exp $
|
|
// GEANT4 tag $Name: geant4-06-00-patch-01 $
|
|
//
|
|
//
|
|
|
|
#include "ExN04PhysicsList.hh"
|
|
|
|
#include "globals.hh"
|
|
#include "G4ParticleDefinition.hh"
|
|
#include "G4ProcessManager.hh"
|
|
#include "G4ProcessVector.hh"
|
|
#include "G4ParticleTypes.hh"
|
|
#include "G4ParticleTable.hh"
|
|
|
|
#include "G4Material.hh"
|
|
#include "G4MaterialTable.hh"
|
|
#include "G4ios.hh"
|
|
#include <iomanip>
|
|
|
|
#include "ExN04GeneralPhysics.hh"
|
|
#include "ExN04EMPhysics.hh"
|
|
#include "ExN04MuonPhysics.hh"
|
|
#include "ExN04HadronPhysics.hh"
|
|
#include "ExN04IonPhysics.hh"
|
|
|
|
ExN04PhysicsList::ExN04PhysicsList(): G4VModularPhysicsList()
|
|
{
|
|
// default cut value (1.0mm)
|
|
defaultCutValue = 1.0*mm;
|
|
// SetVerboseLevel(1);
|
|
|
|
// General Physics
|
|
RegisterPhysics( new ExN04GeneralPhysics("general") );
|
|
|
|
// EM Physics
|
|
RegisterPhysics( new ExN04EMPhysics("standard EM"));
|
|
|
|
// Muon Physics
|
|
RegisterPhysics( new ExN04MuonPhysics("muon"));
|
|
|
|
// Hadron Physics
|
|
RegisterPhysics( new ExN04HadronPhysics("hadron"));
|
|
|
|
// Ion Physics
|
|
RegisterPhysics( new ExN04IonPhysics("ion"));
|
|
|
|
|
|
}
|
|
|
|
ExN04PhysicsList::~ExN04PhysicsList()
|
|
{
|
|
}
|
|
|
|
void ExN04PhysicsList::SetCuts()
|
|
{
|
|
// " G4VUserPhysicsList::SetCutsWithDefault" method sets
|
|
// the default cut value for all particle types
|
|
SetCutsWithDefault();
|
|
}
|
|
|
|
|
|
|