Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:13:21

0001 /// ---------------------------------------------------------------------------
0002 /*! \file   TreeInterfaces.h
0003  *  \author Derek Anderson
0004  *  \date   03.05.2024
0005  *
0006  *  TTree-related interfaces.
0007  */
0008 /// ---------------------------------------------------------------------------
0009 
0010 #ifndef SCORRELATORUTILITIES_TREEINTERFACES_H
0011 #define SCORRELATORUTILITIES_TREEINTERFACES_H
0012 
0013 // c++ utilities
0014 #include <limits>
0015 // root libraries
0016 #include <TTree.h>
0017 #include <TChain.h>
0018 #include <TNtuple.h>
0019 
0020 // make common namespaces implicit
0021 using namespace std;
0022 
0023 
0024 
0025 namespace SColdQcdCorrelatorAnalysis {
0026   namespace Interfaces {
0027 
0028     // tree interfaces --------------------------------------------------------
0029 
0030     template <typename T> int64_t GetEntry(T* tree, const uint64_t entry);
0031     template <typename T> int64_t LoadTree(T* tree, const uint64_t entry, int& current);
0032 
0033   }  // end Interfaces namespace
0034 }  // end SColdQcdCorrealtorAnalysis namespace
0035 
0036 #endif
0037 
0038 // end ------------------------------------------------------------------------