remage
Simulation framework for HPGe-based experiments
Toggle main menu visibility
Loading...
Searching...
No Matches
RMGUserAction.hh
1
// Copyright (C) 2022 Luigi Pertoldi <https://orcid.org/0000-0002-0467-2571>
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
#ifndef _RMG_USER_ACTION_HH_
17
#define _RMG_USER_ACTION_HH_
18
19
#include "G4VUserActionInitialization.hh"
20
29
class
RMGUserAction :
public
G4VUserActionInitialization
{
30
31
public
:
32
33
RMGUserAction() =
default
;
34
~RMGUserAction()
override
=
default
;
35
36
RMGUserAction(RMGUserAction
const
&) =
delete
;
37
RMGUserAction& operator=(RMGUserAction
const
&) =
delete
;
38
RMGUserAction(RMGUserAction&&) =
delete
;
39
RMGUserAction& operator=(RMGUserAction&&) =
delete
;
40
42
void
Build
()
const override
;
44
void
BuildForMaster
()
const override
;
45
};
46
47
#endif
48
49
// vim: tabstop=2 shiftwidth=2 expandtab
G4VUserActionInitialization
RMGUserAction::Build
void Build() const override
Instantiate and register worker-thread user actions.
Definition
RMGUserAction.cc:50
RMGUserAction::BuildForMaster
void BuildForMaster() const override
Instantiate and register the master-thread run action.
Definition
RMGUserAction.cc:33
include
RMGUserAction.hh
Generated by
1.17.0