BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
BDSPhysicsRadioactivation.hh
1/*
2Beam Delivery Simulation (BDSIM) Copyright (C) BDSIM Collaboration, 2001 - 2026.
3
4This file is part of BDSIM.
5
6BDSIM is free software: you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published
8by the Free Software Foundation version 3 of the License.
9
10BDSIM is distributed in the hope that it will be useful, but
11WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with BDSIM. If not, see <http://www.gnu.org/licenses/>.
17*/
18#ifndef BDSRADIOACTIVATIONPHYSICS_H
19#define BDSRADIOACTIVATIONPHYSICS_H
20
21#include "G4Version.hh"
22#if G4VERSION_NUMBER > 1039
23
24#include "BDSSingleUse.hh"
25
26#include "G4Types.hh"
27#include "G4VPhysicsConstructor.hh"
28
35class BDSPhysicsRadioactivation: public G4VPhysicsConstructor, public BDSSingleUse
36{
37public:
38 explicit BDSPhysicsRadioactivation(G4bool atomicRearrangementIn = false);
40
41 // This is a dummy method for physics
42 virtual void ConstructParticle();
43
44 // This method will be invoked in the Construct() method.
45 // each physics process will be instantiated and
46 // registered to the process manager of each particle type
47 virtual void ConstructProcess();
48
49protected:
50 G4bool atomicRearrangement;
51};
52#endif
53
54#endif
Class to provide single use functionality.