remage
Simulation framework for HPGe-based experiments
Loading...
Searching...
No Matches
RMGNeutronCaptureProcess.hh
1
// Copyright (C) 2024 Eric Esch <https://orcid.org/0009-0000-4920-9313>
2
//
3
// This program is free software: you can redistribute it and/or modify it under
4
// the terms of the GNU Lesser General Public License as published by the Free
5
// Software Foundation, either version 3 of the License, or (at your option) any
6
// later version.
7
//
8
// This program is distributed in the hope that it will be useful, but WITHOUT
9
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
10
// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
11
// details.
12
//
13
// You should have received a copy of the GNU Lesser General Public License
14
// along with this program. If not, see <https://www.gnu.org/licenses/>.
15
16
17
#ifndef _RMG_NEUTRON_CAPTURE_PROCESS_HH_
18
#define _RMG_NEUTRON_CAPTURE_PROCESS_HH_
19
20
#include "G4HadronicProcess.hh"
21
#include "globals.hh"
22
32
class
RMGNeutronCaptureProcess :
public
G4HadronicProcess
{
33
public
:
34
35
explicit
RMGNeutronCaptureProcess(
const
G4String
& processName =
"RMGnCapture"
);
36
37
virtual
~RMGNeutronCaptureProcess() =
default
;
38
40
G4bool
IsApplicable
(
const
G4ParticleDefinition
& aParticleType)
final
;
41
45
G4VParticleChange
*
PostStepDoIt
(
const
G4Track
& aTrack,
const
G4Step
& aStep)
final
;
46
};
47
#endif
G4HadronicProcess
G4ParticleDefinition
G4Step
G4String
G4Track
G4VParticleChange
RMGNeutronCaptureProcess::PostStepDoIt
G4VParticleChange * PostStepDoIt(const G4Track &aTrack, const G4Step &aStep) final
Sample a capture and replace the final state with a tabulated gamma cascade.
Definition
RMGNeutronCaptureProcess.cc:48
RMGNeutronCaptureProcess::IsApplicable
G4bool IsApplicable(const G4ParticleDefinition &aParticleType) final
True for neutrons only.
Definition
RMGNeutronCaptureProcess.cc:43
include
RMGNeutronCaptureProcess.hh
Generated by
1.13.2