FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
for (Int_t i=0;i< 16;i++) | |
gROOT | Macro ("$VMCWORKDIR/gconfig/rootlogon.C") |
gSystem | Load ("libGeoBase") |
gSystem | Load ("libParBase") |
gSystem | Load ("libBase") |
gSystem | Load ("libPndData") |
gSystem | Load ("libPassive") |
geoFace | setMediaFile ("../../geometry/media_pnd.geo") |
geoFace | readMedia () |
geoFace | print () |
gGeoMan | SetTopVolume (top) |
Variables | |
const Double_t | kSpaceInSub = 0.024 |
const Double_t | kSpaceSubGlue = 0.036 |
const Double_t | kAlveoleThickness = 0.018 |
const Int_t | kNumOfQuarters = 1 |
const Int_t | kNumOfBoxes = 4 |
const Int_t | kNumOfCrystals = 4 |
Double_t | tr = 2.51875 |
Double_t | b1 = 2.6000-0.5*tr |
Double_t | b2 = 2.4375-0.5*tr |
Double_t | dz = 10.000 |
Double_t | vert [20] = -0.5*tr |
Double_t | vert0 [20] |
Double_t | vertBox [20] |
Double_t | vertSub [20] |
Double_t | vertQuar [20] |
Double_t | spacesQuar = 0.0 |
TString | outfile = "../../geometry/emc_module3new.root" |
TFile * | fi = new TFile(outfile,"RECREATE") |
FairGeoLoader * | geoLoad = new FairGeoLoader("TGeo","FairGeoLoader") |
FairGeoInterface * | geoFace = geoLoad->getGeoInterface() |
FairGeoMedia * | Media = geoFace->getMedia() |
FairGeoBuilder * | geobuild =geoLoad->getGeoBuilder() |
FairGeoMedium * | CbmMediumAir = Media->getMedium("air") |
FairGeoMedium * | CbmMediumPWO = Media->getMedium("PWO") |
FairGeoMedium * | CbmMediumCarbon = Media->getMedium("carbon") |
FairGeoMedium * | CbmMediumAluminium = Media->getMedium("aluminium") |
Int_t | nmed =geobuild->createMedium(CbmMediumAir) |
TGeoManager * | gGeoMan = (TGeoManager*)gROOT->FindObject("FAIRGeom") |
Double_t | sizeOfQuar = 96.192 |
TGeoVolume * | top = new TGeoVolumeAssembly("Emc3") |
TGeoTranslation | trQuar |
TGeoTranslation | trSub |
TGeoTranslation | trBox |
TGeoTranslation | trCrystal |
TGeoRotation | rotQuar |
TGeoRotation | rotSub |
TGeoRotation | rotBox |
TGeoRotation | rotCrystal |
TGeoShape * | QuarterShape |
TGeoShape * | SubunitShape |
TGeoShape * | BoxShape |
TGeoShape * | CrystalShape |
TGeoVolume * | QuarterVol |
TGeoVolume * | SubunitVol |
TGeoVolume * | BoxVol |
TGeoVolume * | CrystalVol |
TString | name |
for | ( | ) |
Definition at line 46 of file createRootGeoFileFwEnd_changed.C.
References Double_t, i, and kSpaceInSub.
gSystem Load | ( | "libGeoBase" | ) |
gSystem Load | ( | "libParBase" | ) |
gSystem Load | ( | "libBase" | ) |
gSystem Load | ( | "libPndData" | ) |
gSystem Load | ( | "libPassive" | ) |
gROOT Macro | ( | "$VMCWORKDIR/gconfig/rootlogon.C" | ) |
geoFace readMedia | ( | ) |
geoFace setMediaFile | ( | "../../geometry/media_pnd.geo" | ) |
Definition at line 16 of file createRootGeoFileFwEnd_changed.C.
Definition at line 17 of file createRootGeoFileFwEnd_changed.C.
TGeoShape* BoxShape |
Definition at line 175 of file createRootGeoFileFwEnd_changed.C.
TGeoVolume* BoxVol |
Definition at line 180 of file createRootGeoFileFwEnd_changed.C.
FairGeoMedium* CbmMediumAir = Media->getMedium("air") |
Definition at line 142 of file createRootGeoFileFwEnd_changed.C.
FairGeoMedium* CbmMediumAluminium = Media->getMedium("aluminium") |
Definition at line 145 of file createRootGeoFileFwEnd_changed.C.
FairGeoMedium* CbmMediumCarbon = Media->getMedium("carbon") |
Definition at line 144 of file createRootGeoFileFwEnd_changed.C.
FairGeoMedium* CbmMediumPWO = Media->getMedium("PWO") |
Definition at line 143 of file createRootGeoFileFwEnd_changed.C.
TGeoShape* CrystalShape |
Definition at line 176 of file createRootGeoFileFwEnd_changed.C.
TGeoVolume* CrystalVol |
Definition at line 181 of file createRootGeoFileFwEnd_changed.C.
dz = 10.000 |
Definition at line 19 of file createRootGeoFileFwEnd_changed.C.
TFile* fi = new TFile(outfile,"RECREATE") |
Definition at line 131 of file createRootGeoFileFwEnd_changed.C.
FairGeoBuilder* geobuild =geoLoad->getGeoBuilder() |
Definition at line 140 of file createRootGeoFileFwEnd_changed.C.
FairGeoInterface* geoFace = geoLoad->getGeoInterface() |
Definition at line 134 of file createRootGeoFileFwEnd_changed.C.
FairGeoLoader* geoLoad = new FairGeoLoader("TGeo","FairGeoLoader") |
Definition at line 133 of file createRootGeoFileFwEnd_changed.C.
TGeoManager* gGeoMan = (TGeoManager*)gROOT->FindObject("FAIRGeom") |
Definition at line 152 of file createRootGeoFileFwEnd_changed.C.
const Double_t kAlveoleThickness = 0.018 |
Definition at line 8 of file createRootGeoFileFwEnd_changed.C.
const Int_t kNumOfBoxes = 4 |
Definition at line 11 of file createRootGeoFileFwEnd_changed.C.
const Int_t kNumOfCrystals = 4 |
Definition at line 12 of file createRootGeoFileFwEnd_changed.C.
const Int_t kNumOfQuarters = 1 |
Definition at line 10 of file createRootGeoFileFwEnd_changed.C.
const Double_t kSpaceInSub = 0.024 |
Definition at line 5 of file createRootGeoFileFwEnd_changed.C.
const Double_t kSpaceSubGlue = 0.036 |
Definition at line 6 of file createRootGeoFileFwEnd_changed.C.
FairGeoMedia* Media = geoFace->getMedia() |
Definition at line 139 of file createRootGeoFileFwEnd_changed.C.
TString name |
Definition at line 183 of file createRootGeoFileFwEnd_changed.C.
nmed =geobuild->createMedium(CbmMediumAir) |
Definition at line 147 of file createRootGeoFileFwEnd_changed.C.
TString outfile = "../../geometry/emc_module3new.root" |
Definition at line 130 of file createRootGeoFileFwEnd_changed.C.
TGeoShape* QuarterShape |
Definition at line 173 of file createRootGeoFileFwEnd_changed.C.
TGeoVolume* QuarterVol |
Definition at line 178 of file createRootGeoFileFwEnd_changed.C.
TGeoRotation rotBox |
Definition at line 170 of file createRootGeoFileFwEnd_changed.C.
TGeoRotation rotCrystal |
Definition at line 171 of file createRootGeoFileFwEnd_changed.C.
TGeoRotation rotQuar |
Definition at line 168 of file createRootGeoFileFwEnd_changed.C.
TGeoRotation rotSub |
Definition at line 169 of file createRootGeoFileFwEnd_changed.C.
Double_t sizeOfQuar = 96.192 |
Definition at line 155 of file createRootGeoFileFwEnd_changed.C.
Double_t spacesQuar = 0.0 |
Definition at line 96 of file createRootGeoFileFwEnd_changed.C.
TGeoShape* SubunitShape |
Definition at line 174 of file createRootGeoFileFwEnd_changed.C.
TGeoVolume* SubunitVol |
Definition at line 179 of file createRootGeoFileFwEnd_changed.C.
TGeoVolume* top = new TGeoVolumeAssembly("Emc3") |
Definition at line 159 of file createRootGeoFileFwEnd_changed.C.
Double_t tr = 2.51875 |
Definition at line 14 of file createRootGeoFileFwEnd_changed.C.
TGeoTranslation trBox |
Definition at line 165 of file createRootGeoFileFwEnd_changed.C.
TGeoTranslation trCrystal |
Definition at line 166 of file createRootGeoFileFwEnd_changed.C.
TGeoTranslation trQuar |
Definition at line 163 of file createRootGeoFileFwEnd_changed.C.
TGeoTranslation trSub |
Definition at line 164 of file createRootGeoFileFwEnd_changed.C.
vert[15] = -0.5*tr |
Definition at line 19 of file createRootGeoFileFwEnd_changed.C.
Double_t vert0[20] |
Definition at line 20 of file createRootGeoFileFwEnd_changed.C.
Double_t vertBox[20] |
Definition at line 20 of file createRootGeoFileFwEnd_changed.C.
Double_t vertQuar[20] |
Definition at line 20 of file createRootGeoFileFwEnd_changed.C.
Double_t vertSub[20] |
Definition at line 20 of file createRootGeoFileFwEnd_changed.C.