MyClass.h
Go to the documentation of this file.
1 // MyClass.h
2 //
3 // David Adams
4 // September 2019
5 //
6 // Example Root class.
7 
8 #ifndef MyClass_H
9 #define MyClass_H
10 
11 #include "TObject.h"
12 
13 class MyClass {
14 
15 public:
16 
17  int myint =0;
18  float myfloat = 0.0;
19  TObject* myobj = nullptr;
20  unsigned int readCount =0;
21 
22  MyClass();
23  ~MyClass();
24 
25  // Custom streamer.
26  void Streamer(TBuffer& rbuf);
27 
28 };
29 
30 #endif
MyClass()
Definition: MyClass.cxx:13
~MyClass()
Definition: MyClass.cxx:17
unsigned int readCount
Definition: MyClass.h:20
void Streamer(TBuffer &rbuf)
Definition: MyClass.cxx:22
int myint
Definition: MyClass.h:17
float myfloat
Definition: MyClass.h:18
TObject * myobj
Definition: MyClass.h:19