30 #ifndef PndSimpleNtuple_H 31 #define PndSimpleNtuple_H 1 35 #include "TTreeFormula.h" 50 void Column(
const TString &name,
double value);
51 void Column(
const TString &name,
float value);
52 void Column(
const TString &name,
int value);
53 void Column(
const TString &name,
bool value);
55 void ColumnD(
const TString &name,
double value) {
Column(name, value); }
84 bool BranchExists(TString name) {
return (fBrTypes.find(name) != fBrTypes.end()); }
91 std::map<TString, double> fDValues;
92 std::map<TString, float> fFValues;
93 std::map<TString, int> fIValues;
94 std::map<TString, char> fBValues;
96 std::map<TString, int> fBrTypes;
void SetPrecut(TString precut)
void ColumnD(const TString &name, double value)
void ColumnB(const TString &name, bool value)
PndSimpleNtuple(TString name, TString title, TString precut="")
bool BranchExists(TString name)
void ColumnI(const TString &name, int value)
void ColumnF(const TString &name, float value)
void Column(const TString &name, double value)
double GetCurrentValue(TString name)