1 #ifndef PhysicsTools_MVAComputer_TreeReader_h
2 #define PhysicsTools_MVAComputer_TreeReader_h
17 namespace PhysicsTools {
23 TreeReader(TTree *
tree,
bool skipTarget =
false,
bool skipWeight =
false);
41 void automaticAdd(
bool skipTarget =
false,
bool skipWeight =
false);
58 inline operator Bool_t()
const {
return value; }
96 std::vector<std::pair<void *, std::vector<Double_t> > >
multiDouble;
97 std::vector<std::pair<void *, std::vector<Float_t> > >
multiFloat;
98 std::vector<std::pair<void *, std::vector<Int_t> > >
multiInt;
99 std::vector<std::pair<void *, std::vector<Bool_t> > >
multiBool;
111 #define TREEREADER_ADD_IMPL(T) \
113 void TreeReader::addSingle<T>(AtomicId name, const T *value, bool opt); \
116 void TreeReader::addMulti(AtomicId name, const std::vector<T> *value);
123 #undef TREEREADER_ADD_IMPL
127 #endif // PhysicsTools_MVAComputer_TreeReader_h
#define TREEREADER_ADD_IMPL(T)
unsigned long long uint64_t