R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3B::InputTCAConnector< InputType, typename > Class Template Reference

#include <R3BIOConnector.h>

Public Types

using RawDataType = std::remove_const_t<std::remove_cv_t<InputType>>
 

Public Member Functions

 InputTCAConnector (std::string_view branchName)
 
void init (bool is_optional=false, const boost::source_location &loc=BOOST_CURRENT_LOCATION)
 
auto read () -> const std::vector< RawDataType > &
 
auto size () const -> std::size_t
 
auto get () const -> const std::vector< RawDataType > &
 

Private Member Functions

void check_element_type (bool is_optional, const boost::source_location &loc)
 

Private Attributes

std::string branch_name_
 
std::vector< RawDataTypeoutput_data_
 
TClonesArray * data_ = nullptr
 

Detailed Description

template<typename InputType, typename = std::enable_if_t<std::is_base_of_v<TObject, std::remove_const_t<std::remove_cv_t<InputType>>>>>
class R3B::InputTCAConnector< InputType, typename >

Definition at line 135 of file R3BIOConnector.h.

Member Typedef Documentation

◆ RawDataType

template<typename InputType, typename = std::enable_if_t<std::is_base_of_v<TObject, std::remove_const_t<std::remove_cv_t<InputType>>>>>
using R3B::InputTCAConnector< InputType, typename >::RawDataType = std::remove_const_t<std::remove_cv_t<InputType>>

Definition at line 138 of file R3BIOConnector.h.

Constructor & Destructor Documentation

◆ InputTCAConnector()

template<typename InputType, typename = std::enable_if_t<std::is_base_of_v<TObject, std::remove_const_t<std::remove_cv_t<InputType>>>>>
R3B::InputTCAConnector< InputType, typename >::InputTCAConnector ( std::string_view branchName)
inlineexplicit

Definition at line 139 of file R3BIOConnector.h.

Member Function Documentation

◆ check_element_type()

template<typename InputType, typename = std::enable_if_t<std::is_base_of_v<TObject, std::remove_const_t<std::remove_cv_t<InputType>>>>>
void R3B::InputTCAConnector< InputType, typename >::check_element_type ( bool is_optional,
const boost::source_location & loc )
inlineprivate

Definition at line 196 of file R3BIOConnector.h.

◆ get()

template<typename InputType, typename = std::enable_if_t<std::is_base_of_v<TObject, std::remove_const_t<std::remove_cv_t<InputType>>>>>
auto R3B::InputTCAConnector< InputType, typename >::get ( ) const -> const std::vector<RawDataType>&
inlinenodiscard

Definition at line 189 of file R3BIOConnector.h.

◆ init()

template<typename InputType, typename = std::enable_if_t<std::is_base_of_v<TObject, std::remove_const_t<std::remove_cv_t<InputType>>>>>
void R3B::InputTCAConnector< InputType, typename >::init ( bool is_optional = false,
const boost::source_location & loc = BOOST_CURRENT_LOCATION )
inline

Definition at line 144 of file R3BIOConnector.h.

◆ read()

template<typename InputType, typename = std::enable_if_t<std::is_base_of_v<TObject, std::remove_const_t<std::remove_cv_t<InputType>>>>>
auto R3B::InputTCAConnector< InputType, typename >::read ( ) -> const std::vector<RawDataType>&
inline

Definition at line 171 of file R3BIOConnector.h.

◆ size()

template<typename InputType, typename = std::enable_if_t<std::is_base_of_v<TObject, std::remove_const_t<std::remove_cv_t<InputType>>>>>
auto R3B::InputTCAConnector< InputType, typename >::size ( ) const -> std::size_t
inlinenodiscard

Definition at line 187 of file R3BIOConnector.h.

Member Data Documentation

◆ branch_name_

template<typename InputType, typename = std::enable_if_t<std::is_base_of_v<TObject, std::remove_const_t<std::remove_cv_t<InputType>>>>>
std::string R3B::InputTCAConnector< InputType, typename >::branch_name_
private

Definition at line 192 of file R3BIOConnector.h.

◆ data_

template<typename InputType, typename = std::enable_if_t<std::is_base_of_v<TObject, std::remove_const_t<std::remove_cv_t<InputType>>>>>
TClonesArray* R3B::InputTCAConnector< InputType, typename >::data_ = nullptr
private

Definition at line 194 of file R3BIOConnector.h.

◆ output_data_

template<typename InputType, typename = std::enable_if_t<std::is_base_of_v<TObject, std::remove_const_t<std::remove_cv_t<InputType>>>>>
std::vector<RawDataType> R3B::InputTCAConnector< InputType, typename >::output_data_
private

Definition at line 193 of file R3BIOConnector.h.


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