Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHG4TruthSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4TruthSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4MAIN_PHG4TRUTHSUBSYSTEM_H
4
#define G4MAIN_PHG4TRUTHSUBSYSTEM_H
5
6
#include "
PHG4Subsystem.h
"
7
8
#include <string>
9
10
class
PHCompositeNode
;
11
class
PHG4EventAction
;
12
class
PHG4TrackingAction
;
13
class
PHG4TruthTrackingAction
;
14
class
PHG4TruthEventAction
;
15
16
class
PHG4TruthSubsystem
:
public
PHG4Subsystem
17
{
18
public
:
20
PHG4TruthSubsystem
(
const
std::string
&
name
=
"TRUTH"
);
21
23
~PHG4TruthSubsystem
(
void
)
override
24
{
25
}
26
28
int
InitRun
(
PHCompositeNode
*)
override
;
29
31
int
process_event
(
PHCompositeNode
*)
override
;
32
34
int
process_after_geant
(
PHCompositeNode
*)
override
;
35
37
int
ResetEvent
(
PHCompositeNode
*)
override
;
38
40
PHG4EventAction
*
GetEventAction
(
void
)
const override
;
41
PHG4TrackingAction
*
GetTrackingAction
(
void
)
const override
;
42
44
void
SetSaveOnlyEmbeded
(
bool
b
=
true
) {
m_SaveOnlyEmbededFlag
=
b
; };
45
46
private
:
47
PHG4TruthEventAction
*
m_EventAction
;
48
49
PHG4TruthTrackingAction
*
m_TrackingAction
;
50
52
bool
m_SaveOnlyEmbededFlag
;
53
};
54
55
#endif
coresoftware
blob
master
simulation
g4simulation
g4main
PHG4TruthSubsystem.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:15
using
1.8.2 with
sPHENIX GitHub integration