ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
geodemo.C File Reference
#include "TMath.h"
#include "TControlBar.h"
#include "TRandom3.h"
#include "TROOT.h"
#include "TSystem.h"
#include "TVirtualPad.h"
#include "TCanvas.h"
#include "TVirtualGeoPainter.h"
#include "TGeoManager.h"
#include "TGeoNode.h"
#include "TView.h"
#include "TPaveText.h"
#include "TGeoBBox.h"
#include "TGeoPara.h"
#include "TGeoTube.h"
#include "TGeoCone.h"
#include "TGeoEltu.h"
#include "TGeoSphere.h"
#include "TGeoTorus.h"
#include "TGeoTrd1.h"
#include "TGeoTrd2.h"
#include "TGeoParaboloid.h"
#include "TGeoHype.h"
#include "TGeoPcon.h"
#include "TGeoPgon.h"
#include "TGeoArb8.h"
#include "TGeoXtru.h"
#include "TGeoCompositeShape.h"
#include "TGeoPhysicalNode.h"
Include dependency graph for geodemo.C:

Go to the source code of this file.

Functions

void autorotate ()
 
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, Int_t iaxis, Double_t step)
 
Int_t randomColor ()
 
void raytrace ()
 
void help ()
 
void geodemo ()
 
void axes ()
 
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 ()
 

Variables

Bool_t comments = kTRUE
 
Bool_t raytracing = kFALSE
 
Bool_t grotate = kFALSE
 
Bool_t axis = kTRUE
 

Function Documentation

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 
)

Definition at line 74 of file geodemo.C.

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

Definition at line 92 of file geodemo.C.

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

Definition at line 1271 of file geodemo.C.

Referenced by TGDMLParse::Arb8().

void autorotate ( )

Definition at line 243 of file geodemo.C.

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

Definition at line 294 of file geodemo.C.

void composite ( )
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 
)

Definition at line 696 of file geodemo.C.

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

Definition at line 557 of file geodemo.C.

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 764 of file geodemo.C.

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

void geodemo ( )

Definition at line 191 of file geodemo.C.

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

Definition at line 1488 of file geodemo.C.

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

void help ( )

Definition at line 148 of file geodemo.C.

void hype ( )
void ideal ( )

Definition at line 1688 of file geodemo.C.

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

Definition at line 1003 of file geodemo.C.

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 1109 of file geodemo.C.

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

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

Definition at line 136 of file geodemo.C.

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

Definition at line 110 of file geodemo.C.

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

Definition at line 824 of file geodemo.C.

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 880 of file geodemo.C.

Referenced by TGDMLParse::Torus().

void trap ( 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 trd2 ( 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 
)

Definition at line 490 of file geodemo.C.

Referenced by ctub().

void xtru ( )

Variable Documentation

Bool_t axis = kTRUE

Definition at line 37 of file geodemo.C.

Referenced by TUnfoldBinning::AddAxis(), axes(), TStyle::AxisChoice(), TEveCalo2D::BuildCellIdCache(), TEveCalo2D::CellSelectionChangedInternal(), ClassImp(), ROOT::Math::gv_detail::convert(), TAxis::Copy(), THnBase::CreateHnAny(), Rgl::DrawAxes(), DrawFunction(), TEveCalo2DGL::DrawRhoZ(), TEveCalo2DGL::DrawRhoZHighlighted(), TEveCalo2DGL::DrawRPhi(), TEveCalo2DGL::DrawRPhiHighlighted(), TGLUtil::DrawSimpleAxes(), TTreeViewer::ExecuteDraw(), TGDMLWrite::ExtractVolumes(), TUnfoldBinning::FillBinMapSingleNode(), ROOT::Fit::FillData(), THnBase::Fit(), TUnfoldBinning::GetBinFactor(), TUnfoldBinning::GetBinLocationRecursive(), TUnfoldBinning::GetBinName(), TUnfoldBinning::GetBinNeighbours(), TUnfoldBinning::GetBinSize(), TUnfoldBinning::GetBinUnderflowOverflowStatus(), HFit::GetDrawingRange(), TMVA::MethodBase::GetEfficiency(), TH1::GetRMS(), TH1::GetRMSError(), TMVA::MethodBase::GetTrainingEfficiency(), TGaxis::ImportAxisAttributes(), THnBase::Init(), THnBase::IsInRange(), TProfileHelper::LabelsDeflate(), TH1::LabelsDeflate(), TProfileHelper::LabelsInflate(), TH1::LabelsInflate(), TProfile2D::LabelsOption(), TH1::LabelsOption(), MakePicture(), memstatExample(), ROOT::Math::AxisAngle::operator*(), TSpectrum2Painter::Paint(), TAxis3D::Paint(), TASImage::Paint(), THistPainter::Paint2DErrors(), THistPainter::PaintAxis(), TGraphPainter::PaintGraphAsymmErrors(), TGraphPainter::PaintGraphBentErrors(), TGraphPainter::PaintGraphErrors(), TGraphPainter::PaintGrapHist(), THistPainter::PaintH3(), THistPainter::PaintH3Iso(), THistPainter::PaintLego(), TGraphPolargram::PaintPolarDivisions(), TGraphPolargram::PaintRadialDivisions(), THistPainter::PaintSurface(), THistPainter::PaintTF3(), THistPainter::PaintTriangles(), RooFitResult::plotOn(), THnBase::Print(), THnBase::ProjectionAny(), RooHist::RooHist(), TGLMatrix::Rotate(), TGLAutoRotator::RotateScene(), THelix::SetAxis(), TGDMLParse::SetAxis(), TTreeFormula::SetAxis(), TStyle::SetAxisColor(), TH1::SetAxisColor(), THnBase::SetBinEdges(), TGaxis::SetExponentOffset(), TStyle::SetLabelColor(), TH1::SetLabelColor(), TStyle::SetLabelFont(), TH1::SetLabelFont(), TStyle::SetLabelOffset(), TH1::SetLabelOffset(), TStyle::SetLabelSize(), TH1::SetLabelSize(), TStyle::SetNdivisions(), TH1::SetNdivisions(), TStyle::SetTickLength(), TH1::SetTickLength(), TStyle::SetTitleColor(), TStyle::SetTitleFont(), TH1::SetTitleFont(), TStyle::SetTitleOffset(), TH1::SetTitleOffset(), TStyle::SetTitleSize(), TH1::SetTitleSize(), TMemStatShow::Show(), THnBase::THnBase(), THStack::THStack(), TNodeDiv::TNodeDiv(), TUnfoldBinning::ToAxisBins(), TUnfoldBinning::ToGlobalBin(), TPie::TPie(), vertexmedian(), and TGDMLParse::VolProcess().

Bool_t comments = kTRUE
Bool_t grotate = kFALSE

Definition at line 36 of file geodemo.C.

Referenced by autorotate().

Bool_t raytracing = kFALSE

Definition at line 35 of file geodemo.C.

Referenced by MakePicture(), and raytrace().