42 #ifndef PndSimpleNtuple_H 43 #define PndSimpleNtuple_H 1 47 #include "TTreeFormula.h" 62 void Column(
const TString &name,
double value);
63 void Column(
const TString &name,
float value);
64 void Column(
const TString &name,
int value);
65 void Column(
const TString &name,
bool value);
67 void ColumnD(
const TString &name,
double value) {
Column(name, value); }
96 bool BranchExists(TString name) {
return (fBrTypes.find(name) != fBrTypes.end()); }
103 std::map<TString, double> fDValues;
104 std::map<TString, float> fFValues;
105 std::map<TString, int> fIValues;
106 std::map<TString, char> fBValues;
108 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)