KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVDataBranchHandler.h
1
3
4#ifndef __KVDATABRANCHHANDLER_H
5#define __KVDATABRANCHHANDLER_H
6
7#include "KVBase.h"
8#include "TTree.h"
9#include "TBranch.h"
10
19 void* fAddr;
21
22public:
23 KVDataBranchHandler(TTree*, TObject*, const Char_t*, const Char_t*, const Char_t* = "");
24 virtual ~KVDataBranchHandler();
25
29 {
30 return fBranch;
31 };
32
33 ClassDef(KVDataBranchHandler, 0) //Handles TTree branches for storing member variables of classes
34};
35
36#endif
bool Bool_t
char Char_t
#define ClassDef(name, id)
Base class for KaliVeda framework.
Definition KVBase.h:142
Handles TTree branches for storing member variables of classes.
virtual ~KVDataBranchHandler()
Destructor.
TBranch * fBranch
the branch
void * fAddr
address of variable
TBranch * GetBranch() const
TBranch * CreateBranch()
Create new branch in TTree for member variable and return its address.