examples/RootIOExample2/src/MyRunClass.cc
raw| 1 | #include "MyRunClass.h" |
| 2 | |
| 3 | MyRunClass::MyRunClass():someint(0), run(0) {}; |
| 4 | |
| 5 | void MyRunClass::SetRunInfo(GenRunInfo* myrun) |
| 6 | { |
| 7 | run = myrun; |
| 8 | } |
| 9 | |
| 10 | GenRunInfo* MyRunClass::GetRunInfo() |
| 11 | { |
| 12 | return run; |
| 13 | } |
| 14 | |
| 15 | void MyRunClass::SetInt(int theint) |
| 16 | { |
| 17 | someint = theint; |
| 18 | } |
| 19 | |
| 20 | int MyRunClass::GetInt() |
| 21 | { |
| 22 | return someint; |
| 23 | } |
| 24 |