Fork me on GitHub

source: svn/trunk/Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h@ 766

Last change on this file since 766 was 3, checked in by Xavier Rouby, 16 years ago

first commit

File size: 619 bytes
RevLine 
[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
19class TTree;
20class TClonesArray;
21
22class ExRootTreeBranch
23{
24public:
25
26 class MemoryAllocationExeption{};
27
28 ExRootTreeBranch(const TString &name, TClass *cl, TTree *tree);
29 ~ExRootTreeBranch();
30
31 TObject *NewEntry();
32 void Clear();
33
34private:
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.