File indexing completed on 2025-12-19 09:21:36
0001
0002
0003 #ifndef G4HISTOS_G4ROOTSCINTILLATORTOWER_H
0004 #define G4HISTOS_G4ROOTSCINTILLATORTOWER_H
0005
0006 #include <phool/PHObject.h>
0007
0008 #include <iostream> // for cout, ostream
0009
0010
0011
0012 class G4RootScintillatorTower : public PHObject
0013 {
0014 public:
0015 G4RootScintillatorTower() = default;
0016 G4RootScintillatorTower(double towerenergy, int ieta, int iphi);
0017 ~G4RootScintillatorTower() override = default;
0018
0019 void Reset() override;
0020 int isValid() const override;
0021 void identify(std::ostream& os = std::cout) const override;
0022
0023 int get_row() const { return row; }
0024 int get_column() const { return column; }
0025 double get_energy() const { return energy; }
0026
0027 protected:
0028 short row{-1};
0029 short column{-1};
0030 double energy{-1};
0031
0032 ClassDefOverride(G4RootScintillatorTower, 1)
0033 };
0034
0035 #endif