Jpp
19.1.0
the software that should make you happy
|
Implementation for template TTree writing and copying. More...
#include <JTreeWriter.hh>
Public Member Functions | |
virtual Int_t | copy (JReader &in) override |
Copy data. More... | |
const TBranch * | GetBranch () const |
Get the pointer to the unique TBranch belonging this TTree. More... | |
Int_t | Write (const T &object) |
Data object output equivalent of TTree::Fill(). More... | |
const JTreeParameters & | getTreeParameters () const |
Get TTree parameters. More... | |
const TString & | getTreeName () const |
Get TTree name. More... | |
const TString & | getTreeTitle () const |
Get TTree title. More... | |
const TString & | getBranchName () const |
Get TBranch name. More... | |
int | getCompressionLevel () const |
Get compression level. More... | |
int | getBasketSize () const |
Get basket size. More... | |
int | getSplitLevel () const |
Get split level. More... | |
Static Public Member Functions | |
static JTreeCopyWriter< T > & | getInstance () |
Get reference to unique instance of this class object. More... | |
Protected Member Functions | |
JTreeCopyWriter (const JTreeParameters &tree) | |
Constructor. More... | |
JTreeCopyWriter (const JTreeCopyWriter< T > &writer) | |
Hide copy constructor. More... | |
Protected Attributes | |
T | object |
TString | treeName |
TTree name. More... | |
TString | treeTitle |
TTree title. More... | |
TString | branchName |
TBranch name. More... | |
int | compressionLevel |
TBranch compression level. More... | |
int | basketSize |
TBranch basket size. More... | |
int | splitLevel |
TBranch split level. More... | |
Private Attributes | |
TBranch * | branch |
Pointer to unique branch belonging to this TTree. More... | |
const T * | address |
Pointer to unique object belonging to this TTree. More... | |
Implementation for template TTree writing and copying.
This class implements the JTreeCopyWriter interface.
Definition at line 204 of file JTreeWriter.hh.
|
inlineprotected |
|
protected |
Hide copy constructor.
writer | TTree writer object |
|
inlinestatic |
Get reference to unique instance of this class object.
Definition at line 233 of file JTreeWriter.hh.
|
inlineoverridevirtual |
Copy data.
in | binary reader |
Implements JROOT::JTreeCopyWriterInterface.
Definition at line 246 of file JTreeWriter.hh.
|
inlineinherited |
Get the pointer to the unique TBranch belonging this TTree.
Definition at line 68 of file JTreeWriter.hh.
|
inlineinherited |
Data object output equivalent of TTree::Fill().
object | data object |
Definition at line 80 of file JTreeWriter.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Get compression level.
Definition at line 107 of file JTreeParameters.hh.
|
inlineinherited |
Get basket size.
Definition at line 118 of file JTreeParameters.hh.
|
inlineinherited |
Get split level.
Definition at line 129 of file JTreeParameters.hh.
|
protected |
Definition at line 255 of file JTreeWriter.hh.
|
privateinherited |
Pointer to unique branch belonging to this TTree.
Definition at line 92 of file JTreeWriter.hh.
|
privateinherited |
Pointer to unique object belonging to this TTree.
Definition at line 93 of file JTreeWriter.hh.
|
protectedinherited |
TTree name.
Definition at line 155 of file JTreeParameters.hh.
|
protectedinherited |
TTree title.
Definition at line 156 of file JTreeParameters.hh.
|
protectedinherited |
TBranch name.
Definition at line 157 of file JTreeParameters.hh.
|
protectedinherited |
TBranch compression level.
Definition at line 158 of file JTreeParameters.hh.
|
protectedinherited |
TBranch basket size.
Definition at line 159 of file JTreeParameters.hh.
|
protectedinherited |
TBranch split level.
Definition at line 160 of file JTreeParameters.hh.