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
G4RootScintillatorSlatContainer.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4RootScintillatorSlatContainer.h
1
#ifndef G4HISTOS_G4ROOTSCINTILLATORSLATCONTAINER_H
2
#define G4HISTOS_G4ROOTSCINTILLATORSLATCONTAINER_H
3
4
#include <
phool/PHObject.h
>
5
6
#include <iostream>
// for cout, ostream
7
8
class
PHG4ScintillatorSlat
;
9
class
G4RootScintillatorSlat
;
10
class
TClonesArray;
11
12
class
G4RootScintillatorSlatContainer
:
public
PHObject
13
{
14
public
:
15
G4RootScintillatorSlatContainer
();
16
~G4RootScintillatorSlatContainer
()
override
;
17
18
void
identify
(std::ostream&
os
= std::cout)
const override
;
19
void
Reset
()
override
;
20
21
G4RootScintillatorSlat
*
AddSlat
(
const
PHG4ScintillatorSlat
& slat);
22
23
void
set_idet
(
const
int
i
) {
idet
=
i
; }
24
int
get_idet
()
const
{
return
idet
; }
25
26
void
set_etotal
(
const
float
e
) {
etotal
=
e
; }
27
float
get_etotal
()
const
{
return
etotal
; }
28
29
void
set_eion
(
const
float
e
) {
eion
=
e
; }
30
float
get_eion
()
const
{
return
eion
; }
31
32
void
set_leakage
(
const
float
f
) {
leakage
=
f
; }
33
float
get_leakage
()
const
{
return
leakage
; }
34
35
void
set_event
(
const
int
i
) {
event
=
i
; }
36
int
get_event
()
const
{
return
event
; }
37
38
39
protected
:
40
int
idet
;
41
float
etotal
;
42
float
eion
;
43
float
leakage
;
44
int
event
;
45
TClonesArray*
SnglSlats
;
46
47
ClassDefOverride(
G4RootScintillatorSlatContainer
, 1)
48
};
49
50
#endif
coresoftware
blob
master
simulation
g4simulation
g4histos
G4RootScintillatorSlatContainer.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:14
using
1.8.2 with
sPHENIX GitHub integration