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);
63 inline Bool() : value(0) {}
64 inline operator Bool_t()
const {
return value; }
68 std::vector<std::pair<void*, std::vector<Double_t> > >
multiDouble;
69 std::vector<std::pair<void*, std::vector<Float_t> > >
multiFloat;
70 std::vector<std::pair<void*, std::vector<Int_t> > >
multiInt;
71 std::vector<std::pair<void*, std::vector<Bool_t> > >
multiBool;
82 index(index), optional(optional), multiple(multiple),
89 { this->name =
name; }
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