EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
G4LmonSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4LmonSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4LMONSUBSYSTEM_H
4
#define G4LMONSUBSYSTEM_H
5
6
#include <
g4main/PHG4Subsystem.h
>
7
8
#include <string>
9
10
class
PHCompositeNode
;
11
class
PHG4Detector
;
12
class
G4LmonDetector
;
13
class
PHG4SteppingAction
;
14
class
RootOut
;
15
class
PHG4EventAction
;
16
27
class
G4LmonSubsystem
:
public
PHG4Subsystem
28
{
29
public
:
31
G4LmonSubsystem
(
const
std::string&
name
=
"LMon"
);
32
34
virtual
~G4LmonSubsystem
(){}
35
41
virtual
int
Init
(
PHCompositeNode
*);
42
44
48
virtual
int
process_event
(
PHCompositeNode
*);
49
51
PHG4Detector
*
GetDetector
()
const
;
52
53
PHG4SteppingAction
*
GetSteppingAction
()
const
{
return
m_SteppingAction
;}
54
55
PHG4EventAction
*
GetEventAction
(
void
)
const
{
return
m_EventAction
;}
57
virtual
void
Print
(
const
std::string& what =
"ALL"
)
const
;
58
void
SetFileName
(
const
std::string &fname) {
m_rootname
= fname;}
59
private
:
60
62
63
G4LmonDetector
*
m_Detector
;
64
66
67
PHG4SteppingAction
*
m_SteppingAction
;
68
PHG4EventAction
*
m_EventAction
;
69
RootOut
*
rootoutput
;
70
std::string
m_rootname
;
71
};
72
73
#endif // G4LMONSUBSYSTEM_H
Fun4All-lmon
blob
master
source
G4LmonSubsystem.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:38
using
1.8.2 with
EIC GitHub integration