File indexing completed on 2025-08-06 08:19:02
0001 #include "PHG4ScintillatorSlatv1.h"
0002
0003 #include <g4main/PHG4HitDefs.h> // for keytype
0004
0005 short PHG4ScintillatorSlatv1::get_row() const
0006 {
0007 return (key & 0xFFFFU);
0008 }
0009
0010 short PHG4ScintillatorSlatv1::get_column() const
0011 {
0012 return (key >> 16U);
0013 }
0014
0015 void PHG4ScintillatorSlatv1::identify(std::ostream& os) const
0016 {
0017 os << "row " << get_row() << " ";
0018 os << " column " << get_column() << " ";
0019 os << " energy deposition " << get_edep();
0020 os << " ionization energy " << get_eion();
0021 os << " light yield " << get_light_yield();
0022 os << std::endl;
0023 }