Jpp
18.0.0
the software that should make you happy
|
Auxiliary class for template TTree writing. More...
#include <JTreeWriter.hh>
Public Member Functions | |
JTreeWriter (const JTreeParameters ¶meters=JROOT::getTreeParameters< T >()) | |
Constructor. 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... | |
Protected Attributes | |
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... | |
Auxiliary class for template TTree writing.
Definition at line 28 of file JTreeWriter.hh.
|
inline |
Constructor.
Note that the default TTree parameters are obtained using method JROOT::getTreeParameters.
parameters | parameters of TTree |
Definition at line 40 of file JTreeWriter.hh.
|
inline |
Get the pointer to the unique TBranch belonging this TTree.
Definition at line 61 of file JTreeWriter.hh.
|
inline |
Data object output equivalent of TTree::Fill().
object | data object |
Definition at line 73 of file JTreeWriter.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Get TBranch name.
Definition at line 96 of file JTreeParameters.hh.
|
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.
|
private |
Pointer to unique branch belonging to this TTree.
Definition at line 82 of file JTreeWriter.hh.
|
private |
Pointer to unique object belonging to this TTree.
Definition at line 83 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.