42  TBRIK* world = 
new TBRIK(
"world",
"world",
"void",bigdim,bigdim,bigdim);
 
   45  TNode* worldnode = 
new TNode(
"worldnode",
"world node",world);
 
   51  Float_t x[] = { -0.50, -1.20,  1.20,  0.50,  0.50,  1.20, -1.20, -0.50 };
 
   52  Float_t y[] = { -0.75, -2.00, -2.00, -0.75,  0.75,  2.00,  2.00,  0.75 };
 
   53  Float_t z[] = { -0.50, -1.50, -1.50,  1.50,  1.50,  0.50 };
 
   54  Float_t s[] = {  0.50,  1.00,  1.50,  1.50,  1.00,  0.50 };
 
   56  Float_t convexscale[] = { 7.0, -1.0, 1.5 };
 
   58  Int_t icolor[] = { 1, 2, 3, 2, 2, 2, 4, 2, 6 };
 
   63  for (
Int_t zcase = 0; zcase<3; zcase++) {
 
   64     if (zcase == 1 && !domalformed) 
continue;
 
   65     for (
Int_t xycase = 0; xycase<3; xycase++) {
 
   66        if (xycase == 1 && !domalformed) 
continue;
 
   69        sprintf(
name,
"txtru%1d%1d%1d",xycase,zcase,zseg);
 
   73        Float_t xsign = (makecw) ? -1 : 1;
 
   74        Float_t zsign = (reversez) ? -1 : 1;
 
   77        for (i=0; i<nxy; i++) {
 
   80           if (i==0||i==3||i==4||i==7) xtmp *= convexscale[xycase];
 
   81           if (xycase==2) xtmp *=2;
 
   85        for (i=0, j=0; i<zseg; i++) {
 
   87           if (i==0||i==5) ztmp *= convexscale[zcase];
 
   88           if (zcase==2) ztmp *= 2.5;
 
   89           if (zseg>2 && zcase!=2 && (i==1||i==4)) 
continue;
 
   96        Float_t pos_scale = (domalformed) ? 10 : 6;
 
  107  TCONE* zcone = 
new TCONE(
"zcone",
"zcone",
"void",zhalf,0.,rmax,0.,0.);
 
  109  TNode* zconenode = 
new TNode(
"zconenode",
"zconenode",zcone);
 
  113  TBRIK* zbrik = 
new TBRIK(
"zbrik",
"zbrik",
"void",rmax,rmax,dzstub);
 
  115  TNode* zbriknode = 
new TNode(
"zbriknode",
"zbriknode",zbrik);
 
  132    for (i=0;i<3; i++) center[i] = 0.5*(max[i]+min[i]);
 
  135    for (i=0;i<3; i++) maxSide = 
TMath::Max(maxSide,max[i]-center[i]);
 
  138       max[i] = center[i] + maxSide;
 
  139       min[i] = center[i] - maxSide;
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void xpos
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void ypos
 
virtual void SetLineColor(Color_t lcolor)
Set the line color.
 
A box with faces perpendicular to the axes.
 
virtual void Draw(Option_t *option="")
Draw this Geometry.
 
virtual void cd(const char *path=nullptr)
Change Current Geometry to this.
 
virtual void SetPosition(Double_t x=0, Double_t y=0, Double_t z=0)
 
virtual void cd(const char *path=nullptr)
Change Current Reference node to this.
 
virtual void SetVisibility(Int_t vis=1)
Set visibility for this node and its sons.
 
virtual void SetVisibility(Int_t vis)
 
virtual void GetRange(Float_t *min, Float_t *max)=0
 
virtual void SetRange(const Double_t *min, const Double_t *max)=0
 
TVirtualPad is an abstract base class for the Pad and Canvas classes.
 
virtual void Modified(Bool_t flag=1)=0
 
virtual TView * GetView() const =0
 
virtual void DefineVertex(Int_t pointNum, Float_t x, Float_t y)
Set vertex point ipt to (x,y) expand size of array if necessary.
 
virtual void DefineSection(Int_t secNum, Float_t z, Float_t scale=1., Float_t x0=0., Float_t y0=0.)
Set z section iz information expand size of array if necessary.
 
Short_t Max(Short_t a, Short_t b)
Returns the largest of a and b.