Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:19:16

0001 #ifndef G4HISTOS_G4ROOTSCINTILLATORSLAT_H
0002 #define G4HISTOS_G4ROOTSCINTILLATORSLAT_H
0003 
0004 #include <phool/PHObject.h>
0005 
0006 #include <iostream>  // for cout, ostream
0007 
0008 class PHG4ScintillatorSlat;
0009 
0010 class G4RootScintillatorSlat : public PHObject
0011 {
0012  public:
0013   G4RootScintillatorSlat();
0014   G4RootScintillatorSlat(const PHG4ScintillatorSlat& slat);
0015   ~G4RootScintillatorSlat() override {}
0016 
0017   void Reset() override;
0018   int isValid() const override;
0019   void identify(std::ostream& os = std::cout) const override;
0020 
0021   int get_row() const { return row; }
0022   int get_column() const { return column; }
0023 
0024   double get_edep() const { return edep; }
0025   double get_eion() const { return eion; }
0026   double get_light_yield() const { return light_yield; }
0027 
0028  protected:
0029   short row;
0030   short column;
0031   double edep;
0032   double eion;
0033   double light_yield;
0034 
0035   ClassDefOverride(G4RootScintillatorSlat, 1)
0036 };
0037 
0038 #endif /* G4HISTOS_G4ROOTSCINTILLATORSLAT_H */