Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TreeReader Struct Reference

#include <acts/blob/sPHENIX/Examples/Scripts/TrackingPerformance/TreeReader.h>

+ Inheritance diagram for TreeReader:
+ Collaboration diagram for TreeReader:

Public Member Functions

 TreeReader (TTree *tree_)
 
void getEntry (unsigned int i) const
 

Public Attributes

TTree * tree = nullptr
 

Protected Attributes

std::vector< long long > entryNumbers = {}
 

Detailed Description

Helper for reading tree

Definition at line 37 of file TreeReader.h.

View newest version in sPHENIX GitHub at line 37 of file TreeReader.h

Constructor & Destructor Documentation

TreeReader::TreeReader ( TTree *  tree_)
inline

Definition at line 39 of file TreeReader.h.

View newest version in sPHENIX GitHub at line 39 of file TreeReader.h

Member Function Documentation

void TreeReader::getEntry ( unsigned int  i) const
inline

Definition at line 42 of file TreeReader.h.

View newest version in sPHENIX GitHub at line 42 of file TreeReader.h

References entryNumbers, i, and tree.

Referenced by boundParamResolution(), and ParticleReader::getParticles().

+ Here is the caller graph for this function:

Member Data Documentation

std::vector<long long> TreeReader::entryNumbers = {}
protected

The entry numbers for accessing events in increased order (there could be multiple entries corresponding to one event number)

Definition at line 56 of file TreeReader.h.

View newest version in sPHENIX GitHub at line 56 of file TreeReader.h

Referenced by getEntry(), ParticleReader::ParticleReader(), TrackStatesReader::TrackStatesReader(), and TrackSummaryReader::TrackSummaryReader().

TTree* TreeReader::tree = nullptr

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