FairRoot/PandaRoot
|
#include <PndSimpleNtuple.h>
Public Member Functions | |
PndSimpleNtuple (TString name, TString title, TString precut="") | |
~PndSimpleNtuple () | |
void | Column (const TString &name, double value) |
void | Column (const TString &name, float value) |
void | Column (const TString &name, int value) |
void | Column (const TString &name, bool value) |
void | ColumnD (const TString &name, double value) |
void | ColumnF (const TString &name, float value) |
void | ColumnI (const TString &name, int value) |
void | ColumnB (const TString &name, bool value) |
bool | DumpData () |
bool | Accept () |
bool | AcceptData () |
TTree * | GetTree () |
double | GetCurrentValue (TString name) |
void | SetPrecut (TString precut) |
bool | BranchExists (TString name) |
int | ShowBranches () |
Private Attributes | |
TTree * | fTree |
TTree * | fTmpTree |
std::map< TString, double > | fDValues |
std::map< TString, float > | fFValues |
std::map< TString, int > | fIValues |
std::map< TString, char > | fBValues |
std::map< TString, int > | fBrTypes |
TString | fPrecut |
TTreeFormula * | fFml |
Definition at line 40 of file PndSimpleNtuple.h.
|
inline |
bool PndSimpleNtuple::Accept | ( | ) |
Definition at line 161 of file PndSimpleNtuple.cxx.
References fFml, fPrecut, and fTmpTree.
Referenced by AcceptData().
|
inline |
|
inline |
void PndSimpleNtuple::Column | ( | const TString & | name, |
double | value | ||
) |
Definition at line 54 of file PndSimpleNtuple.cxx.
References fBrTypes, fDValues, fTmpTree, fTree, name, and typearr.
Referenced by ColumnB(), ColumnD(), ColumnF(), and ColumnI().
void PndSimpleNtuple::Column | ( | const TString & | name, |
float | value | ||
) |
void PndSimpleNtuple::Column | ( | const TString & | name, |
int | value | ||
) |
void PndSimpleNtuple::Column | ( | const TString & | name, |
bool | value | ||
) |
|
inline |
Definition at line 54 of file PndSimpleNtuple.h.
References Column().
|
inline |
Definition at line 51 of file PndSimpleNtuple.h.
References Column().
|
inline |
Definition at line 52 of file PndSimpleNtuple.h.
References Column().
|
inline |
Definition at line 53 of file PndSimpleNtuple.h.
References Column().
|
inline |
Definition at line 61 of file PndSimpleNtuple.h.
References fTmpTree, and fTree.
Referenced by AcceptData().
double PndSimpleNtuple::GetCurrentValue | ( | TString | name | ) |
|
inline |
void PndSimpleNtuple::SetPrecut | ( | TString | precut | ) |
Definition at line 187 of file PndSimpleNtuple.cxx.
int PndSimpleNtuple::ShowBranches | ( | ) |
Definition at line 80 of file PndSimpleNtuple.h.
Referenced by BranchExists(), Column(), GetCurrentValue(), and ShowBranches().
Definition at line 78 of file PndSimpleNtuple.h.
Referenced by Column(), and GetCurrentValue().
Definition at line 75 of file PndSimpleNtuple.h.
Referenced by Column(), and GetCurrentValue().
|
private |
Definition at line 83 of file PndSimpleNtuple.h.
Referenced by Accept(), SetPrecut(), and ~PndSimpleNtuple().
Definition at line 76 of file PndSimpleNtuple.h.
Referenced by Column(), and GetCurrentValue().
Definition at line 77 of file PndSimpleNtuple.h.
Referenced by Column(), and GetCurrentValue().
|
private |
Definition at line 82 of file PndSimpleNtuple.h.
Referenced by Accept(), and SetPrecut().
|
private |
Definition at line 73 of file PndSimpleNtuple.h.
Referenced by Accept(), Column(), DumpData(), and PndSimpleNtuple().
|
private |
Definition at line 72 of file PndSimpleNtuple.h.
Referenced by Column(), DumpData(), GetTree(), and PndSimpleNtuple().