Create ordered set of variables for ProtoData

Hi.

I’m looking to create a set of ordered variables: v1, v2, v3; with the following properties:

v1 < v2 < v3

i.e. the variables are strictly ordered.

I’ve tried creating the variables like so:

v1 = gRandom->Gaus(a,b);
v2 = v1 + gRandom->Gaus(c,d);

But I’ve not had any luck with converting those doubles to the entries of a RooDataSet.

Using Protodata to restrict the ranges of allowed RooRealVars seems to work but is hellishly slow.

Does anyone have a quick way of doing this?