Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larsim
larsim
LegacyLArG4
NeutronHPphysics.hh
Go to the documentation of this file.
1
//////////////////////////////////////////////////////////////////////////////
2
/// \file NeutronHPphysics.hh
3
/// \brief High precision neutron physics constructor for Geant4
4
/// \details Adapted from the Geant4 example Hadr04
5
//////////////////////////////////////////////////////////////////////////////
6
#pragma once
7
8
// Geant4 includes
9
#include "Geant4/G4VPhysicsConstructor.hh"
10
11
class
NeutronHPphysics
:
public
G4VPhysicsConstructor {
12
public
:
13
NeutronHPphysics
(
const
G4String&
name
=
"neutron"
);
14
15
void
16
ConstructParticle
()
override
17
{}
18
void
ConstructProcess
()
override
;
19
20
void
21
SetThermalPhysics
(G4bool flag)
22
{
23
fThermal
= flag;
24
};
25
26
private
:
27
G4bool
fThermal
;
28
};
name
static QCString name
Definition:
declinfo.cpp:673
NeutronHPphysics::ConstructParticle
void ConstructParticle() override
Definition:
NeutronHPphysics.hh:16
NeutronHPphysics
Definition:
NeutronHPphysics.hh:11
NeutronHPphysics::SetThermalPhysics
void SetThermalPhysics(G4bool flag)
Definition:
NeutronHPphysics.hh:21
NeutronHPphysics::ConstructProcess
void ConstructProcess() override
Definition:
NeutronHPphysics.cc:41
NeutronHPphysics::fThermal
G4bool fThermal
Definition:
NeutronHPphysics.hh:24
NeutronHPphysics::NeutronHPphysics
NeutronHPphysics(const G4String &name="neutron")
Definition:
NeutronHPphysics.cc:36
Generated by
1.8.11