1 #ifndef PhysicsTools_MVAComputer_TreeReader_h
2 #define PhysicsTools_MVAComputer_TreeReader_h
17 namespace PhysicsTools {
24 bool skipWeight =
false);
44 void automaticAdd(
bool skipTarget =
false,
bool skipWeight =
false);
60 inline Bool() : value(0) {}
61 inline operator Bool_t()
const {
return value; }
69 index(index), optional(optional), multiple(multiple),
76 { this->name =
name; }
98 std::vector<std::pair<void*, std::vector<Double_t> > >
multiDouble;
99 std::vector<std::pair<void*, std::vector<Float_t> > >
multiFloat;
100 std::vector<std::pair<void*, std::vector<Int_t> > >
multiInt;
101 std::vector<std::pair<void*, std::vector<Bool_t> > >
multiBool;
113 #define TREEREADER_ADD_IMPL(T) \
115 void TreeReader::addSingle<T>(AtomicId name, const T *value, bool opt); \
118 void TreeReader::addMulti(AtomicId name, const std::vector<T> *value);
125 #undef TREEREADER_ADD_IMPL
129 #endif // PhysicsTools_MVAComputer_TreeReader_h
#define TREEREADER_ADD_IMPL(T)
unsigned long long uint64_t