ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4RootScintillatorTower.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4RootScintillatorTower.h
1 // Tell emacs that this is a C++ source
2 // This file is really -*- C++ -*-.
3 #ifndef G4HISTOS_G4ROOTSCINTILLATORTOWER_H
4 #define G4HISTOS_G4ROOTSCINTILLATORTOWER_H
5 
6 #include <phool/PHObject.h>
7 
8 #include <iostream> // for cout, ostream
9 
10 class RawTower;
11 
13 {
14  public:
16  G4RootScintillatorTower(const RawTower& tower);
18 
19  void Reset() override;
20  int isValid() const override;
21  void identify(std::ostream& os = std::cout) const override;
22 
23  int get_row() const { return row; }
24  int get_column() const { return column; }
25  double get_energy() const { return energy; }
26 
27  protected:
28  short row;
29  short column;
30  double energy;
31 
32  ClassDefOverride(G4RootScintillatorTower, 1)
33 };
34 
35 #endif // G4HISTOS_G4ROOTSCINTILLATORTOWER_H