Correct syntax for pointer to vector of RooFormulaVar


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.


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


Thanks Honk. Worked like a charm.