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

#include <R3BIOConnector.h>

Public Types

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

Public Member Functions

 InputConnector (std::string_view branchName)
 
void init (bool is_optional=false, const boost::source_location &loc=BOOST_CURRENT_LOCATION)
 Initialisation for the connector of non-TCA input data.
 
auto get (const boost::source_location &loc=BOOST_CURRENT_LOCATION) const -> const RawDataType &
 
auto size (const boost::source_location &loc=BOOST_CURRENT_LOCATION) const
 
auto begin (const boost::source_location &loc=BOOST_CURRENT_LOCATION)
 
auto begin (const boost::source_location &loc=BOOST_CURRENT_LOCATION) const
 
auto end (const boost::source_location &loc=BOOST_CURRENT_LOCATION)
 
auto end (const boost::source_location &loc=BOOST_CURRENT_LOCATION) const
 

Detailed Description

template<typename InputType>
class R3B::InputConnector< InputType >

Definition at line 35 of file R3BIOConnector.h.

Member Typedef Documentation

◆ RawDataType

template<typename InputType>
using R3B::InputConnector< InputType >::RawDataType = std::remove_const_t<std::remove_cv_t<InputType>>

Definition at line 38 of file R3BIOConnector.h.

Constructor & Destructor Documentation

◆ InputConnector()

template<typename InputType>
R3B::InputConnector< InputType >::InputConnector ( std::string_view branchName)
inlineexplicit

Definition at line 39 of file R3BIOConnector.h.

Member Function Documentation

◆ begin() [1/2]

template<typename InputType>
auto R3B::InputConnector< InputType >::begin ( const boost::source_location & loc = BOOST_CURRENT_LOCATION)
inline

Definition at line 95 of file R3BIOConnector.h.

◆ begin() [2/2]

template<typename InputType>
auto R3B::InputConnector< InputType >::begin ( const boost::source_location & loc = BOOST_CURRENT_LOCATION) const
inline

Definition at line 100 of file R3BIOConnector.h.

◆ end() [1/2]

template<typename InputType>
auto R3B::InputConnector< InputType >::end ( const boost::source_location & loc = BOOST_CURRENT_LOCATION)
inline

Definition at line 105 of file R3BIOConnector.h.

◆ end() [2/2]

template<typename InputType>
auto R3B::InputConnector< InputType >::end ( const boost::source_location & loc = BOOST_CURRENT_LOCATION) const
inline

Definition at line 110 of file R3BIOConnector.h.

◆ get()

template<typename InputType>
auto R3B::InputConnector< InputType >::get ( const boost::source_location & loc = BOOST_CURRENT_LOCATION) const -> const RawDataType&
inlinenodiscard

Definition at line 81 of file R3BIOConnector.h.

◆ init()

template<typename InputType>
void R3B::InputConnector< InputType >::init ( bool is_optional = false,
const boost::source_location & loc = BOOST_CURRENT_LOCATION )
inline

Initialize a non-TCA input data from the root file.

Parameters
is_optionalDon't report error if the input data doesn't exist.
locLocation for the current call site for better logging.

Definition at line 51 of file R3BIOConnector.h.

◆ size()

template<typename InputType>
auto R3B::InputConnector< InputType >::size ( const boost::source_location & loc = BOOST_CURRENT_LOCATION) const
inline

Definition at line 87 of file R3BIOConnector.h.


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