ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataUtil/src/TreeWriter.cc
(Generate patch)

Comparing UserCode/MitAna/DataUtil/src/TreeWriter.cc (file contents):
Revision 1.17 by loizides, Mon Jul 13 20:04:13 2009 UTC vs.
Revision 1.18 by paus, Wed Mar 28 12:15:35 2012 UTC

# Line 48 | Line 48 | TreeWriter::~TreeWriter()
48   void TreeWriter::AddBranch(const char *name, const char *cname,
49                             void *obj, Int_t bsize, Int_t level)
50   {
51 <  // Add branch with name "name" into tree with name "tname" and set its address
52 <  // to object pointer for class name "cname" using a given buffer size and splitlevel.
51 >  // Add branch with name "name" into tree with name "tname" and set its address to object pointer
52 >  // for class name "cname" using a given buffer size and splitlevel.
53  
54    MyTree  *t = AddOrGetMyTree(GetName());
55    TBranch *b = t->Bronch(name, cname, obj, bsize, level);
# Line 59 | Line 59 | void TreeWriter::AddBranch(const char *n
59   //--------------------------------------------------------------------------------------------------
60   void TreeWriter::AddBranch(const char *name, void *obj, Int_t bsize, Int_t level)
61   {
62 <  // Add branch with name "name" into tree with name "tname" and set its address
63 <  // to object pointer using a given buffer size and splitlevel.
62 >  // Add branch with name "name" into tree with name "tname" and set its address to object pointer
63 >  // using a given buffer size and splitlevel.
64  
65    AddBranch(name, CName(obj), obj, bsize, level);
66   }
# Line 69 | Line 69 | void TreeWriter::AddBranch(const char *n
69   void TreeWriter::AddBranch(const char *name, const char *cname,
70                             void *obj, Int_t bsize)
71   {
72 <  // Add branch with name "name" into tree with name "tname" and set its address
73 <  // to object pointer for class name "cname" using a given buffer size and default splitlevel.
72 >  // Add branch with name "name" into tree with name "tname" and set its address to object pointer
73 >  // for class name "cname" using a given buffer size and default splitlevel.
74  
75    MyTree  *t = AddOrGetMyTree(GetName());
76    TBranch *b = t->Bronch(name, cname, obj, bsize, fDefSL);
# Line 507 | Line 507 | void TreeWriter::SetMaxSize(Long64_t s)
507   //--------------------------------------------------------------------------------------------------
508   void TreeWriter::StoreObject(const TObject *obj)
509   {
510 <  // Store object next to tree in file. Used to store the
511 <  // settings of how the tree was created.
510 >  // Store object next to tree in file. Used to store the settings of how the tree was created.
511  
512    if (!fIsInit) {
513      Fatal("StoreObject", "Tree is not created, call create first!");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines