const char *clnames[ncl] = {"TH1F","TGraph","TGraphErrors","TF1","TPaveText",
"TAxis","TF2","TH2D","TLatex","TText","TCutG","THnSparseF"};
for (
Int_t i=0;i<nobj;i++) {
MakeCrazy(slist,maxDepth-1,maxObjects,pList);
} else {
named->
SetName(
Form(
"%s_%d_%d",clnames[icl],maxDepth,i));
}
}
}
MakeCrazy(list,maxDepth,maxObjects,pList);
gROOT->GetListOfTasks()->Add(list);
return list;
}
{
const char *clnames[ncl] = {"TH1F","TGraph","TGraphErrors","TF1","TPaveText",
"TAxis","TF2","TH2D","TLatex","TText","TCutG","THnSparseF"};
for (int i = 0; i < ncl ; i++) {
}
}
void gviz3d()
{
TList* pointer = crazy(2,10);
FillColorsMap(sv);
}
R__EXTERN TRandom * gRandom
char * Form(const char *fmt,...)
void SetName(const char *name)
virtual void Add(TObject *obj)
The TNamed class is the base class for all named ROOT classes.
virtual void SetName(const char *name)
Set the name of the TNamed.
virtual Double_t Uniform(Double_t x1=1)
Returns a uniform deviate on the interval (0, x1).
virtual Double_t Rndm()
Machine independent random number generator.
virtual UInt_t Integer(UInt_t imax)
Returns a random integer uniformly distributed on the interval [ 0, imax-1 ].
void Draw(Option_t *option="")
Draw object if there is valid pointer.
void SetColor(TString name, Int_t color)
Sets color for the class "name" to color "color".