EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4RootScintillatorSlat.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4RootScintillatorSlat.cc
2 
4 
5 #include <iostream>
6 
7 using namespace std;
8 
10  : row(-1)
11  , column(-1)
12  , edep(0)
13  , eion(0)
14  , light_yield(0)
15 {
16 }
17 
19  : row(slat.get_row())
20  , column(slat.get_column())
21  , edep(slat.get_edep())
22  , eion(slat.get_eion())
23  , light_yield(slat.get_light_yield())
24 {
25 }
26 
28 {
29  row = -1;
30  column = -1;
31  eion = 0;
32  edep = 0;
33  light_yield = 0;
34 }
35 
37 {
38  return (row >= 0);
39 }
40 
41 void G4RootScintillatorSlat::identify(std::ostream& os) const
42 {
43  os << "G4RootScintillatorSlat: row: " << row << ", column: " << column
44  << " energy=" << edep << std::endl;
45 }