Analysis Software
Documentation for sPHENIX simulation software
 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:
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 
32 };
33 
34 #endif