|
FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
| geoFace | setMediaFile ("../../geometry/media_pnd.geo") |
| geoFace | readMedia () |
| geoFace | print () |
| gGeoMan | SetTopVolume (top) |
| trc1 | SetName ("Gem_Disk1_Sensor") |
| trc1 | RegisterYourself () |
| trc2 | SetName ("Gem_Disk2_Sensor") |
| trc3 | SetName ("Gem_Disk3_Sensor") |
| SubunitVol | AddNode (Disk1Vol, 0, trc1) |
| SubunitVol | AddNode (Disk2Vol, 0, trc2) |
| SubunitVol | AddNode (Disk3Vol, 0, trc3) |
| top | AddNode (SubunitVol, 0, new TGeoCombiTrans()) |
| gGeoMan | CloseGeometry () |
| top | Write () |
| fi | Close () |
| top | Draw ("ogl") |
Variables | |
| const Double_t | kDisk2InnerRadius = 10.0 |
| const Double_t | kDisk3InnerRadius = 10.0 |
| const Double_t | kDisk1OuterRadius = 90.0 |
| const Double_t | kDisk2OuterRadius = 105.0 |
| const Double_t | kDisk3OuterRadius = 150.0 |
| const Double_t | kDisk1ZPosition = 110.0 |
| const Double_t | kDisk2ZPosition = 140.0 |
| const Double_t | kDisk3ZPosition = 190.0 |
| const Double_t | kHalfFoilThickness = 0.1 |
| TString | outfile = "../../geometry/gem.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") |
| TGeoVolume * | top = new TGeoVolumeAssembly("Gem") |
| TGeoShape * | Disk1Shape = new TGeoTube("disk1shape",kDisk1InnerRadius,kDisk1OuterRadius,kHalfFoilThickness) |
| TGeoShape * | Disk2Shape = new TGeoTube("disk2shape",kDisk2InnerRadius,kDisk2OuterRadius,kHalfFoilThickness) |
| TGeoShape * | Disk3Shape = new TGeoTube("disk3shape",kDisk3InnerRadius,kDisk3OuterRadius,kHalfFoilThickness) |
| TGeoVolume * | Disk1Vol = new TGeoVolume("Gem_Disk1_Sensor",Disk1Shape,gGeoMan->GetMedium("air")) |
| TGeoVolume * | Disk2Vol = new TGeoVolume("Gem_Disk2_Sensor",Disk2Shape,gGeoMan->GetMedium("air")) |
| TGeoVolume * | Disk3Vol = new TGeoVolume("Gem_Disk3_Sensor",Disk3Shape,gGeoMan->GetMedium("air")) |
| TGeoTranslation * | trt1 = new TGeoTranslation(0.,0.,kDisk1ZPosition) |
| TGeoTranslation * | trt2 = new TGeoTranslation(0.,0.,kDisk2ZPosition) |
| TGeoTranslation * | trt3 = new TGeoTranslation(0.,0.,kDisk3ZPosition) |
| TGeoRotation * | dummyrot = new TGeoRotation() |
| TGeoCombiTrans * | trc1 = new TGeoCombiTrans(*trt1,*dummyrot) |
| TGeoCombiTrans * | trc2 = new TGeoCombiTrans(*trt2,*dummyrot) |
| TGeoCombiTrans * | trc3 = new TGeoCombiTrans(*trt3,*dummyrot) |
| TGeoVolumeAssembly * | SubunitVol = new TGeoVolumeAssembly("Gem_Disks") |
| SubunitVol AddNode | ( | Disk1Vol | , |
| 0 | , | ||
| trc1 | |||
| ) |
| SubunitVol AddNode | ( | Disk2Vol | , |
| 0 | , | ||
| trc2 | |||
| ) |
| SubunitVol AddNode | ( | Disk3Vol | , |
| 0 | , | ||
| trc3 | |||
| ) |
| top AddNode | ( | SubunitVol | , |
| 0 | , | ||
| new | TGeoCombiTrans() | ||
| ) |
| fi Close | ( | ) |
| gGeoMan CloseGeometry | ( | ) |
| top Draw | ( | "ogl" | ) |
| geoFace readMedia | ( | ) |
| trc1 RegisterYourself | ( | ) |
| geoFace setMediaFile | ( | "../../geometry/media_pnd.geo" | ) |
| trc1 SetName | ( | "Gem_Disk1_Sensor" | ) |
| trc2 SetName | ( | "Gem_Disk2_Sensor" | ) |
| trc3 SetName | ( | "Gem_Disk3_Sensor" | ) |
| top Write | ( | ) |
| FairGeoMedium* CbmMediumAir = Media->getMedium("air") |
Definition at line 32 of file create_gem_rootgeo.C.
| FairGeoMedium* CbmMediumAluminium = Media->getMedium("aluminium") |
Definition at line 35 of file create_gem_rootgeo.C.
| FairGeoMedium* CbmMediumCarbon = Media->getMedium("carbon") |
Definition at line 34 of file create_gem_rootgeo.C.
| FairGeoMedium* CbmMediumPWO = Media->getMedium("PWO") |
Definition at line 33 of file create_gem_rootgeo.C.
| TGeoShape* Disk1Shape = new TGeoTube("disk1shape",kDisk1InnerRadius,kDisk1OuterRadius,kHalfFoilThickness) |
Definition at line 49 of file create_gem_rootgeo.C.
Definition at line 53 of file create_gem_rootgeo.C.
| TGeoShape* Disk2Shape = new TGeoTube("disk2shape",kDisk2InnerRadius,kDisk2OuterRadius,kHalfFoilThickness) |
Definition at line 50 of file create_gem_rootgeo.C.
Definition at line 54 of file create_gem_rootgeo.C.
| TGeoShape* Disk3Shape = new TGeoTube("disk3shape",kDisk3InnerRadius,kDisk3OuterRadius,kHalfFoilThickness) |
Definition at line 51 of file create_gem_rootgeo.C.
Definition at line 55 of file create_gem_rootgeo.C.
| TGeoRotation* dummyrot = new TGeoRotation() |
Definition at line 61 of file create_gem_rootgeo.C.
Referenced by create1StationGem_firstStation_v2(), create1StationGem_lastStation_v2(), create1StationsGem_firstStation(), create1StationsGem_lastStation(), create3StationsGem(), create3StationsGem_Tube(), create3StationsGem_v2(), create3StationsGem_v2_1(), and create4StationsGem().
| TFile* fi = new TFile(outfile,"RECREATE") |
Definition at line 21 of file create_gem_rootgeo.C.
| FairGeoBuilder* geobuild =geoLoad->getGeoBuilder() |
Definition at line 30 of file create_gem_rootgeo.C.
| FairGeoInterface* geoFace = geoLoad->getGeoInterface() |
Definition at line 24 of file create_gem_rootgeo.C.
| FairGeoLoader* geoLoad = new FairGeoLoader("TGeo","FairGeoLoader") |
Definition at line 23 of file create_gem_rootgeo.C.
| TGeoManager* gGeoMan = (TGeoManager*)gROOT->FindObject("FAIRGeom") |
Definition at line 42 of file create_gem_rootgeo.C.
| const Double_t kDisk1OuterRadius = 90.0 |
Definition at line 8 of file create_gem_rootgeo.C.
| const Double_t kDisk1ZPosition = 110.0 |
Definition at line 12 of file create_gem_rootgeo.C.
| const Double_t kDisk2InnerRadius = 10.0 |
Definition at line 5 of file create_gem_rootgeo.C.
| const Double_t kDisk2OuterRadius = 105.0 |
Definition at line 9 of file create_gem_rootgeo.C.
| const Double_t kDisk2ZPosition = 140.0 |
Definition at line 13 of file create_gem_rootgeo.C.
| const Double_t kDisk3InnerRadius = 10.0 |
Definition at line 6 of file create_gem_rootgeo.C.
| const Double_t kDisk3OuterRadius = 150.0 |
Definition at line 10 of file create_gem_rootgeo.C.
| const Double_t kDisk3ZPosition = 190.0 |
Definition at line 14 of file create_gem_rootgeo.C.
| const Double_t kHalfFoilThickness = 0.1 |
Definition at line 16 of file create_gem_rootgeo.C.
Referenced by create_lumi(), and create_lumi_geanetest().
| FairGeoMedia* Media = geoFace->getMedia() |
Definition at line 29 of file create_gem_rootgeo.C.
| nmed =geobuild->createMedium(CbmMediumAir) |
Definition at line 37 of file create_gem_rootgeo.C.
| TString outfile = "../../geometry/gem.root" |
Definition at line 20 of file create_gem_rootgeo.C.
| TGeoVolumeAssembly* SubunitVol = new TGeoVolumeAssembly("Gem_Disks") |
Definition at line 76 of file create_gem_rootgeo.C.
| TGeoVolume* top = new TGeoVolumeAssembly("Gem") |
Definition at line 44 of file create_gem_rootgeo.C.
Definition at line 63 of file create_gem_rootgeo.C.
Referenced by PndFtof::ConstructASCIIGeometry(), create_ftof_rootgeo(), create_ftofwall(), create_HypSTxy3Cmic_rootgeo3(), create_HypSTxy3Cmic_RootGeo5Lay(), create_HypSTxy3Cmic_RootGeo5LayExt(), and createRootGeometry_beampipe().
Definition at line 67 of file create_gem_rootgeo.C.
Referenced by create_HypSTxy3Cmic_rootgeo3(), create_HypSTxy3Cmic_RootGeo5Lay(), create_HypSTxy3Cmic_RootGeo5LayExt(), and createRootGeometry_beampipe().
Definition at line 71 of file create_gem_rootgeo.C.
Referenced by create_HypSTxy3Cmic_rootgeo3(), create_HypSTxy3Cmic_RootGeo5Lay(), create_HypSTxy3Cmic_RootGeo5LayExt(), and createRootGeometry_beampipe().
| TGeoTranslation* trt1 = new TGeoTranslation(0.,0.,kDisk1ZPosition) |
Definition at line 57 of file create_gem_rootgeo.C.
| TGeoTranslation* trt2 = new TGeoTranslation(0.,0.,kDisk2ZPosition) |
Definition at line 58 of file create_gem_rootgeo.C.
| TGeoTranslation* trt3 = new TGeoTranslation(0.,0.,kDisk3ZPosition) |
Definition at line 59 of file create_gem_rootgeo.C.
1.8.5