Rev | Line | |
---|
[3] | 1 | #ifndef ExRootTreeBranch_h
|
---|
| 2 | #define ExRootTreeBranch_h
|
---|
| 3 |
|
---|
| 4 | /** \class ExRootTreeBranch
|
---|
| 5 | *
|
---|
| 6 | * Class handling output ROOT tree branch
|
---|
| 7 | *
|
---|
| 8 | * $Date: 2008-11-04 10:32:26 $
|
---|
| 9 | * $Revision: 1.1 $
|
---|
| 10 | *
|
---|
| 11 | *
|
---|
| 12 | * \author S. Ovyn - UCL, Louvain-la-Neuve
|
---|
| 13 | *
|
---|
| 14 | */
|
---|
| 15 |
|
---|
| 16 | #include "Rtypes.h"
|
---|
| 17 | #include "TString.h"
|
---|
| 18 |
|
---|
| 19 | class TTree;
|
---|
| 20 | class TClonesArray;
|
---|
| 21 |
|
---|
| 22 | class ExRootTreeBranch
|
---|
| 23 | {
|
---|
| 24 | public:
|
---|
| 25 |
|
---|
| 26 | class MemoryAllocationExeption{};
|
---|
| 27 |
|
---|
| 28 | ExRootTreeBranch(const TString &name, TClass *cl, TTree *tree);
|
---|
| 29 | ~ExRootTreeBranch();
|
---|
| 30 |
|
---|
| 31 | TObject *NewEntry();
|
---|
| 32 | void Clear();
|
---|
| 33 |
|
---|
| 34 | private:
|
---|
| 35 |
|
---|
| 36 | Int_t fSize, fCapacity;
|
---|
| 37 | TClonesArray *fData;
|
---|
| 38 | };
|
---|
| 39 |
|
---|
| 40 | #endif /* ExRootTreeBranch */
|
---|
| 41 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.