Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:18:04

0001 // Tell emacs that this is a C++ source
0002 // This file is really -*- C++ -*-.
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 /* class TowerInfo; */
0011 
0012 class G4RootScintillatorTower : public PHObject
0013 {
0014  public:
0015   G4RootScintillatorTower();
0016   G4RootScintillatorTower(double towerenergy, int ieta, int iphi);
0017   ~G4RootScintillatorTower() override {}
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;
0029   short column;
0030   double energy;
0031 
0032   ClassDefOverride(G4RootScintillatorTower, 1)
0033 };
0034 
0035 #endif  // G4HISTOS_G4ROOTSCINTILLATORTOWER_H