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 const TDictionary * getDictionary()=0
Get ROOT dictionary.
Interface for TTree reading.
void release()
Release memory.
const TString & getBranchName() const
Get TBranch name.
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
virtual bool load(TFile *file)=0
Load TTree from given file.
bool is_valid() const
Check validity of pointer.
Auxiliary classd for address handling within TTree or TChain.
Template implementation of class that holds pointer to object(s).
JTreeReader(const JTreeParameters ¶meters=JROOT::getTreeParameters< T >())
Constructor.
Auxiliary class for template TTree reading.
Data structure for TTree parameters.
virtual bool load(TFile *file)
Load TTree from given file.
virtual void set(JClass_t *p)
Set pointer.
virtual const TDictionary * getDictionary()
Get ROOT dictionary.