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
PHG4SpacalPrototype4Subsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4SpacalPrototype4Subsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4CALOPROTOTYPE_PHG4SPACALPROTOTYPE4SUBSYSTEM_H
4
#define G4CALOPROTOTYPE_PHG4SPACALPROTOTYPE4SUBSYSTEM_H
5
6
#include <
g4detectors/PHG4DetectorSubsystem.h
>
7
8
#include <string>
// for string
9
10
class
PHCompositeNode
;
11
class
PHG4Detector
;
12
class
PHG4SpacalPrototype4Detector
;
13
class
PHG4SteppingAction
;
14
15
class
PHG4SpacalPrototype4Subsystem
:
public
PHG4DetectorSubsystem
16
{
17
public
:
19
explicit
PHG4SpacalPrototype4Subsystem
(
const
std::string
&
name
=
"CEMC"
);
20
22
virtual
~PHG4SpacalPrototype4Subsystem
(
void
) {}
23
25
30
int
InitRunSubsystem
(
PHCompositeNode
*);
31
33
37
int
process_event
(
PHCompositeNode
*);
38
40
virtual
PHG4Detector
*
GetDetector
(
void
)
const
;
41
PHG4SteppingAction
*
GetSteppingAction
(
void
)
const
{
return
steppingAction_
; }
42
43
void
44
Print
(
const
std::string
& what =
"ALL"
)
const
;
45
46
private
:
48
void
SetDefaultParameters
();
49
51
52
PHG4SpacalPrototype4Detector
*
detector_
;
53
55
56
PHG4SteppingAction
*
steppingAction_
;
57
};
58
59
#endif
prototype
blob
master
simulation
g4simulation
g4caloprototype
PHG4SpacalPrototype4Subsystem.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:29
using
1.8.2 with
sPHENIX GitHub integration