Functions | Variables
make_fe_box.C File Reference

Go to the source code of this file.

Functions

gm SetTopVolume (top)
 
gm CloseGeometry ()
 
TFile f ("./boxg.root","recreate")
 
gm Write ()
 
f Close ()
 

Variables

TGeoManager * gm = new TGeoManager("world","")
 
TGeoMaterial * fe56_mat = new TGeoMaterial("fe56", 56, 26, 7.87)
 
TGeoMedium * fe56_med = new TGeoMedium ("fe56", 1, fe56_mat)
 
TGeoVolume * top = gm->MakeBox("Top",fe56_med,20000,20000,20000)
 

Function Documentation

f Close ( )
gm CloseGeometry ( )
TFile f ( "./boxg.root"  ,
"recreate"   
)
gm SetTopVolume ( top  )
gm Write ( )

Variable Documentation

TGeoMaterial* fe56_mat = new TGeoMaterial("fe56", 56, 26, 7.87)

Definition at line 6 of file make_fe_box.C.

TGeoMedium* fe56_med = new TGeoMedium ("fe56", 1, fe56_mat)

Definition at line 7 of file make_fe_box.C.

TGeoManager* gm = new TGeoManager("world","")
TGeoVolume* top = gm->MakeBox("Top",fe56_med,20000,20000,20000)