Vector type in TMVAClassificationApplication

Yes, I understand the error, but what do I do about it?
In the TMVAClassificationApplication macro, the test (input file) has float values, so it doesn’t give an error. For me, my input file has vectors of floats. How do I run the following?

var0 = userVar0;
var1 = userVar1;

var0 and var1 are float variables, just like in the macro we have the following,

Float_t var1, var2;
Float_t var3, var4;
reader->AddVariable( "myvar1 := var1+var2", &var1 );
reader->AddVariable( "myvar2 := var1-var2", &var2 );
reader->AddVariable( "var3",                &var3 );
reader->AddVariable( "var4",                &var4 );

I can pass only floats and int type in the reader. What should I do, if my root file has vectors and reader can only take float and int.