Go to the documentation of this file. 1 #ifndef __JROOT__JTREEREADER__
2 #define __JROOT__JTREEREADER__
6 #include "TDictionary.h"
19 namespace JPP {
using namespace JROOT; }
38 virtual bool load(TFile* file) = 0;
80 virtual bool load(TFile* file)
86 this->
set(dynamic_cast<TTree*>(file->Get(this->getTreeName())));
107 return TDictionary::GetDictionary(T::Class_Name());
virtual void set(JClass_t *p)
Set pointer.
JTreeReader(const JTreeParameters ¶meters=JROOT::getTreeParameters< T >())
Constructor.
virtual const TDictionary * getDictionary()=0
Get ROOT dictionary.
virtual JClass_t * get() const
Get pointer.
Auxiliary classes and methods for ROOT I/O.
Auxiliary class for template TTree reading.
virtual bool load(TFile *file)=0
Load TTree from given file.
Auxiliary classd for address handling within TTree or TChain.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Template implementation of class that holds pointer to object(s).
const TString & getBranchName() const
Get TBranch name.
virtual bool load(TFile *file)
Load TTree from given file.
virtual const TDictionary * getDictionary()
Get ROOT dictionary.
void release()
Release memory.
Interface for TTree reading.
bool is_valid() const
Check validity of pointer.
Data structure for TTree parameters.