FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BaseSimpleTreeReader< DataType > Class Template Reference

#include <SimpleTreeReader.h>

Public Member Functions

 BaseSimpleTreeReader ()
 
 BaseSimpleTreeReader (const BaseSimpleTreeReader &)=delete
 
BaseSimpleTreeReader operator= (const BaseSimpleTreeReader &)=delete
 
virtual ~BaseSimpleTreeReader ()
 
void SetFileProperties (const std::string &filename, const std::string &treename, const std::string &branchname)
 
void InitSource ()
 
void SendMultiPart ()
 
void SetIndex (int64_t Event)
 
DataType * GetOutData ()
 
DataType * GetOutData (int64_t Event)
 
void GetOutData (DataType *&data, int64_t Event)
 
void deserialize_impl (DataType *&data, int64_t Event)
 
void deserialize_impl (int64_t Event)
 
int64_t GetNumberOfEvent ()
 
template<typename T >
std::vector< std::vector< T > > GetDataVector ()
 
void BindSendHeader (std::function< void(int)> callback)
 
void BindGetSocketNumber (std::function< int()> callback)
 
void BindGetCurrentIndex (std::function< int()> callback)
 

Protected Attributes

DataType * fInput
 

Detailed Description

template<typename DataType>
class BaseSimpleTreeReader< DataType >

Definition at line 28 of file SimpleTreeReader.h.

Constructor & Destructor Documentation

template<typename DataType >
BaseSimpleTreeReader< DataType >::BaseSimpleTreeReader ( )
inline

Definition at line 31 of file SimpleTreeReader.h.

template<typename DataType >
BaseSimpleTreeReader< DataType >::BaseSimpleTreeReader ( const BaseSimpleTreeReader< DataType > &  )
delete
template<typename DataType >
virtual BaseSimpleTreeReader< DataType >::~BaseSimpleTreeReader ( )
inlinevirtual

Definition at line 48 of file SimpleTreeReader.h.

Member Function Documentation

template<typename DataType >
void BaseSimpleTreeReader< DataType >::BindGetCurrentIndex ( std::function< int()>  callback)
inline

Definition at line 157 of file SimpleTreeReader.h.

template<typename DataType >
void BaseSimpleTreeReader< DataType >::BindGetSocketNumber ( std::function< int()>  callback)
inline

Definition at line 155 of file SimpleTreeReader.h.

template<typename DataType >
void BaseSimpleTreeReader< DataType >::BindSendHeader ( std::function< void(int)>  callback)
inline

Definition at line 153 of file SimpleTreeReader.h.

template<typename DataType >
void BaseSimpleTreeReader< DataType >::deserialize_impl ( DataType *&  data,
int64_t  Event 
)
inline

Definition at line 100 of file SimpleTreeReader.h.

template<typename DataType >
void BaseSimpleTreeReader< DataType >::deserialize_impl ( int64_t  Event)
inline

Definition at line 106 of file SimpleTreeReader.h.

template<typename DataType >
template<typename T >
std::vector<std::vector<T> > BaseSimpleTreeReader< DataType >::GetDataVector ( )
inline

Definition at line 122 of file SimpleTreeReader.h.

template<typename DataType >
int64_t BaseSimpleTreeReader< DataType >::GetNumberOfEvent ( )
inline

Definition at line 112 of file SimpleTreeReader.h.

template<typename DataType >
DataType* BaseSimpleTreeReader< DataType >::GetOutData ( )
inline

Definition at line 88 of file SimpleTreeReader.h.

template<typename DataType >
DataType* BaseSimpleTreeReader< DataType >::GetOutData ( int64_t  Event)
inline

Definition at line 90 of file SimpleTreeReader.h.

template<typename DataType >
void BaseSimpleTreeReader< DataType >::GetOutData ( DataType *&  data,
int64_t  Event 
)
inline

Definition at line 95 of file SimpleTreeReader.h.

template<typename DataType >
void BaseSimpleTreeReader< DataType >::InitSource ( )
inline

Definition at line 64 of file SimpleTreeReader.h.

template<typename DataType >
BaseSimpleTreeReader BaseSimpleTreeReader< DataType >::operator= ( const BaseSimpleTreeReader< DataType > &  )
delete
template<typename DataType >
void BaseSimpleTreeReader< DataType >::SendMultiPart ( )
inline

Definition at line 80 of file SimpleTreeReader.h.

template<typename DataType >
void BaseSimpleTreeReader< DataType >::SetFileProperties ( const std::string &  filename,
const std::string &  treename,
const std::string &  branchname 
)
inline

Definition at line 56 of file SimpleTreeReader.h.

template<typename DataType >
void BaseSimpleTreeReader< DataType >::SetIndex ( int64_t  Event)
inline

Definition at line 86 of file SimpleTreeReader.h.

Member Data Documentation

template<typename DataType >
DataType* BaseSimpleTreeReader< DataType >::fInput
protected

Definition at line 160 of file SimpleTreeReader.h.


The documentation for this class was generated from the following file: