AmpGen 2.1
Loading...
Searching...
No Matches
AmpGen::TreeReader Class Reference

Detailed Description

Definition at line 13 of file TreeReader.h.

Classes

struct  Proxy
 

Public Member Functions

 TreeReader (TTree *tree)
 
template<typename OutputType>
Proxy< OutputType > make_proxy (const std::string &name)
 
template<typename OutputType>
void setBranch (const std::string &name, OutputType &thing)
 
template<typename OutputType>
void setBranch (const std::string &name, OutputType *ptr)
 
void setEntryList (const std::vector< size_t > &entryList)
 
void unsetEntryList ()
 
void getEntry (const unsigned int &entry)
 
void prepare ()
 
size_t nEntries () const
 
 ~TreeReader ()
 
Iterator begin ()
 
Iterator end ()
 

Constructor & Destructor Documentation

◆ TreeReader()

AmpGen::TreeReader::TreeReader ( TTree * tree)
explicit

◆ ~TreeReader()

AmpGen::TreeReader::~TreeReader ( )

Member Function Documentation

◆ begin()

Iterator AmpGen::TreeReader::begin ( )

◆ end()

Iterator AmpGen::TreeReader::end ( )

◆ getEntry()

void AmpGen::TreeReader::getEntry ( const unsigned int & entry)

◆ make_proxy()

template<typename OutputType>
Proxy< OutputType > AmpGen::TreeReader::make_proxy ( const std::string & name)
inline

Definition at line 70 of file TreeReader.h.

◆ nEntries()

size_t AmpGen::TreeReader::nEntries ( ) const

◆ prepare()

void AmpGen::TreeReader::prepare ( )

◆ setBranch() [1/2]

template<typename OutputType>
void AmpGen::TreeReader::setBranch ( const std::string & name,
OutputType & thing )
inline

Definition at line 76 of file TreeReader.h.

◆ setBranch() [2/2]

template<typename OutputType>
void AmpGen::TreeReader::setBranch ( const std::string & name,
OutputType * ptr )
inline

Definition at line 78 of file TreeReader.h.

◆ setEntryList()

void AmpGen::TreeReader::setEntryList ( const std::vector< size_t > & entryList)

◆ unsetEntryList()

void AmpGen::TreeReader::unsetEntryList ( )

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