Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
edep-sim
src
EDepSimExtraPhysics.hh
Go to the documentation of this file.
1
#ifndef EDepSim_ExtraPhysics_hh_seen
2
#define EDepSim_ExtraPhysics_hh_seen
3
////////////////////////////////////////////////////////////
4
// $Id: EDepSim::ExtraPhysics.hh,v 1.1 2007/01/19 20:35:22 mcgrew Exp $
5
////////////////////////////////////////////////////////////
6
7
#include "globals.hh"
8
9
#include "G4VPhysicsConstructor.hh"
10
11
/// A G4VPhysicsConstructor to provide extra physics processes required by
12
/// detSim such as step length limiters. The extra physics processes must be
13
/// explicitly added to every physics list (as an EM list) that is created in
14
/// EDepSim::PhysicsList::AddPhysicsList(); however, this only effects code
15
/// actually in that method. This class should not be used outside of
16
/// EDepSim::PhysicsList. Once this is defined, the step length can be limited in
17
/// logical volumes as they are created by calling
18
/// G4LogicalVolume::SetUsersLimits(new G4UserLimits(stepLength)).
19
namespace
EDepSim
{
class
ExtraPhysics;}
20
class
EDepSim::ExtraPhysics
:
public
G4VPhysicsConstructor {
21
public
:
22
23
/// Construct the extra physics lists. The argument is the default
24
/// recombination for argon. If the value is negative, then use NEST.
25
explicit
ExtraPhysics
();
26
virtual
~ExtraPhysics
();
27
28
virtual
void
ConstructParticle
();
29
virtual
void
ConstructProcess
();
30
31
/// Set the ionization model to be use. The ionization model calculates
32
/// the amount of total deposited energy that will be visible as
33
/// ionization. Because of how G4 works, the total energy deposited and
34
/// the non-ionization energy are tabulated. The implemented models are:
35
/// 0) Use NEST to make a detailed calculation. 1) Use
36
/// EDepSim::SimpleScintillation to make a quick calculation.
37
void
SetIonizationModel
(
int
m
) {
fIonizationModel
=
m
;}
38
39
private
:
40
41
int
fIonizationModel
;
42
};
43
#endif
EDepSim::ExtraPhysics::SetIonizationModel
void SetIonizationModel(int m)
Definition:
EDepSimExtraPhysics.hh:37
EDepSim::ExtraPhysics::~ExtraPhysics
virtual ~ExtraPhysics()
Definition:
EDepSimExtraPhysics.cc:26
EDepSim::ExtraPhysics::ConstructParticle
virtual void ConstructParticle()
Definition:
EDepSimExtraPhysics.cc:28
EDepSim::ExtraPhysics::ExtraPhysics
ExtraPhysics()
Definition:
EDepSimExtraPhysics.cc:23
EDepSim::ExtraPhysics
Definition:
EDepSimExtraPhysics.hh:20
EDepSim
Construct a module from components.
Definition:
TG4HitSegment.h:10
cache_state.m
m
Definition:
cache_state.py:415
EDepSim::ExtraPhysics::ConstructProcess
virtual void ConstructProcess()
Definition:
EDepSimExtraPhysics.cc:32
EDepSim::ExtraPhysics::fIonizationModel
int fIonizationModel
Definition:
EDepSimExtraPhysics.hh:41
Generated by
1.8.11