Project
Loading...
Searching...
No Matches
o2::tpc::ClusterNativeHelper::TreeWriter Class Reference

Utility to write native cluster format to a ROOT tree. More...

#include <ClusterNativeHelper.h>

Classes

struct  BranchData
 

Public Member Functions

 TreeWriter ()=default
 
 ~TreeWriter ()
 
void init (const char *filename, const char *treename)
 
void close ()
 
int fillFrom (ClusterNativeAccess const &clusterIndex)
 fill tree from the full index of cluster arrays
 
int fillFrom (int sector, int padrow, ClusterNative const *clusters, size_t nClusters, MCLabelContainer *=nullptr)
 fill tree from a single cluster array
 

Detailed Description

Utility to write native cluster format to a ROOT tree.

Definition at line 292 of file ClusterNativeHelper.h.

Constructor & Destructor Documentation

◆ TreeWriter()

o2::tpc::ClusterNativeHelper::TreeWriter::TreeWriter ( )
default

◆ ~TreeWriter()

ClusterNativeHelper::TreeWriter::~TreeWriter ( )

Definition at line 236 of file ClusterNativeHelper.cxx.

Member Function Documentation

◆ close()

void ClusterNativeHelper::TreeWriter::close ( )

Definition at line 292 of file ClusterNativeHelper.cxx.

◆ fillFrom() [1/2]

int ClusterNativeHelper::TreeWriter::fillFrom ( ClusterNativeAccess const &  clusterIndex)

fill tree from the full index of cluster arrays

Definition at line 258 of file ClusterNativeHelper.cxx.

◆ fillFrom() [2/2]

int ClusterNativeHelper::TreeWriter::fillFrom ( int  sector,
int  padrow,
ClusterNative const *  clusters,
size_t  nClusters,
MCLabelContainer = nullptr 
)

fill tree from a single cluster array

Definition at line 278 of file ClusterNativeHelper.cxx.

◆ init()

void ClusterNativeHelper::TreeWriter::init ( const char filename,
const char treename 
)

Definition at line 241 of file ClusterNativeHelper.cxx.


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