22 #include "TObjArray.h" 26 #include <boost/tokenizer.hpp> 27 #include <boost/lexical_cast.hpp> 220 bool isMultiDimensional()
const;
225 int numberOfElements()
const;
229 unsigned int size ()
const;
237 double valueAt (
unsigned int row )
const;
250 double * doubleArrayAt (
unsigned int row );
254 float * floatArrayAt (
unsigned int row );
258 int * intArrayAt (
unsigned int row );
262 unsigned int * uintArrayAt (
unsigned int row );
264 bool isFilled ( )
const;
272 unsigned int getRank ()
const;
277 void setReleventIndex(
const std::vector< unsigned int >& index );
282 const std::vector < int > & getShape ();
285 TBranch * getTBranch();
289 bool isUseable ()
const;
295 void setBranchAddress ()
const;
301 void initShape (
const char* title );
307 #endif // RootBranch_H UInt_t m_uint_data
The address of the following variable is given to ROOT TTree as the branch address for this branch if...
ULong64_t * m_vector_ulong64_data
The address of the following variable is given to ROOT TTree as the branch address for this branch if...
The namespace for ROOT data types.
Long64_t m_long64_data
The address of the following variable is given to ROOT TTree as the branch address for this branch if...
Int_t m_int_data
The address of the following variable is given to ROOT TTree as the branch address for this branch if...
UShort_t * m_vector_ushort_data
The address of the following variable is given to ROOT TTree as the branch address for this branch if...
Float_t * m_vector_float_data
The address of the following variable is given to ROOT TTree as the branch address for this branch if...
Double_t * m_vector_double_data
The address of the following variable is given to ROOT TTree as the branch address for this branch if...
int m_number_leaves
The number of TLeaf objects on this TBranch.
TLeaf * m_leaf
The ROOT TLeaf which described the data in this branch.
Short_t m_short_data
The address of the following variable is given to ROOT TTree as the branch address for this branch if...
UShort_t m_ushort_data
The address of the following variable is given to ROOT TTree as the branch address for this branch if...
Double_t m_double_data
The address of the following variable is given to ROOT TTree as the branch address for this branch if...
UInt_t * m_vector_uint_data
The address of the following variable is given to ROOT TTree as the branch address for this branch if...
Short_t * m_vector_short_data
The address of the following variable is given to ROOT TTree as the branch address for this branch if...
std::vector< int > m_shape
In case the data quantity we are dealing with is a vector/matrix store its dimensions of each axis in...
intp size(numeric::array arr)
int m_releventIndex
In case the data quantity is vector/matrix we would like just to take one element out of it...
Int_t * m_vector_int_data
The address of the following variable is given to ROOT TTree as the branch address for this branch if...
A class to read data from a ROOT TBranch.
#define MDL_HIPPOPLOT_API
TBranch * m_branch
The ROOT TBranch from which the data will be obtained.
Type
The type of data on the branch.
Float_t m_float_data
The address of the following variable is given to ROOT TTree as the branch address for this branch if...
hippodraw::RootData::Type m_leaf_type
The ROOT type name for this branch if single TLeaf is on this branch.
Long64_t * m_vector_long64_data
The address of the following variable is given to ROOT TTree as the branch address for this branch if...
bool m_useable
Set to false if the branch is not usable.
int m_number_elements
The number of elements in the Leaf array or 0 if not an array.
bool m_branch_set
Set true when branch address has been set.
ULong64_t m_ulong64_data
The address of the following variable is given to ROOT TTree as the branch address for this branch if...