Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4RootRawTowerContainer.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4RootRawTowerContainer.h
1 #ifndef G4HISTOS_G4ROOTRAWTOWERCONTAINER_H
2 #define G4HISTOS_G4ROOTRAWTOWERCONTAINER_H
3 
4 #include <phool/PHObject.h>
5 
6 #include <iostream> // for cout, ostream
7 
8 class G4RootRawTower;
9 class TClonesArray;
10 
12 {
13  public:
15  ~G4RootRawTowerContainer() override;
16 
17 // from PHObject
18  void identify(std::ostream& os = std::cout) const override;
19  void Reset() override;
20 
22  void set_etotal(const float e) { etotal = e; }
23  float get_etotal() const { return etotal; }
24 
25  void set_event(const int i) { event = i; }
26  int get_event() const { return event; }
27 
28 
29  protected:
30  float etotal;
31  int event;
32  TClonesArray* SnglG4RootRawTowers;
33 
34  ClassDefOverride(G4RootRawTowerContainer, 1)
35 };
36 
37 #endif