ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
demos.C File Reference

Go to the source code of this file.

Functions

dirName ReplaceAll ("demos.C","")
 
dirName ReplaceAll ("/./","")
 
gROOT SetMacroPath (Form("%s:%s", current, dirName.Data()))
 
bar AddButton ("Help Demos",".x demoshelp.C","Click Here For Help on Running the Demos")
 
bar AddButton ("browser","new TBrowser;","Start the ROOT Browser")
 
bar AddButton ("framework",".x graphics/framework.C","An Example of Object Oriented User Interface")
 
bar AddButton ("first",".x graphics/first.C","An Example of Slide with Root")
 
bar AddButton ("hsimple",".x hsimple.C","An Example Creating Histograms/Ntuples on File")
 
bar AddButton ("hsum",".x hist/hsum.C","Filling Histograms and Some Graphics Options")
 
bar AddButton ("formula1",".x graphics/formula1.C","Simple Formula and Functions")
 
bar AddButton ("surfaces",".x graphs/surfaces.C","Surface Drawing Options")
 
bar AddButton ("fillrandom",".x hist/fillrandom.C","Histograms with Random Numbers from a Function")
 
bar AddButton ("fit1",".x fit/fit1.C","A Simple Fitting Example")
 
bar AddButton ("multifit",".x fit/multifit.C","Fitting in Subranges of Histograms")
 
bar AddButton ("h1draw",".x hist/h1draw.C","Drawing Options for 1D Histograms")
 
bar AddButton ("graph",".x graphs/graph.C","Example of a Simple Graph")
 
bar AddButton ("gerrors",".x graphs/gerrors.C","Example of a Graph with Error Bars")
 
bar AddButton ("tornado",".x graphics/tornado.C","Examples of 3-D PolyMarkers")
 
bar AddButton ("shapes",".x geom/shapes.C","The Geometry Shapes")
 
bar AddButton ("geometry",".x geom/geometry.C","Creation of the NA49 Geometry File")
 
bar AddButton ("na49view",".x geom/na49view.C","Two Views of the NA49 Detector Geometry")
 
bar AddButton ("file",".x io/file.C","The ROOT File Format")
 
bar AddButton ("fildir",".x io/fildir.C","The ROOT File, Directories and Keys")
 
bar AddButton ("tree",".x tree/tree.C","The Tree Data Structure")
 
bar AddButton ("ntuple1",".x tree/ntuple1.C","Ntuples and Selections")
 
bar AddButton ("rootmarks",".x rootmarks.C","Prints an Estimated ROOTMARKS for Your Machine")
 
bar SetButtonWidth (90)
 
bar Show ()
 
gROOT SaveContext ()
 

Variables

TString dirName = gSystem->UnixPathName(__FILE__)
 
const char * current = gROOT->GetMacroPath()
 
TControlBarbar = new TControlBar("vertical", "Demos",10,10)
 

Function Documentation

bar AddButton ( "Help Demos"  ,
".x demoshelp.C"  ,
"Click Here For Help on Running the Demos"   
)
bar AddButton ( "browser"  ,
"new TBrowser;"  ,
"Start the ROOT Browser"   
)
bar AddButton ( "framework"  ,
".x graphics/framework.C"  ,
"An Example of Object Oriented User Interface"   
)
bar AddButton ( "first"  ,
".x graphics/first.C"  ,
"An Example of Slide with Root"   
)
bar AddButton ( "hsimple"  ,
".x hsimple.C"  ,
"An Example Creating Histograms/Ntuples on File"   
)
bar AddButton ( "hsum"  ,
".x hist/hsum.C"  ,
"Filling Histograms and Some Graphics Options"   
)
bar AddButton ( "formula1"  ,
".x graphics/formula1.C"  ,
"Simple Formula and Functions  
)
bar AddButton ( "surfaces"  ,
".x graphs/surfaces.C"  ,
"Surface Drawing Options"   
)
bar AddButton ( "fillrandom"  ,
".x hist/fillrandom.C"  ,
"Histograms with Random Numbers from a Function  
)
bar AddButton ( "fit1"  ,
".x fit/fit1.C"  ,
"A Simple Fitting Example"   
)
bar AddButton ( "multifit"  ,
".x fit/multifit.C"  ,
"Fitting in Subranges of Histograms"   
)
bar AddButton ( "h1draw"  ,
".x hist/h1draw.C"  ,
"Drawing Options for 1D Histograms"   
)
bar AddButton ( "graph"  ,
".x graphs/graph.C"  ,
"Example of a Simple Graph"   
)
bar AddButton ( "gerrors"  ,
".x graphs/gerrors.C"  ,
"Example of a Graph with Error Bars"   
)
bar AddButton ( "tornado"  ,
".x graphics/tornado.C"  ,
"Examples of 3-D PolyMarkers"   
)
bar AddButton ( "shapes"  ,
".x geom/shapes.C"  ,
"The Geometry Shapes"   
)
bar AddButton ( "geometry"  ,
".x geom/geometry.C"  ,
"Creation of the NA49 Geometry File"   
)
bar AddButton ( "na49view"  ,
".x geom/na49view.C"  ,
"Two Views of the NA49 Detector Geometry"   
)
bar AddButton ( "file"  ,
".x io/file.C"  ,
"The ROOT File Format  
)
bar AddButton ( "fildir"  ,
".x io/fildir.C"  ,
"The ROOT  File,
Directories and Keys"   
)
bar AddButton ( "tree"  ,
".x tree/tree.C"  ,
"The Tree Data Structure"   
)
bar AddButton ( "ntuple1"  ,
".x tree/ntuple1.C"  ,
"Ntuples and Selections"   
)
bar AddButton ( "rootmarks"  ,
".x rootmarks.C"  ,
"Prints an Estimated ROOTMARKS for Your Machine"   
)
dirName ReplaceAll ( "demos.C"  ,
""   
)
dirName ReplaceAll ( "/./"  ,
""   
)
gROOT SaveContext ( )
bar SetButtonWidth ( 90  )
gROOT SetMacroPath ( Form("%s:%s", current, dirName.Data())  )
bar Show ( )

Referenced by ClassImp().

Variable Documentation

TControlBar* bar = new TControlBar("vertical", "Demos",10,10)
const char* current = gROOT->GetMacroPath()

Definition at line 12 of file demos.C.

Referenced by ROOT::Internal::TTreeProxyGenerator::AnalyzeOldLeaf(), ROOT::Internal::TTreeReaderGenerator::AnalyzeOldLeaf(), TMVA::DecisionTree::CheckEvent(), TMVA::CCTreeWrapper::CheckEvent(), TMVA::DecisionTree::CheckEventWithPrunedTree(), TGeoChecker::CheckGeometryFull(), TSystem::CompileMacro(), TMemFile::CopyTo(), TTreePlayer::CopyTree(), TGeoNavigator::CrossBoundaryAndLocate(), ROOT::TMetaUtils::DataMemberInfo__ValidArrayIndex(), TTreeFormula::DefinedVariable(), TMLPAnalyzer::DrawNetwork(), TRootGuiBuilder::ExecuteAction(), TTreeViewer::ExecuteDraw(), TGeoNavigator::FindInCluster(), TTreeFormula::FindLeafForExpression(), TGeoParallelWorld::FindNextBoundary(), TGeoNavigator::FindNextBoundary(), TGeoNavigator::FindNextBoundaryAndStep(), TGeoNavigator::FindNextDaughterBoundary(), TCling::GenerateDictionary(), TGListTree::GetChecked(), TPacketizerAdaptive::GetEstEntriesProcessed(), TMVA::DecisionTree::GetEventNode(), TGeoVolume::GetIndex(), TTreeFormulaManager::GetNdata(), TMVA::DecisionTree::GetNode(), TGeoVolume::GetNodeIndex(), TGeoCacheState::GetState(), ROOT::Internal::TTreeGeneratorBase::GetStreamerInfo(), TGeoNavigator::GetTouchedCluster(), getvertex(), TGMdiMainFrame::GetWindowList(), gl2psParseFeedbackBuffer(), TTreeViewer::HandleTimer(), TMVA::BinarySearchTree::Insert(), ROOT::MacOSX::X11::Detail::IsInBranch(), TPython::LoadMacro(), TEntryListBlock::Merge(), TViewPubFunctionsIter::Next(), TViewPubDataMembersIter::Next(), TOCCToStep::OCCShapeCreation(), TTreeFormula::ParseWithLeaf(), PyROOT::TSetItemHolder::PreProcessArgs(), TMemFile::Print(), TGeoChecker::PropagateInGeom(), qelg(), TDirectory::RegisterContext(), TTreeFormula::RegisterDimensions(), TGeoParallelWorld::Safety(), TGListTree::SavePrimitive(), TGeoPhysicalNode::SetBranchAsState(), TTVSession::SetRecordName(), TGeoCacheState::SetState(), TGWin32::SetTextAlign(), TGWin32::SetTextColor(), TGeoVoxelFinder::SortAll(), TGeoNavigator::Step(), TEveWindow::SwapWindowWithCurrent(), TTreeFormulaManager::Sync(), TStreamerSTL::TStreamerSTL(), TTreeIndex::TTreeIndex(), TFormLeafInfo::Update(), TGListTree::UpdateChecked(), TTreeFormulaManager::UpdateFormulaLeaves(), TTVSession::UpdateRecord(), and ROOT::Internal::TTreeProxyGenerator::WriteProxy().

TString dirName = gSystem->UnixPathName(__FILE__)