1 #ifndef __JROOT__JTREEWRITER__
2 #define __JROOT__JTREEWRITER__
4 #pragma GCC diagnostic push
5 #pragma GCC diagnostic ignored "-Wall"
8 #pragma GCC diagnostic pop
20 namespace JPP {
using namespace JROOT; }
84 using TTree::GetBranch;
const TBranch * GetBranch() const
Get the pointer to the unique TBranch belonging this TTree.
const TString & getBranchName() const
Get TBranch name.
const T * address
Pointer to unique object belonging to this TTree.
Auxiliary class for template TTree writing.
*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
JTreeWriter(const JTreeParameters ¶meters=JROOT::getTreeParameters< T >())
Constructor.
int getCompressionLevel() const
Get compression level.
int getSplitLevel() const
Get split level.
TBranch * branch
Pointer to unique branch belonging to this TTree.
static JTreeCopyWriter< T > & getInstance()
Get reference to unique instance of this class object.
const TString & getTreeTitle() const
Get TTree title.
Interface for template TTree writing and copying.
JTreeCopyWriter(const JTreeParameters &tree)
Constructor.
Int_t Write(const T &object)
Data object output equivalent of TTree::Fill().
do set_variable OUTPUT_DIRECTORY $WORKDIR T
Interface for binary input.
Implementation for template TTree writing and copying.
int getBasketSize() const
Get basket size.
Data structure for TTree parameters.
virtual Int_t copy(JReader &in)=0
Copy data.
then fatal The output file must have the wildcard in the e g root fi eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
const TString & getTreeName() const
Get TTree name.
JTreeCopyWriter< T > & getTreeCopyWriter()
Get the TTree writer and copy for this type of object.
virtual Int_t copy(JReader &in) override
Copy data.