FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Create_Tutorial4_Geometry.C File Reference
#include <TFile.h>
#include <TGeoCompositeShape.h>
#include <TGeoManager.h>
#include <TGeoMaterial.h>
#include <TGeoMatrix.h>
#include <TGeoMedium.h>
#include <TGeoPgon.h>
#include <TGeoVolume.h>
#include <TList.h>
#include <TROOT.h>
#include <TString.h>
#include <TSystem.h>
#include <iostream>

Go to the source code of this file.

Functions

void create_materials_from_media_file ()
 
TGeoVolume * create_detector ()
 
void position_detector ()
 
void add_alignable_volumes ()
 
void Create_Tutorial4_Geometry ()
 

Variables

const TString geoVersion = "tutorial4"
 
const TString FileName = geoVersion + ".root"
 
const TString FileName1 = geoVersion + "_geomanager.root"
 
const TString KeepingVolumeMedium = "air"
 
const TString BoxVolumeMedium = "silicon"
 
const Float_t First_Z_Position = 10
 
const Float_t Z_Distance = 10
 
const Float_t Module_Size_X = 80.
 
const Float_t Module_Size_Y = 80.
 
const Float_t Module_Size_Z = .04
 
TGeoManager * gGeoMan = NULL
 
TGeoVolume * gModules
 

Function Documentation

void add_alignable_volumes ( )

Definition at line 147 of file Create_Tutorial4_Geometry.C.

TGeoVolume * create_detector ( )

Definition at line 118 of file Create_Tutorial4_Geometry.C.

void create_materials_from_media_file ( )

Definition at line 95 of file Create_Tutorial4_Geometry.C.

void Create_Tutorial4_Geometry ( )

Definition at line 53 of file Create_Tutorial4_Geometry.C.

void position_detector ( )

Definition at line 134 of file Create_Tutorial4_Geometry.C.

Variable Documentation

const TString BoxVolumeMedium = "silicon"

Definition at line 32 of file Create_Tutorial4_Geometry.C.

const TString FileName = geoVersion + ".root"

Definition at line 26 of file Create_Tutorial4_Geometry.C.

const TString FileName1 = geoVersion + "_geomanager.root"

Definition at line 27 of file Create_Tutorial4_Geometry.C.

const Float_t First_Z_Position = 10

Definition at line 35 of file Create_Tutorial4_Geometry.C.

const TString geoVersion = "tutorial4"

Definition at line 25 of file Create_Tutorial4_Geometry.C.

TGeoManager* gGeoMan = NULL

Definition at line 44 of file Create_Tutorial4_Geometry.C.

TGeoVolume* gModules

Definition at line 45 of file Create_Tutorial4_Geometry.C.

const TString KeepingVolumeMedium = "air"

Definition at line 31 of file Create_Tutorial4_Geometry.C.

const Float_t Module_Size_X = 80.

Definition at line 39 of file Create_Tutorial4_Geometry.C.

const Float_t Module_Size_Y = 80.

Definition at line 40 of file Create_Tutorial4_Geometry.C.

const Float_t Module_Size_Z = .04

Definition at line 41 of file Create_Tutorial4_Geometry.C.

const Float_t Z_Distance = 10

Definition at line 36 of file Create_Tutorial4_Geometry.C.