1 #ifndef __JROOT__JTREEWRITER__ 
    2 #define __JROOT__JTREEWRITER__ 
   17 namespace JPP { 
using namespace JROOT; }
 
const TBranch * GetBranch() const 
Get the pointer to the unique TBranch belonging this TTree. 
 
const TString & getBranchName() const 
Get TBranch name. 
 
const T * address
Pointer to unique object belonging to this TTree. 
 
Auxiliary class for template TTree writing. 
 
JTreeWriter(const JTreeParameters ¶meters=JROOT::getTreeParameters< T >())
Constructor. 
 
int getCompressionLevel() const 
Get compression level. 
 
virtual Int_t copy(JReader &in)
Copy data. 
 
int getSplitLevel() const 
Get split level. 
 
TBranch * branch
Pointer to unique branch belonging to this TTree. 
 
static JTreeCopyWriter< T > & getInstance()
Get reference to unique instance of this class object. 
 
const TString & getTreeTitle() const 
Get TTree title. 
 
Interface for template TTree writing and copying. 
 
JTreeCopyWriter(const JTreeParameters &tree)
Constructor. 
 
Int_t Write(const T &object)
Data object output equivalent of TTree::Fill(). 
 
Interface for binary input. 
 
Implementation for template TTree writing and copying. 
 
int getBasketSize() const 
Get basket size. 
 
Data structure for TTree parameters. 
 
virtual Int_t copy(JReader &in)=0
Copy data. 
 
const TString & getTreeName() const 
Get TTree name. 
 
JTreeCopyWriter< T > & getTreeCopyWriter()
Get the TTree writer and copy for this type of object.