SToGS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
BrowserFactory.C File Reference
#include "TGeoManager.h"
#include "TGeoVolume.h"
#include "TGeoNode.h"

Go to the source code of this file.

Functions

void CollectVolumes (TGeoNode *theDetector, TObjArray &logical_stored, TObjArray &phycical_stored)
 From the Full geometry, extract the logical and physical [nodes] volumes. More...
 
void RenameSToGSDetector (const char *from, const char *to)
 rename the three files More...
 
TGeoVolume * ShowDetector (const char *basename="DetectorFactory/Scintillators/CParisPW_2", Option_t *opt_draw="ogl")
 Read the detector in the factory and show it in open GL window. More...
 
void ShowInEve (const char *basename="DetectorFactory/Scintillators/CParisPW_2")
 Read the detector in the factory and show it in Eve. More...
 

Function Documentation

void CollectVolumes ( TGeoNode *  theDetector,
TObjArray &  logical_stored,
TObjArray &  phycical_stored 
)

From the Full geometry, extract the logical and physical [nodes] volumes.

Definition at line 8 of file BrowserFactory.C.

void RenameSToGSDetector ( const char *  from,
const char *  to 
)

rename the three files

Definition at line 128 of file BrowserFactory.C.

TGeoVolume* ShowDetector ( const char *  basename = "DetectorFactory/Scintillators/CParisPW_2",
Option_t *  opt_draw = "ogl" 
)

Read the detector in the factory and show it in open GL window.

Definition at line 42 of file BrowserFactory.C.

void ShowInEve ( const char *  basename = "DetectorFactory/Scintillators/CParisPW_2")

Read the detector in the factory and show it in Eve.

Definition at line 107 of file BrowserFactory.C.