Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4RootScintillatorTowerContainer.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4RootScintillatorTowerContainer.h
1 #ifndef G4HISTOS_G4ROOTSCINTILLATORTOWERCONTAINER_H
2 #define G4HISTOS_G4ROOTSCINTILLATORTOWERCONTAINER_H
3 
4 #include <phool/PHObject.h>
5 
6 #include <iostream> // for cout, ostream
7 
9 class TowerInfo;
10 class TClonesArray;
11 
13 {
14  public:
17 
18  void Reset() override;
19  void identify(std::ostream& os = std::cout) const override;
20 
21  G4RootScintillatorTower* AddTower(double towerenergy,int ieta, int iphi);
22 
23  void set_idet(const int i) { idet = i; }
24  int get_idet() const { return idet; }
25 
26  void set_etotal(const float e) { etotal = e; }
27  float get_etotal() const { return etotal; }
28 
29  void set_eion(const float e) { eion = e; }
30  float get_eion() const { return eion; }
31 
32  void set_leakage(const float f) { leakage = f; }
33  float get_leakage() const { return leakage; }
34 
35  void set_event(const int i) { event = i; }
36  int get_event() const { return event; }
37 
38 
39  protected:
40  int idet;
41  float etotal;
42  float eion;
43  float leakage;
44  int event;
45  TClonesArray* SnglTowers;
46 
47  ClassDefOverride(G4RootScintillatorTowerContainer, 1)
48 };
49 
50 #endif