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.
then set_variable PMT_FILE set_variable DAQ_FILE set_variable OUTPUT_FILE set_variable DETECTOR else fatal Wrong number of arguments fi set_variable RUNBYRUN file
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
then usage $script< detector file >< detectorfile > nIf the range of floors is the first detector file is aligned to the second before the comparison nIn this
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.