Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > 8c86774a3e53d77cc119f53a2b94a57a > files > 627

root-tutorial-5.34.14-2.fc18.noarch.rpm

// Plays back event-recording of a root session running geom_cms.C tutorial.
// [ Recorded using "new TGRecorder" command. ]
//
// Script:
// - type: .x geom_cms.C
// - demonstratate rotation (left-mouse), zoom (right-mouse left-right)
// - show GL window Help Window
// - show wireframe (w), smooth (r, default) and outline (t) render modes
// - show flip of background color dark-light-dark (e pressed twice)
// - disable clipping plane in GL-viewer panel
// - open "Scene" list-tree and further "Geometry scene"
// - disable drawing of muon system and then calorimeters
// - select tracker geometry top-node and increase drawing depth
// - re-enable clipping plane and zoom into pixel detector.

void geom_cms_playback()
{
   TRecorder* r = new TRecorder("http://root.cern.ch/files/geom_cms_recording.root");
}