ECCE @ EIC Software
Reference for
ECCE @ 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
G4RootScintillatorTowerContainer.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4RootScintillatorTowerContainer.h
1
#ifndef G4HISTOS_G4ROOTSCINTILLATORTOWERCONTAINER_H
2
#define G4HISTOS_G4ROOTSCINTILLATORTOWERCONTAINER_H
3
4
#include <
phool/PHObject.h
>
5
6
#include <iostream>
// for cout, ostream
7
8
class
G4RootScintillatorTower
;
9
class
RawTower
;
10
class
TClonesArray;
11
12
class
G4RootScintillatorTowerContainer
:
public
PHObject
13
{
14
public
:
15
G4RootScintillatorTowerContainer
();
16
~G4RootScintillatorTowerContainer
()
override
;
17
18
void
Reset
()
override
;
19
void
identify
(std::ostream& os = std::cout)
const override
;
20
21
G4RootScintillatorTower
*
AddTower
(
const
RawTower
& tower);
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*
SnglTowers
;
46
47
ClassDefOverride(
G4RootScintillatorTowerContainer
, 1)
48
};
49
50
#endif
coresoftware
blob
master
simulation
g4simulation
g4histos
G4RootScintillatorTowerContainer.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:43
using
1.8.2 with
ECCE GitHub integration