Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4RootRawTower.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4RootRawTower.h
1 #ifndef G4HISTOS_G4ROOTRAWTOWER_H
2 #define G4HISTOS_G4ROOTRAWTOWER_H
3 
4 #include <phool/PHObject.h>
5 
6 #include <iostream> // for cout, ostream
7 
8 class G4RootRawTower : public PHObject
9 {
10  public:
12  G4RootRawTower(const float ieta, const float iphi, const float e);
13  ~G4RootRawTower() override {}
14 
15  void Reset() override;
16  int isValid() const override;
17  void identify(std::ostream& os = std::cout) const override;
18 
19  float get_eta() const { return eta; }
20  float get_phi() const { return phi; }
21  float get_energy() const { return energy; }
22 
23  protected:
24  float eta;
25  float phi;
26  float energy;
27 
28  ClassDefOverride(G4RootRawTower, 1)
29 };
30 
31 #endif /* G4HISTOS_RAWTOWERV1_H */