Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
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
};
NeutronHPphysics::ConstructParticle
void ConstructParticle() override
Definition:
NeutronHPphysics.hh:16
flag
then echo unknown compiler flag
Definition:
build-dunepdsprce.sh:66
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
name
then echo fcl name
Definition:
sbndpoms_genfclwithrunnumber_maker.sh:220
NeutronHPphysics::NeutronHPphysics
NeutronHPphysics(const G4String &name="neutron")
Definition:
NeutronHPphysics.cc:36
Generated by
1.8.5