Jpp 19.3.0-rc.1
the software that should make you happy
|
Auxiliary class for default template TTree writing. More...
#include <JTreeWriter.hh>
Public Member Functions | |
JTreeWriter (const JTreeParameters ¶meters=JROOT::getTreeParameters< T >()) | |
Constructor. | |
const TBranch * | GetBranch () const |
Get the pointer to the unique TBranch belonging this TTree. | |
Int_t | Write (const T &object) |
Data object output equivalent of TTree::Fill(). | |
const JTreeParameters & | getTreeParameters () const |
Get TTree parameters. | |
const TString & | getTreeName () const |
Get TTree name. | |
const TString & | getTreeTitle () const |
Get TTree title. | |
const TString & | getBranchName () const |
Get TBranch name. | |
int | getCompressionLevel () const |
Get compression level. | |
void | setCompressionLevel (const int value) |
Set compression level. | |
int | getBasketSize () const |
Get basket size. | |
void | setBasketSize (int value) |
Set basket size. | |
int | getSplitLevel () const |
Get split level. | |
void | setSplitLevel (int value) |
Set split level. | |
Long64_t | getAutoFlush () const |
Get auto flush. | |
void | setAutoFlush (Long64_t value) |
Set auto flush. | |
Protected Attributes | |
TString | treeName |
TTree name. | |
TString | treeTitle |
TTree title. | |
TString | branchName |
TBranch name. | |
int | compressionLevel |
TBranch compression level. | |
int | basketSize |
TBranch basket size. | |
int | splitLevel |
TBranch split level. | |
Long64_t | autoFlush |
TTree auto flush. | |
Private Attributes | |
TBranch * | branch |
Pointer to unique branch belonging to this TTree. | |
const T * | address |
Pointer to unique object belonging to this TTree. | |
Auxiliary class for default template TTree writing.
Definition at line 35 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 47 of file JTreeWriter.hh.
|
inline |
Get the pointer to the unique TBranch belonging this TTree.
Definition at line 71 of file JTreeWriter.hh.
|
inline |
Data object output equivalent of TTree::Fill().
object | data object |
Definition at line 83 of file JTreeWriter.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Get TBranch name.
Definition at line 100 of file JTreeParameters.hh.
|
inlineinherited |
Get compression level.
Definition at line 111 of file JTreeParameters.hh.
|
inlineinherited |
Set compression level.
value | compression level |
Definition at line 122 of file JTreeParameters.hh.
|
inlineinherited |
Get basket size.
Definition at line 133 of file JTreeParameters.hh.
|
inlineinherited |
|
inlineinherited |
Get split level.
Definition at line 155 of file JTreeParameters.hh.
|
inlineinherited |
|
inlineinherited |
Get auto flush.
Definition at line 177 of file JTreeParameters.hh.
|
inlineinherited |
|
private |
Pointer to unique branch belonging to this TTree.
Definition at line 95 of file JTreeWriter.hh.
|
private |
Pointer to unique object belonging to this TTree.
Definition at line 96 of file JTreeWriter.hh.
|
protectedinherited |
TTree name.
Definition at line 215 of file JTreeParameters.hh.
|
protectedinherited |
TTree title.
Definition at line 216 of file JTreeParameters.hh.
|
protectedinherited |
TBranch name.
Definition at line 217 of file JTreeParameters.hh.
|
protectedinherited |
TBranch compression level.
Definition at line 218 of file JTreeParameters.hh.
|
protectedinherited |
TBranch basket size.
Definition at line 219 of file JTreeParameters.hh.
|
protectedinherited |
TBranch split level.
Definition at line 220 of file JTreeParameters.hh.
|
protectedinherited |
TTree auto flush.
Definition at line 221 of file JTreeParameters.hh.