AnalysisTree
Loading...
Searching...
No Matches
AnalysisTree::BranchChannel Class Reference
Collaboration diagram for AnalysisTree::BranchChannel:
Collaboration graph

Public Member Functions

 BranchChannel (ChannelPointer data_ptr, const Branch *branch=nullptr, size_t i_channel=0)
double Value (const Field &v) const
double operator[] (const Field &v) const
std::size_t GetChannelNumber () const
std::size_t GetId () const
void SetValue (const Field &v, double value)
template<typename T>
T *& Data ()
template<typename T>
const T * Data () const
void CopyContent (const BranchChannel &other, std::string branch_name_prefix="")
 Copy contents of other branch channel.
void MergeContentFromTwoChannels (const BranchChannel &first, const BranchChannel &second)
void CopyContentRaw (const BranchChannel &other)
void Print (std::ostream &os=std::cout) const
bool IsNullChannel () const

Member Function Documentation

◆ CopyContent()

void BranchChannel::CopyContent ( const BranchChannel & other,
std::string branch_name_prefix = "" )

Copy contents of other branch channel.

Parameters
other
Returns

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