Project
Loading...
Searching...
No Matches
o2::dataformats::MCLabelIOHelper Class Reference

#include <ConstMCTruthContainer.h>

Static Public Member Functions

static ConstMCTruthContainer< o2::MCCompLabel > * loadFromTTree (TTree *tree, std::string const &brname, int entry)
 

Detailed Description

Definition at line 216 of file ConstMCTruthContainer.h.

Member Function Documentation

◆ loadFromTTree()

ConstMCTruthContainer< o2::MCCompLabel > * MCLabelIOHelper::loadFromTTree ( TTree *  tree,
std::string const &  brname,
int  entry 
)
static

Convenience function to loads MC labels for some entry from a TTree and TBranch. Labels can be stored as either MCTruthContainer or IOMCTruthContainer. The caller takes ownership of the returned pointer.

Definition at line 22 of file ConstMCTruthContainer.cxx.


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