#include <TreeReader.h>
Definition at line 29 of file TreeReader.h.
◆ TreeReader() [1/2]
TreeReader::TreeReader |
( |
| ) |
|
◆ ~TreeReader()
TreeReader::~TreeReader |
( |
| ) |
|
|
virtual |
◆ TreeReader() [2/2]
TreeReader::TreeReader |
( |
TTree * |
n | ) |
|
◆ GetEntries()
int TreeReader::GetEntries |
( |
| ) |
|
|
inline |
◆ GetEntry()
int TreeReader::GetEntry |
( |
int |
entry = -1 | ) |
|
Definition at line 102 of file TreeReader.cxx.
113 if (entryNumber < 0)
return 0;
114 Long64_t localEntry =
m_tree->LoadTree(entryNumber);
115 if (localEntry < 0)
return 0;
119 int I =
static_cast<TChain*
>(
m_tree)->GetTreeNumber();
127 for(;itr!=itrE;++itr)
129 if(itr->second!=
dummy) itr->second->Notify();
◆ GetTree()
TTree* TreeReader::GetTree |
( |
| ) |
|
|
inline |
◆ GetVariable()
double TreeReader::GetVariable |
( |
const char * |
c, |
|
|
int |
entry = -2 |
|
) |
| |
Definition at line 69 of file TreeReader.cxx.
80 f->SetQuickLoad(kTRUE);
87 std::cout <<
"in [TreeReader] : " <<
s <<
" is not valid -> return 0" << std::endl;
93 int valid =
f->GetNdata() ;
97 return f->EvalInstance(0);
◆ Restart()
void TreeReader::Restart |
( |
| ) |
|
|
inline |
◆ SetTree()
void TreeReader::SetTree |
( |
TTree * |
n | ) |
|
◆ m_currentEntry
int TreeReader::m_currentEntry = 0 |
|
private |
◆ m_currentTree
int TreeReader::m_currentTree = 0 |
|
private |
◆ m_entries
int TreeReader::m_entries |
|
private |
◆ m_formulae
std::map<std::string, TTreeFormula*> TreeReader::m_formulae |
|
private |
◆ m_isChain
bool TreeReader::m_isChain = false |
|
private |
◆ m_tree
TTree* TreeReader::m_tree |
|
private |
The documentation for this class was generated from the following files: