19 for (
Int_t i = 0; i < nlines; i++) {
20 ls->AddLine(
r.Uniform(-s, s),
r.Uniform(-s, s),
r.Uniform(-s, s),
r.Uniform(-s, s),
r.Uniform(-s, s),
25 ls->AddMarker(i,
r.Rndm());
28 ls->SetMarkerSize(1.5);
29 ls->SetMarkerStyle(4);
46 for (
Int_t i = 0; i < nlines; i++) {
47 ls->AddLine(
r.Uniform(-s, s),
r.Uniform(-s, s), 0,
r.Uniform(-s, s),
r.Uniform(-s, s), 0);
51 ls->AddMarker(i,
r.Rndm());
54 ls->SetMarkerSize(1.5);
55 ls->SetMarkerStyle(4);
int Int_t
Signed integer 4 bytes (int).
float Float_t
Float 4 bytes (float).
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
Set of straight lines with optional markers along the lines.
This is the base class for the ROOT Random number generators.