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
TowerInfov1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TowerInfov1.h
1
#ifndef TOWERINFOV1_H
2
#define TOWERINFOV1_H
3
4
#include "
TowerInfo.h
"
5
6
#include <
phool/PHObject.h
>
7
8
#include <cmath>
9
10
class
TowerInfov1
:
public
TowerInfo
11
{
12
public
:
13
TowerInfov1
() {}
14
TowerInfov1
(
TowerInfo
&
tower
);
15
~TowerInfov1
()
override
{}
16
void
Reset
()
override
;
17
19
void
Clear
(Option_t* =
""
)
override
;
20
21
void
set_time
(
short
t
)
override
{
_time
=
t
; }
22
short
get_time
()
override
{
return
_time
; }
23
void
set_energy
(
float
energy
)
override
{
_energy
=
energy
; }
24
float
get_energy
()
override
{
return
_energy
; }
25
void
copy_tower
(
TowerInfo
*
tower
)
override
;
26
27
private
:
28
short
_time
= 0;
29
float
_energy
= 0;
30
31
ClassDefOverride
(
TowerInfov1
, 1);
32
};
33
34
#endif
coresoftware
blob
master
offline
packages
CaloBase
TowerInfov1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration