31      ps->SetNextPoint(
r.Uniform(-s, s), 
r.Uniform(-s, s), 
r.Uniform(-s, s));
 
   32      ps->SetPointId(
new TNamed(
Form(
"Point %d", i), 
""));
 
   36   ps->SetMarkerSize(
r.Uniform(1, 2));
 
   37   ps->SetMarkerStyle(4);
 
   40      parent->AddElement(ps);
 
   57      printf(
"level=%d nps=%d i=%d\n", level, 
nps, i);
 
   76   l->SetMarkerSize(0.8);
 
   79   l->InitBins(
"Charge", 9, 10, 100);
 
   83   for (
Int_t i = 1; i <= 9; ++i)
 
   86   l->GetBin(0)->SetMainColor(
kGray);
 
   87   l->GetBin(10)->SetMainColor(
kWhite);
 
   90   for (
Int_t i = 0; i < 10000; ++i) {
 
   91      rad = 
r.Uniform(60, 180);
 
   93      z = 
r.Uniform(-250, 250);
 
int Int_t
Signed integer 4 bytes (int)
 
float Float_t
Float 4 bytes (float)
 
double Double_t
Double 8 bytes.
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
R__EXTERN TEveManager * gEve
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
 
R__EXTERN TRandom * gRandom
 
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
 
static void SetPalette(Int_t ncolors, Int_t *colors, Float_t alpha=1.)
Static function.
 
static Int_t GetColorPalette(Int_t i)
Static function returning the color number i in current palette.
 
static Int_t GetNumberOfColors()
Static function returning number of colors in the color palette.
 
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
 
void AddElement(TEveElement *element, TEveElement *parent=nullptr)
Add an element.
 
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
 
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
 
An array of point-sets with each point-set playing a role of a bin in a histogram.
 
TEvePointSet is a render-element holding a collection of 3D points with optional per-point TRef and a...
 
The TNamed class is the base class for all named ROOT classes.
 
This is the base class for the ROOT Random number generators.
 
Int_t Nint(T x)
Round to nearest integer. Rounds half integers to the nearest even integer.
 
Double_t Cos(Double_t)
Returns the cosine of an angle of x radians.
 
Double_t Sin(Double_t)
Returns the sine of an angle of x radians.
 
constexpr Double_t TwoPi()