Trees with std::vectors

I am wondering what will be the output of this one:

tree->Draw(“vector1”, “min < vector2 && vector2 < max”)

where vector1 and vector2 are std::vectors …

k.

Hi,

It will be similar to:for(int i; i<vector1.size() && i<vector2.size(); ++i) { if (min < vector2[i] && vector[i] < max) { htemp->Fill( vector1[i] ); } }

Cheers,
Philippe.

Great thanks,
k.