BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
ExN04PhysicsList.cxx
Go to the documentation of this file.
1//
2// ********************************************************************
3// * DISCLAIMER *
4// * *
5// * The following disclaimer summarizes all the specific disclaimers *
6// * of contributors to this software. The specific disclaimers,which *
7// * govern, are listed with their locations in: *
8// * http://cern.ch/geant4/license *
9// * *
10// * Neither the authors of this software system, nor their employing *
11// * institutes,nor the agencies providing financial support for this *
12// * work make any representation or warranty, express or implied, *
13// * regarding this software system or assume any liability for its *
14// * use. *
15// * *
16// * This code implementation is the intellectual property of the *
17// * GEANT4 collaboration. *
18// * By copying, distributing or modifying the Program (or any work *
19// * based on the Program) you indicate your acceptance of this *
20// * statement, and all its terms. *
21// ********************************************************************
22//
23//
24// $Id: ExN04PhysicsList.cxx,v 1.1.1.1 2004/09/28 05:16:53 liwd Exp $
25// GEANT4 tag $Name: G4Svc-00-01-56 $
26//
27//
28
29#include <cmath>
30
32
33#include "globals.hh"
34#include "G4ParticleDefinition.hh"
35#include "G4ParticleWithCuts.hh"
36#include "G4ProcessManager.hh"
37#include "G4ProcessVector.hh"
38#include "G4ParticleTypes.hh"
39#include "G4ParticleTable.hh"
40
41#include "G4Material.hh"
42#include "G4MaterialTable.hh"
43#include "G4ios.hh"
44
50
51ExN04PhysicsList::ExN04PhysicsList(): G4VModularPhysicsList()
52{
53 // default cut value (1.0mm)
54 defaultCutValue = 1.0*mm;
55 SetVerboseLevel(1);
56
57 // General Physics
58 RegisterPhysics( new ExN04GeneralPhysics("general") );
59
60 // EM Physics
61 RegisterPhysics( new ExN04EMPhysics("standard EM"));
62
63 // Muon Physics
64 RegisterPhysics( new ExN04MuonPhysics("muon"));
65
66 // Hadron Physics
67 RegisterPhysics( new ExN04HadronPhysics("hadron"));
68
69 // Ion Physics
70 RegisterPhysics( new ExN04IonPhysics("ion"));
71
72
73}
74
78
80{
81 // " G4VUserPhysicsList::SetCutsWithDefault" method sets
82 // the default cut value for all particle types
83 SetCutsWithDefault();
84}
85
86
87
virtual void SetCuts()