const char *clnames[ncl] = {"TH1F", "TGraph", "TGraphErrors", "TF1", "TPaveText", "TAxis",
"TF2", "TH2D", "TLatex", "TText", "TCutG", "THnSparseF"};
{
for (
Int_t i = 0; i < nobj; i++) {
if (maxDepth &&
gRandom->Rndm() < pList) {
list->Add(slist);
MakeCrazy(slist, maxDepth - 1, maxObjects, pList);
} else {
named->
SetName(
Form(
"%s_%d_%d", clnames[icl], maxDepth, i));
list->Add(named);
}
}
}
{
list->SetName("SuperList");
MakeCrazy(list, maxDepth, maxObjects, pList);
gROOT->GetListOfTasks()->Add(list);
return list;
}
{
for (int i = 0; i < ncl; i++)
}
void gviz3d()
{
TList *pointer = crazy(2, 10);
FillColorsMap(sv);
}
int Int_t
Signed integer 4 bytes (int).
float Float_t
Float 4 bytes (float).
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
void SetName(const char *name)
The TNamed class is the base class for all named ROOT classes.
virtual void SetName(const char *name)
Set the name of the TNamed.
void SetColor(TString name, Int_t color)
Sets color for the class "name" to color "color".
void Draw(Option_t *option="") override
Draw object if there is valid pointer.