16#include <gsl/pointers>
37 BranchWrapper(
const gsl::not_null<TTree*> tree,
const std::string& className,
const std::string& branchName,
38 const std::string& location,
const std::string& algName,
unsigned int bufferSize = 32000,
39 unsigned int splitLevel = 99 );
49 unsigned int approxEventsPerBasket,
unsigned int splitLevel );
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
unsigned int computeOptimalBufferSize(unsigned int minBufferSize, unsigned int maxBufferSize, unsigned int approxEventsPerBasket, unsigned int splitLevel)
compute optimal buffer size to fit given number of element per basket, respecting given min and max
void setBufferSize(unsigned int size)
void padEntries()
pad the number of item in the branch to the one of the Tree in which it leaves by adding empty entrie...
void(* setBranchAddress)(gsl::not_null< TBranch * >, const void **)
const std::string & getClassName() const
void setDataPtr(void const *dataPtr)
BranchWrapper(const gsl::not_null< TTree * > tree, const std::string &className, const std::string &branchName, const std::string &location, const std::string &algName, unsigned int bufferSize=32000, unsigned int splitLevel=99)
const std::string & getLocation() const
void setBranchData(const gsl::not_null< DataObject * > pObj)
void const * m_dataBuffer