Hi,
Does anyone know the correct way to declare a pointer to a vector of RooFormulaVar. This doesn’t seem to work
I suppose I could also use a TObjArray.
Hi,
Does anyone know the correct way to declare a pointer to a vector of RooFormulaVar. This doesn’t seem to work
I suppose I could also use a TObjArray.
Hi,
your intuition was right, what you posted is valid C++ and compiles fine. The problem is that the ROOT interpreter doesn’t know about that specialization of vector yet. You can generate a dictionary with
gInterpreter->GenerateDictionary("vector<RooFormulaVar>","RooFormulaVar.h;vector")
Thanks Honk. Worked like a charm.