13#ifndef RooFit_TreeReadBuffer_h 
   14#define RooFit_TreeReadBuffer_h 
   21   virtual operator int() = 0;
 
 
   40   tree.SetBranchAddress(
branchName.Data(), &buf->_value);
 
   41   return std::unique_ptr<TreeReadBuffer>(buf);
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
std::unique_ptr< TreeReadBuffer > createTreeReadBuffer(const TString &branchName, TTree &tree)
Create a TreeReadBuffer to hold the specified type, and attach to the branch passed as argument.
 
A TTree represents a columnar dataset.
 
virtual ~TreeReadBuffer()=default
 
Helper for reading branches with various types from a TTree, and convert all to double.