CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
RNTupleFieldPtr< T > Class Template Reference

#include <RNTupleFieldPtr.h>

Public Member Functions

void fill (const T &value)
 
const std::string & getFieldName () const
 
 RNTupleFieldPtr ()=default
 
 RNTupleFieldPtr (const std::string &name, const std::string &desc, RNTupleModel &model)
 

Private Attributes

std::shared_ptr< Tm_field
 
std::string m_name
 

Detailed Description

template<typename T>
class RNTupleFieldPtr< T >

Definition at line 8 of file RNTupleFieldPtr.h.

Constructor & Destructor Documentation

◆ RNTupleFieldPtr() [1/2]

template<typename T>
RNTupleFieldPtr< T >::RNTupleFieldPtr ( )
default

◆ RNTupleFieldPtr() [2/2]

template<typename T>
RNTupleFieldPtr< T >::RNTupleFieldPtr ( const std::string &  name,
const std::string &  desc,
RNTupleModel &  model 
)
inlineexplicit

Definition at line 11 of file RNTupleFieldPtr.h.

Member Function Documentation

◆ fill()

template<typename T>
void RNTupleFieldPtr< T >::fill ( const T value)
inline

◆ getFieldName()

template<typename T>
const std::string& RNTupleFieldPtr< T >::getFieldName ( ) const
inline

Definition at line 15 of file RNTupleFieldPtr.h.

15 { return m_name; }
std::string m_name

Member Data Documentation

◆ m_field

template<typename T>
std::shared_ptr<T> RNTupleFieldPtr< T >::m_field
private

◆ m_name

template<typename T>
std::string RNTupleFieldPtr< T >::m_name
private