1 #ifndef __JROOT__JTREEREADER__
2 #define __JROOT__JTREEREADER__
4 #pragma GCC diagnostic push
5 #pragma GCC diagnostic ignored "-Wall"
8 #include "TDictionary.h"
9 #pragma GCC diagnostic pop
22 namespace JPP {
using namespace JROOT; }
89 this->
set(dynamic_cast<TTree*>(file->Get(
this->getTreeName())));
110 return TDictionary::GetDictionary(T::Class_Name());
virtual const TDictionary * getDictionary()=0
Get ROOT dictionary.
Interface for TTree reading.
then usage $script[< detector identifier >< run range >]< QA/QCfile > nExample script to produce data quality plots nWhen a detector identifier and run range are data are downloaded from the database nand subsequently stored in the given QA QC file
virtual const TDictionary * getDictionary() override
Get ROOT dictionary.
void release()
Release memory.
*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
Class responsible to setup TTree branch addresses for reading objects of type T.
virtual bool load(TFile *file)=0
Load TTree from given file.
bool is_valid() const
Check validity of pointer.
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.
void setBranchAddress(TTree &tree)
virtual void set(JClass_t *p) override
Set pointer.
virtual bool load(TFile *file) override
Load TTree from given file.