LDMX Software
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Typedefs
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
Related Symbols
Files
File List
File Members
All
Functions
Macros
SimCore
include
SimCore
UserPrimaryParticleInformation.h
Go to the documentation of this file.
1
7
#ifndef SIMCORE_USERPRIMARYPARTICLEINFORMATION_H_
8
#define SIMCORE_USERPRIMARYPARTICLEINFORMATION_H_
9
10
// Geant4
11
#include "G4VUserPrimaryParticleInformation.hh"
12
13
namespace
simcore {
14
19
class
UserPrimaryParticleInformation
20
:
public
G4VUserPrimaryParticleInformation {
21
public
:
25
UserPrimaryParticleInformation
() =
default
;
26
30
virtual
~UserPrimaryParticleInformation
() =
default
;
31
36
void
setHepEvtStatus
(
int
hepEvtStatus) {
hepEvtStatus_
= hepEvtStatus; }
37
42
int
getHepEvtStatus
() {
return
hepEvtStatus_
; }
43
47
void
Print
()
const
{}
48
49
private
:
53
int
hepEvtStatus_
{-1};
54
};
19
class
UserPrimaryParticleInformation
{
…
};
55
56
}
// namespace simcore
57
58
#endif
simcore::UserPrimaryParticleInformation
Defines extra information attached to a Geant4 primary particle.
Definition
UserPrimaryParticleInformation.h:20
simcore::UserPrimaryParticleInformation::getHepEvtStatus
int getHepEvtStatus()
Get the HEP event status.
Definition
UserPrimaryParticleInformation.h:42
simcore::UserPrimaryParticleInformation::setHepEvtStatus
void setHepEvtStatus(int hepEvtStatus)
Set the HEP event status (generator status) e.g.
Definition
UserPrimaryParticleInformation.h:36
simcore::UserPrimaryParticleInformation::hepEvtStatus_
int hepEvtStatus_
The HEP event status.
Definition
UserPrimaryParticleInformation.h:53
simcore::UserPrimaryParticleInformation::UserPrimaryParticleInformation
UserPrimaryParticleInformation()=default
Class Constructor.
simcore::UserPrimaryParticleInformation::~UserPrimaryParticleInformation
virtual ~UserPrimaryParticleInformation()=default
Class destructor.
simcore::UserPrimaryParticleInformation::Print
void Print() const
Implement virtual method (no-op).
Definition
UserPrimaryParticleInformation.h:47
Generated by
1.12.0