Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TowerInfov1.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TowerInfov1.cc
1 #include "TowerInfov1.h"
2 
4 {
5  _time = (tower.get_time());
6  _energy = (tower.get_energy());
7 }
8 
10 {
11  _time = 0;
12  _energy = NAN;
13 }
14 
15 void TowerInfov1::Clear(Option_t* )
16 {
17  _time = 0;
18  _energy = 0;
19 }
20 
22 {
23  set_time(tower->get_time());
24  set_energy(tower->get_energy());
25 }