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