How to put multiple STL vectors into one branch?

Hi,

I’d like to put multiple STL vectors into one branch in order to be able to select/plot a value in vector 1to its corresponding value (same index) in vector 2.

I cannot use arrays since the length of the vectors is different from event to event.

Is this possible at all?

TIA & regards,
Roland

[quote]I’d like to put multiple STL vectors into one branch in order to be able to select/plot a value in vector 1to its corresponding value (same index) in vector 2.[/quote]The first request is not needed to be the 2nd part. Given 2 separate branches each with an STL container, the command:mytree->Draw("stl1:stl2")draw what you want.

Cheers,
Philippe.