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
G4RootRawTowerContainer.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4RootRawTowerContainer.h
1
#ifndef G4HISTOS_G4ROOTRAWTOWERCONTAINER_H
2
#define G4HISTOS_G4ROOTRAWTOWERCONTAINER_H
3
4
#include <
phool/PHObject.h
>
5
6
#include <iostream>
// for cout, ostream
7
8
class
G4RootRawTower
;
9
class
TClonesArray;
10
11
class
G4RootRawTowerContainer
:
public
PHObject
12
{
13
public
:
14
G4RootRawTowerContainer
();
15
~G4RootRawTowerContainer
()
override
;
16
17
// from PHObject
18
void
identify
(std::ostream&
os
= std::cout)
const override
;
19
void
Reset
()
override
;
20
21
G4RootRawTower
*
AddG4RootRawTower
(
const
G4RootRawTower
& g4tower);
22
void
set_etotal
(
const
float
e
) {
etotal
=
e
; }
23
float
get_etotal
()
const
{
return
etotal
; }
24
25
void
set_event
(
const
int
i
) {
event
=
i
; }
26
int
get_event
()
const
{
return
event
; }
27
28
29
protected
:
30
float
etotal
;
31
int
event
;
32
TClonesArray*
SnglG4RootRawTowers
;
33
34
ClassDefOverride(
G4RootRawTowerContainer
, 1)
35
};
36
37
#endif
coresoftware
blob
master
simulation
g4simulation
g4histos
G4RootRawTowerContainer.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:14
using
1.8.2 with
sPHENIX GitHub integration