geodemo.C File Reference

Go to the source code of this file.

Functions

void geodemo ()
 autorotate ()
void axes ()
void rgeom ()
void box (Int_t iaxis=0, Int_t ndiv=8, Double_t start=0, Double_t step=0)
void para (Int_t iaxis=0, Int_t ndiv=8, Double_t start=0, Double_t step=0)
void tube (Int_t iaxis=0, Int_t ndiv=8, Double_t start=0, Double_t step=0)
void tubeseg (Int_t iaxis=0, Int_t ndiv=8, Double_t start=0, Double_t step=0)
void ctub (Int_t iaxis=0, Int_t ndiv=8, Double_t start=0, Double_t step=0)
void cone (Int_t iaxis=0, Int_t ndiv=8, Double_t start=0, Double_t step=0)
void coneseg (Int_t iaxis=0, Int_t ndiv=8, Double_t start=0, Double_t step=0)
void eltu (Int_t iaxis=0, Int_t ndiv=8, Double_t start=0, Double_t step=0)
void sphere (Int_t iaxis=0, Int_t ndiv=8, Double_t start=0, Double_t step=0)
void torus (Int_t iaxis=0, Int_t ndiv=8, Double_t start=0, Double_t step=0)
void trd1 (Int_t iaxis=0, Int_t ndiv=8, Double_t start=0, Double_t step=0)
void parab ()
void hype ()
void pcon (Int_t iaxis=0, Int_t ndiv=8, Double_t start=0, Double_t step=0)
void pgon (Int_t iaxis=0, Int_t ndiv=8, Double_t start=0, Double_t step=0)
void arb8 (Int_t iaxis=0, Int_t ndiv=8, Double_t start=0, Double_t step=0)
void trd2 (Int_t iaxis=0, Int_t ndiv=8, Double_t start=0, Double_t step=0)
void trap (Int_t iaxis=0, Int_t ndiv=8, Double_t start=0, Double_t step=0)
void gtra (Int_t iaxis=0, Int_t ndiv=8, Double_t start=0, Double_t step=0)
void xtru ()
void composite ()
void ideal ()
void align ()
void MakePicture ()
void AddText (TPaveText *pave, const char *datamember, Double_t value, const char *comment)
void AddText (TPaveText *pave, const char *datamember, Int_t value, const char *comment)
void AddText (TPaveText *pave, TObject *pf, Int_t iaxis)
void SavePicture (const char *name, TObject *objcanvas, TObject *objvol, Double_t iaxis, Double_t step)
Int_t randomColor ()
void raytrace ()
void help ()

Variables

Bool_t comments = kTRUE
Bool_t raytracing = kFALSE
Bool_t rotate = kFALSE
Bool_t axis = kTRUE


Function Documentation

void AddText ( TPaveText pave,
TObject pf,
Int_t  iaxis 
)

Definition at line 1701 of file geodemo.C.

References TPaveText::AddText(), AddText(), TGeoShape::GetAxisName(), TNamed::GetName(), TGeoPatternFinder::GetNdiv(), TGeoVolume::GetShape(), TGeoPatternFinder::GetStart(), TGeoPatternFinder::GetStep(), TGeoPatternFinder::GetVolume(), i, line, TAttText::SetTextColor(), sprintf(), and text().

void AddText ( TPaveText pave,
const char *  datamember,
Int_t  value,
const char *  comment 
)

Definition at line 1683 of file geodemo.C.

References TPaveText::AddText(), i, line, number, sprintf(), and text().

void AddText ( TPaveText pave,
const char *  datamember,
Double_t  value,
const char *  comment 
)

Definition at line 1665 of file geodemo.C.

References TPaveText::AddText(), i, line, number, sprintf(), and text().

void align (  ) 

Definition at line 1616 of file geodemo.C.

References TGeoPhysicalNode::Align(), TGeoManager::GetListOfPhysicalNodes(), TGeoNode::GetMatrix(), TNamed::GetName(), TGeoPhysicalNode::GetNode(), gGeoManager, gPad, gRandom, i, TGeoPhysicalNode::IsAligned(), j, list, TGeoManager::MakePhysicalNode(), name, TRandom::Rndm(), TGeoTranslation::SetTranslation(), and sprintf().

void arb8 ( Int_t  iaxis = 0,
Int_t  ndiv = 8,
Double_t  start = 0,
Double_t  step = 0 
)

Definition at line 1109 of file geodemo.C.

References TPaveText::AddText(), AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TGeoVolume::Divide(), TGeoArb8::GetDz(), TGeoVolume::GetFinder(), TROOT::GetListOfCanvases(), TGeoArb8::GetVertices(), gGeoManager, gPad, gROOT, i, line, TGeoManager::MakeBox(), MakePicture(), randomColor(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoVolume::SetLineWidth(), TGeoManager::SetNsegments(), TGeoManager::SetTopVolume(), TGeoArb8::SetVertex(), sprintf(), start, text(), and top().

Referenced by TGDMLParse::Arb8().

autorotate (  ) 

Definition at line 67 of file geodemo.C.

References TGeoManager::GetGeomPainter(), TView::GetLatitude(), TView::GetLongitude(), TView::GetPsi(), gGeoManager, gPad, gROOT, i, TROOT::IsInterrupted(), kFALSE, kTRUE, rotate, TROOT::SetInterrupt(), TView::SetView(), and timer.

void axes (  ) 

Definition at line 109 of file geodemo.C.

References axis, gPad, and TView::ShowAxis().

Referenced by THnSparse::CloneEmpty(), compound(), THnSparse::CreateHist(), RooStats::MCMCIntervalPlot::DrawHistInterval(), RooStats::MCMCIntervalPlot::DrawKeysPdfInterval(), RooStats::MCMCIntervalPlot::DrawPosteriorKeysPdf(), RooStats::MCMCIntervalPlot::DrawPosteriorKeysProduct(), RooStats::MarkovChain::GetAsSparseHist(), RooStats::MCMCInterval::GetAxes(), MakeCalo2D(), projection(), projection_prescale(), RooStats::MCMCInterval::SetAxes(), and RooStats::MCMCCalculator::SetAxes().

void box ( Int_t  iaxis = 0,
Int_t  ndiv = 8,
Double_t  start = 0,
Double_t  step = 0 
)

Definition at line 132 of file geodemo.C.

References TPaveText::AddText(), AddText(), box(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TGeoVolume::Divide(), TGeoVolume::GetFinder(), TROOT::GetListOfCanvases(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, kTRUE, TGeoManager::MakeBox(), MakePicture(), randomColor(), TROOT::SetInterrupt(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoVolume::SetLineWidth(), TGeoManager::SetNsegments(), TGeoManager::SetTopVolume(), start, text(), and top().

void composite (  ) 

Definition at line 1462 of file geodemo.C.

References TPaveText::AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TPaveText::Draw(), TROOT::GetListOfCanvases(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), MakePicture(), pgon(), randomColor(), TGeoMatrix::RegisterYourself(), TPaveText::SetAllWith(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TNamed::SetName(), TGeoManager::SetNsegments(), TAttText::SetTextAlign(), TAttText::SetTextSize(), TGeoManager::SetTopVolume(), text(), and top().

void cone ( Int_t  iaxis = 0,
Int_t  ndiv = 8,
Double_t  start = 0,
Double_t  step = 0 
)

Definition at line 464 of file geodemo.C.

References TPaveText::AddText(), AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TGeoVolume::Divide(), TGeoVolume::GetFinder(), TROOT::GetListOfCanvases(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), TGeoManager::MakeCone(), MakePicture(), randomColor(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoVolume::SetLineWidth(), TGeoManager::SetNsegments(), TGeoManager::SetTopVolume(), start, text(), and top().

Referenced by TEveBoxSet::AddCone(), TEveBoxSet::AddEllipticCone(), TEveJetConeProjected::ComputeBBox(), TGDMLParse::Cone(), TGeoMCGeometry::GetShape(), TGeoBuilder::MakeCone(), shapes(), and shapesAnim().

void coneseg ( Int_t  iaxis = 0,
Int_t  ndiv = 8,
Double_t  start = 0,
Double_t  step = 0 
)

Definition at line 534 of file geodemo.C.

References TPaveText::AddText(), AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TGeoVolume::Divide(), TGeoVolume::GetFinder(), TROOT::GetListOfCanvases(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), TGeoManager::MakeCons(), MakePicture(), randomColor(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoManager::SetNsegments(), TGeoManager::SetTopVolume(), start, text(), and top().

void ctub ( Int_t  iaxis = 0,
Int_t  ndiv = 8,
Double_t  start = 0,
Double_t  step = 0 
)

Definition at line 395 of file geodemo.C.

References TPaveText::AddText(), AddText(), c, TGeoManager::CloseGeometry(), comments, TMath::Cos(), TCollection::Delete(), TGeoVolume::Divide(), TGeoVolume::GetFinder(), TROOT::GetListOfCanvases(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), TGeoManager::MakeCtub(), MakePicture(), phi, TMath::Pi(), randomColor(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoVolume::SetLineWidth(), TGeoManager::SetNsegments(), TGeoManager::SetTopVolume(), TMath::Sin(), start, text(), theta, top(), and tubeseg().

Referenced by TGeoMCGeometry::GetShape(), and TGeoBuilder::MakeCtub().

void eltu ( Int_t  iaxis = 0,
Int_t  ndiv = 8,
Double_t  start = 0,
Double_t  step = 0 
)

Definition at line 602 of file geodemo.C.

References TPaveText::AddText(), AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TGeoVolume::Divide(), TGeoVolume::GetFinder(), TROOT::GetListOfCanvases(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), TGeoManager::MakeEltu(), MakePicture(), randomColor(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoManager::SetNsegments(), TGeoManager::SetTopVolume(), start, text(), and top().

Referenced by TGDMLParse::ElTube(), TGeoMCGeometry::GetShape(), and TGeoBuilder::MakeEltu().

void geodemo (  ) 

Definition at line 9 of file geodemo.C.

References dir(), gInterpreter, gRandom, gROOT, gSystem, TSystem::Load(), TROOT::LoadMacro(), TROOT::SaveContext(), and TSystem::UnixPathName().

void gtra ( Int_t  iaxis = 0,
Int_t  ndiv = 8,
Double_t  start = 0,
Double_t  step = 0 
)

Definition at line 1326 of file geodemo.C.

References TPaveText::AddText(), AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TGeoVolume::Divide(), TGeoVolume::GetFinder(), TROOT::GetListOfCanvases(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), TGeoManager::MakeGtra(), MakePicture(), randomColor(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoVolume::SetLineWidth(), TGeoManager::SetNsegments(), TGeoManager::SetTopVolume(), start, text(), top(), and trap().

Referenced by TGeoBuilder::MakeGtra(), shapes(), and shapesAnim().

void help ( void   ) 

Definition at line 1757 of file geodemo.C.

void hype (  ) 

Definition at line 894 of file geodemo.C.

References TPaveText::AddText(), AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TPaveText::Draw(), TROOT::GetListOfCanvases(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), TGeoManager::MakeHype(), MakePicture(), randomColor(), TPaveText::SetAllWith(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoVolume::SetLineWidth(), TGeoManager::SetNsegments(), TAttText::SetTextAlign(), TAttText::SetTextSize(), TGeoManager::SetTopVolume(), text(), and top().

Referenced by TGeoHype::GetMakeRuntimeShape(), TGeoMCGeometry::GetShape(), TGDMLParse::Hype(), and TGeoBuilder::MakeHype().

void ideal (  ) 

Definition at line 1526 of file geodemo.C.

References TGeoVolume::AddNode(), TPaveText::AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TGeoVolume::Divide(), TPaveText::Draw(), TROOT::GetListOfCanvases(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, gSystem, TSystem::Load(), TGeoManager::MakeBox(), TGeoManager::MakePgon(), MakePicture(), pgon(), randomColor(), TPaveText::SetAllWith(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoManager::SetNsegments(), TAttText::SetTextAlign(), TAttText::SetTextSize(), TGeoManager::SetTopVolume(), text(), and top().

void MakePicture (  ) 

Definition at line 1649 of file geodemo.C.

References axis, TGeoManager::GetGeomPainter(), gGeoManager, gPad, TVirtualGeoPainter::IsRaytracing(), raytracing, TVirtualGeoPainter::SetRaytracing(), and TView::ShowAxis().

void para ( Int_t  iaxis = 0,
Int_t  ndiv = 8,
Double_t  start = 0,
Double_t  step = 0 
)

Definition at line 200 of file geodemo.C.

References TPaveText::AddText(), AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TGeoVolume::Divide(), TGeoVolume::GetFinder(), TROOT::GetListOfCanvases(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), TGeoManager::MakePara(), MakePicture(), randomColor(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoVolume::SetLineWidth(), TGeoManager::SetNsegments(), TGeoManager::SetTopVolume(), start, text(), and top().

Referenced by CArraySetArg(), TTreePlayer::DrawSelect(), ROOT::Minuit2::MnMinos::FindCrossValue(), TGeoMCGeometry::GetShape(), TGeoBuilder::MakePara(), Cint::G__CallFunc::operator=(), TGDMLParse::Para(), paracoor(), parallelcoord(), Cint::G__CallFunc::ResetArg(), PyROOT::TVoidPtrPtrConverter::SetArg(), PyROOT::TVoidPtrRefConverter::SetArg(), PyROOT::TVoidArrayConverter::SetArg(), PyROOT::TNonConstCStringConverter::SetArg(), PyROOT::TRootObjectPtrConverter::SetArg(), PyROOT::TCStringConverter::SetArg(), TParallelCoord::SetEntryList(), shapes(), and shapesAnim().

void parab (  ) 

Definition at line 841 of file geodemo.C.

References TPaveText::AddText(), AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TPaveText::Draw(), TROOT::GetListOfCanvases(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), TGeoManager::MakeParaboloid(), MakePicture(), par, randomColor(), TPaveText::SetAllWith(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoVolume::SetLineWidth(), TGeoManager::SetNsegments(), TAttText::SetTextAlign(), TAttText::SetTextSize(), TGeoManager::SetTopVolume(), text(), and top().

Referenced by TGeoBuilder::MakeParaboloid().

void pcon ( Int_t  iaxis = 0,
Int_t  ndiv = 8,
Double_t  start = 0,
Double_t  step = 0 
)

Definition at line 947 of file geodemo.C.

References TPaveText::AddText(), AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TGeoVolume::Divide(), TGeoVolume::GetFinder(), TROOT::GetListOfCanvases(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, j, line, TGeoManager::MakeBox(), TGeoManager::MakePcon(), MakePicture(), randomColor(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoVolume::SetLineWidth(), TGeoManager::SetNsegments(), TAttText::SetTextColor(), TGeoManager::SetTopVolume(), sprintf(), start, text(), and top().

Referenced by TGeoMCGeometry::GetShape(), TGeoBuilder::MakePcon(), shapes(), shapesAnim(), and stressShapes().

void pgon ( Int_t  iaxis = 0,
Int_t  ndiv = 8,
Double_t  start = 0,
Double_t  step = 0 
)

Definition at line 1027 of file geodemo.C.

References TPaveText::AddText(), AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TGeoVolume::Divide(), TGeoVolume::GetFinder(), TROOT::GetListOfCanvases(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, j, line, TGeoManager::MakeBox(), TGeoManager::MakePgon(), MakePicture(), randomColor(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoVolume::SetLineWidth(), TGeoManager::SetNsegments(), TAttText::SetTextColor(), TGeoManager::SetTopVolume(), sprintf(), start, text(), and top().

Referenced by composite(), TGeoMCGeometry::GetShape(), ideal(), TGeoBuilder::MakePgon(), s_union(), shapes(), and shapesAnim().

Int_t randomColor (  ) 

Definition at line 1738 of file geodemo.C.

References gRandom, and TRandom::Rndm().

Referenced by arb8(), box(), composite(), cone(), coneseg(), ctub(), eltu(), gtra(), hype(), ideal(), para(), parab(), pcon(), pgon(), sphere(), torus(), trap(), trd1(), trd2(), tube(), tubeseg(), and xtru().

void raytrace (  ) 

Definition at line 1745 of file geodemo.C.

References TGeoManager::GetGeomPainter(), gGeoManager, gPad, raytracing, and TVirtualGeoPainter::SetRaytracing().

void rgeom (  ) 

Definition at line 118 of file geodemo.C.

References TCollection::Delete(), TGeoVolume::Draw(), TGeoManager::GetGeomPainter(), TROOT::GetListOfCanvases(), TGeoManager::GetTopVolume(), gGeoManager, gPad, gROOT, TVirtualGeoPainter::IsRaytracing(), raytracing, rootgeom(), and TVirtualGeoPainter::SetRaytracing().

void SavePicture ( const char *  name,
TObject objcanvas,
TObject objvol,
Double_t  iaxis,
Double_t  step 
)

Definition at line 1719 of file geodemo.C.

References c, TGeoShape::GetAxisName(), TGeoVolume::GetShape(), and sprintf().

Referenced by G__G__GL_165_0_110(), and G__G__GL_165_0_111().

void sphere ( Int_t  iaxis = 0,
Int_t  ndiv = 8,
Double_t  start = 0,
Double_t  step = 0 
)

Definition at line 662 of file geodemo.C.

References TPaveText::AddText(), AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TGeoVolume::Divide(), TGeoVolume::GetFinder(), TROOT::GetListOfCanvases(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), MakePicture(), TGeoManager::MakeSphere(), randomColor(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoVolume::SetLineWidth(), TGeoManager::SetNsegments(), TGeoManager::SetTopVolume(), start, text(), and top().

Referenced by TGDMLParse::Sphere().

void torus ( Int_t  iaxis = 0,
Int_t  ndiv = 8,
Double_t  start = 0,
Double_t  step = 0 
)

Definition at line 718 of file geodemo.C.

References TPaveText::AddText(), AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TGeoVolume::Divide(), TGeoTorus::GetDphi(), TGeoVolume::GetFinder(), TROOT::GetListOfCanvases(), TGeoTorus::GetPhi1(), TGeoTorus::GetR(), TGeoTorus::GetRmax(), TGeoTorus::GetRmin(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), MakePicture(), TGeoManager::MakeTorus(), randomColor(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoManager::SetNsegments(), TGeoManager::SetTopVolume(), start, text(), and top().

Referenced by TGDMLParse::Torus().

void trap ( Int_t  iaxis = 0,
Int_t  ndiv = 8,
Double_t  start = 0,
Double_t  step = 0 
)

Definition at line 1254 of file geodemo.C.

References TPaveText::AddText(), AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TGeoVolume::Divide(), TGeoVolume::GetFinder(), TROOT::GetListOfCanvases(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), MakePicture(), TGeoManager::MakeTrap(), randomColor(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoVolume::SetLineWidth(), TGeoManager::SetNsegments(), TGeoManager::SetTopVolume(), start, text(), and top().

Referenced by gdk_error_trap_pop(), gdk_error_trap_push(), TGeoMCGeometry::GetShape(), gtra(), TGeoBuilder::MakeTrap(), shapes(), shapesAnim(), and TGDMLParse::Trap().

void trd1 ( Int_t  iaxis = 0,
Int_t  ndiv = 8,
Double_t  start = 0,
Double_t  step = 0 
)

Definition at line 771 of file geodemo.C.

References TPaveText::AddText(), AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TGeoVolume::Divide(), TGeoVolume::GetFinder(), TROOT::GetListOfCanvases(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), MakePicture(), TGeoManager::MakeTrd1(), randomColor(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoVolume::SetLineWidth(), TGeoManager::SetNsegments(), TGeoManager::SetTopVolume(), start, text(), and top().

Referenced by TGeoTrd1::GetOppositeCorner(), TGeoMCGeometry::GetShape(), TGeoTrd1::GetVisibleCorner(), TGeoBuilder::MakeTrd1(), shapes(), and shapesAnim().

void trd2 ( Int_t  iaxis = 0,
Int_t  ndiv = 8,
Double_t  start = 0,
Double_t  step = 0 
)

Definition at line 1188 of file geodemo.C.

References TPaveText::AddText(), AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TGeoVolume::Divide(), TGeoVolume::GetFinder(), TROOT::GetListOfCanvases(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), MakePicture(), TGeoManager::MakeTrd2(), randomColor(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoVolume::SetLineWidth(), TGeoManager::SetNsegments(), TGeoManager::SetTopVolume(), start, text(), and top().

Referenced by TGeoTrd2::GetOppositeCorner(), TGeoMCGeometry::GetShape(), TGeoTrd2::GetVisibleCorner(), TGeoBuilder::MakeTrd2(), shapes(), and shapesAnim().

void tube ( Int_t  iaxis = 0,
Int_t  ndiv = 8,
Double_t  start = 0,
Double_t  step = 0 
)

Definition at line 263 of file geodemo.C.

References TPaveText::AddText(), AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TGeoVolume::Divide(), TGeoVolume::GetFinder(), TROOT::GetListOfCanvases(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), MakePicture(), TGeoManager::MakeTube(), randomColor(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoVolume::SetLineWidth(), TGeoManager::SetNsegments(), TGeoManager::SetTopVolume(), start, text(), and top().

Referenced by TGeoMCGeometry::GetShape(), TGeoBuilder::MakeTube(), shapes(), shapesAnim(), and TGDMLParse::Tube().

void tubeseg ( Int_t  iaxis = 0,
Int_t  ndiv = 8,
Double_t  start = 0,
Double_t  step = 0 
)

Definition at line 328 of file geodemo.C.

References TPaveText::AddText(), AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TGeoVolume::Divide(), TGeoVolume::GetFinder(), TROOT::GetListOfCanvases(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), MakePicture(), TGeoManager::MakeTubs(), randomColor(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoVolume::SetLineWidth(), TGeoManager::SetNsegments(), TGeoManager::SetTopVolume(), start, text(), and top().

Referenced by ctub().

void xtru (  ) 

Definition at line 1399 of file geodemo.C.

References TPaveText::AddText(), AddText(), c, TGeoManager::CloseGeometry(), comments, TCollection::Delete(), TPaveText::Draw(), TROOT::GetListOfCanvases(), TGeoVolume::GetShape(), gGeoManager, gPad, gROOT, TGeoManager::MakeBox(), MakePicture(), TGeoManager::MakeXtru(), randomColor(), TPaveText::SetAllWith(), TGeoVolume::SetLineColor(), TAttLine::SetLineColor(), TGeoVolume::SetLineWidth(), TGeoManager::SetNsegments(), TAttText::SetTextAlign(), TAttText::SetTextSize(), TGeoManager::SetTopVolume(), text(), top(), x, and y.

Referenced by TGeoXtru::Capacity(), TGeoXtru::Contains(), TGeoXtru::DistFromInside(), TGeoXtru::DistFromOutside(), TGeoXtru::DistToPlane(), TGeoBuilder::MakeXtru(), TGeoXtru::Safety(), TGeoXtru::SetPoints(), TXTRU::TXTRU(), and TGDMLParse::Xtru().


Variable Documentation

Bool_t axis = kTRUE

Definition at line 6 of file geodemo.C.

Referenced by af_glyph_hints_align_edge_points(), af_glyph_hints_align_strong_points(), af_glyph_hints_done(), af_latin2_compute_stem_width(), af_latin2_hint_edges(), af_latin2_hints_compute_blue_edges(), af_latin2_hints_compute_edges(), af_latin2_hints_compute_segments(), af_latin2_hints_link_segments(), af_latin2_metrics_init_blues(), af_latin2_metrics_init_widths(), af_latin2_metrics_scale_dim(), af_latin_compute_stem_width(), af_latin_hint_edges(), af_latin_hints_compute_blue_edges(), af_latin_hints_compute_edges(), af_latin_hints_compute_segments(), af_latin_hints_link_segments(), af_latin_metrics_init_blues(), af_latin_metrics_init_widths(), af_latin_metrics_scale_dim(), af_loader_load_g(), TRotation::AngleAxis(), axes(), TEveCalo2D::BuildCellIdCache(), TGLManip::CalcDrawScale(), TEveCalo2D::CellSelectionChangedInternal(), THnSparse::CloneEmpty(), ROOT::Math::gv_detail::convert(), THnSparse::CreateSparse(), Rgl::Draw2DAxis(), Rgl::DrawAxes(), DrawFunction(), TEveCalo2DGL::DrawRhoZ(), TEveCalo2DGL::DrawRhoZHighlighted(), TEveCalo2DGL::DrawRPhi(), TEveCalo2DGL::DrawRPhiHighlighted(), TGLUtil::DrawSimpleAxes(), drawsparse_draw(), ROOT::Fit::HFitInterface::ExamineRange(), TTreeViewer::ExecuteDraw(), TPad::ExecuteEventAxis(), ROOT::Fit::FillData(), FindAxisRange(), FindMinBinWidth(), TH1::FindNewAxisLimits(), THnSparse::Fit(), gdk_input_init(), HFit::GetDrawingRange(), TMVA::MethodBase::GetEfficiency(), TMVA::MethodBase::GetTrainingEfficiency(), TAxis::ImportAttributes(), TGaxis::ImportAxisAttributes(), THnSparse::IsInRange(), jetcone(), TProfileHelper::LabelsDeflate(), TH1::LabelsDeflate(), TProfileHelper::LabelsInflate(), TH1::LabelsInflate(), TH1::LabelsOption(), TProfile2D::LabelsOption(), MakePicture(), memstat(), ROOT::Math::AxisAngle::operator *(), TASImage::Paint(), TSpectrum2Painter::Paint(), TAxis3D::Paint(), THistPainter::Paint2DErrors(), THistPainter::PaintAxis(), TAxis3D::PaintAxis(), TGraphPainter::PaintGraphAsymmErrors(), TGraphPainter::PaintGraphBentErrors(), TGraphPainter::PaintGraphErrors(), TGraphPainter::PaintGrapHist(), THistPainter::PaintH3(), THistPainter::PaintH3Iso(), THistPainter::PaintLego(), THistPainter::PaintLegoAxis(), TGraphPolargram::PaintPolarDivisions(), TGraphPolargram::PaintRadialDivisions(), THistPainter::PaintSurface(), THistPainter::PaintTF3(), THistPainter::PaintTriangles(), parse_blend_design_positions(), RooFitResult::plotOn(), THnSparse::Print(), THnSparse::ProjectionAny(), rebin(), TProfile2D::RebinAxis(), TProfile3D::RebinAxis(), TProfile::RebinAxis(), TH1::RebinAxis(), TProfileHelper::RebinAxis(), RootCsg::TBBoxTree::RecursiveTreeBuild(), RooHist::RooHist(), TVector3::Rotate(), TGLPhysicalShape::Rotate(), TGLMatrix::Rotate(), TLorentzRotation::Rotate(), TRotation::Rotate(), TGDMLParse::SetAxis(), THelix::SetAxis(), THnSparse::SetBinEdges(), TRotation::SetXAxis(), TRotation::SetYAxis(), TRotation::SetZAxis(), TMemStatShow::Show(), T1_Get_Multi_Master(), TAxis::TAxis(), TAxis3D::TAxis3D(), THnSparse::THnSparse(), toTree(), TPie::TPie(), transpad(), twoscales(), and TGDMLParse::VolProcess().

Bool_t comments = kTRUE

Definition at line 3 of file geodemo.C.

Referenced by arb8(), box(), composite(), cone(), coneseg(), ctub(), eltu(), TMySQLServer::GetTableInfo(), gtra(), hype(), ideal(), TTableDescriptor::MakeCommentField(), para(), parab(), pcon(), pgon(), sphere(), TestScanner(), torus(), trap(), trd1(), trd2(), tube(), tubeseg(), and xtru().

Bool_t raytracing = kFALSE

Definition at line 4 of file geodemo.C.

Bool_t rotate = kFALSE

Definition at line 5 of file geodemo.C.

Referenced by autorotate(), build_image_from_xml(), DrawObject(), FT_Outline_Embolden(), ft_stroke_border_arcto(), ft_stroker_arcto(), ft_stroker_cap(), FT_Stroker_ConicTo(), FT_Stroker_CubicTo(), ft_stroker_inside(), ft_stroker_outside(), TPolyLineShape::PaintNode(), and test_rotate().


Generated on Tue Jul 5 16:09:32 2011 for ROOT_528-00b_version by  doxygen 1.5.1