1 #ifndef __JROOT__JTREEREADER__
2 #define __JROOT__JTREEREADER__
6 #include "TDictionary.h"
19 namespace JPP {
using namespace JROOT; }
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.
virtual const TDictionary * getDictionary() override
Get ROOT dictionary.
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 void set(JClass_t *p) override
Set pointer.
virtual bool load(TFile *file) override
Load TTree from given file.
then usage $script< string identifier >< detectorfile > event file(toashort file)+" "\nNote that the event files and toashort files should be one-to-one related." fi if (( $