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