Jpp test-rotations-old
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. | |
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. | |
Static Public Member Functions | |
static JTreeCopyWriter< T > & | getInstance () |
Get reference to unique instance of this class object. | |
Protected Member Functions | |
JTreeCopyWriter (const JTreeParameters &tree) | |
Constructor. | |
JTreeCopyWriter (const JTreeCopyWriter< T > &writer) | |
Hide copy constructor. | |
Protected Attributes | |
T | object |
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. | |
Implementation for template TTree writing and copying.
This class implements the JTreeCopyWriter interface.
Definition at line 207 of file JTreeWriter.hh.
|
inlineprotected |
Constructor.
tree | parameters of TTree |
Definition at line 217 of file JTreeWriter.hh.
|
protected |
Hide copy constructor.
writer | TTree writer object |
|
inlinestatic |
Get reference to unique instance of this class object.
Definition at line 236 of file JTreeWriter.hh.
|
inlineoverridevirtual |
Copy data.
in | binary reader |
Implements JROOT::JTreeCopyWriterInterface.
Definition at line 249 of file JTreeWriter.hh.
|
inlineinherited |
Get the pointer to the unique TBranch belonging this TTree.
Definition at line 71 of file JTreeWriter.hh.
|
inlineinherited |
Data object output equivalent of TTree::Fill().
object | data object |
Definition at line 83 of file JTreeWriter.hh.
|
inlineinherited |
Get TTree parameters.
Definition at line 67 of file JTreeParameters.hh.
|
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 |
|
protected |
Definition at line 258 of file JTreeWriter.hh.
|
privateinherited |
Pointer to unique branch belonging to this TTree.
Definition at line 95 of file JTreeWriter.hh.
|
privateinherited |
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.