|
FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
| geoFace | setMediaFile (mediafile) |
| geoFace | readMedia () |
| geoFace | print () |
| GeoMan | SetTopVolume (top) |
| assamb | AddNode (sensor, 0, trafo) |
| assamb | AddNode (sensor2, 0, trafo2) |
| top | AddNode (assamb, 0, new TGeoHMatrix()) |
| cout<<""<< endl;cout <<"----------------------------------------------------------"<< endl;cout <<""<< endl;GeoMan-> | Print () |
| cout<<""<< endl;cout <<"----------------------------------------------------------"<< endl;cout <<""<< endl;GeoMan-> | CloseGeometry () |
| GeoMan | Export (outfile.Data()) |
Variables | |
| TString | outfile = "teststation.root" |
| TString | mediafile = gSystem->Getenv("VMCWORKDIR") |
| FairGeoLoader * | geoLoad = new FairGeoLoader("TGeo","FairGeoLoader") |
| FairGeoInterface * | geoFace = geoLoad->getGeoInterface() |
| FairGeoMedia * | Media = geoFace->getMedia() |
| FairGeoBuilder * | geobuild =geoLoad->getGeoBuilder() |
| FairGeoMedium * | CbmMediumAir = Media->getMedium("air") |
| FairGeoMedium * | CbmMediumSilicon = Media->getMedium("silicon") |
| FairGeoMedium * | CbmMediumCarbon = Media->getMedium("carbon") |
| FairGeoMedium * | CbmMediumAluminium = Media->getMedium("aluminium") |
| Int_t | nmed =geobuild->createMedium(CbmMediumAir) |
| TGeoManager * | GeoMan = (TGeoManager*)gROOT->FindObject("FAIRGeom") |
| TGeoVolume * | top = new TGeoVolumeAssembly("SiliconTestStation") |
| TGeoMaterial * | matVacuum = new TGeoMaterial("vacuum",0,0,0) |
| TGeoMaterial * | matSilicon = new TGeoMaterial("silicon", 28.0855, 14, 2.33) |
| TGeoMedium * | medVacuum = new TGeoMedium("vacuum", 1, matVacuum) |
| TGeoMedium * | medSilicon = new TGeoMedium("silicon", 2, matSilicon) |
| TGeoVolumeAssembly * | assamb = new TGeoVolumeAssembly("DummysensorAss") |
| TGeoShape * | shape = new TGeoBBox(0.96, 0.96, 0.015) |
| TGeoRotation * | rot = new TGeoRotation("rot",0.,0.,0.) |
| TGeoCombiTrans * | trafo = new TGeoCombiTrans(0., 0., 4., rot) |
| TGeoVolume * | sensor = new TGeoVolume("Module15",shape,GeoMan->GetMedium("silicon")) |
| TGeoShape * | shape2 = new TGeoBBox(0.96, 0.96, 0.015) |
| TGeoRotation * | rot2 = new TGeoRotation("rot",90.,0.,0.) |
| TGeoCombiTrans * | trafo2 = new TGeoCombiTrans(0., 0., 4.5, rot2) |
| TGeoVolume * | sensor2 = new TGeoVolume("Module16",shape2,GeoMan->GetMedium("silicon")) |
| cout<<""<<endl;cout<<"----------------------------------------------------------"<<endl;cout<<""<<endl; GeoMan-> CloseGeometry | ( | ) |
| GeoMan Export | ( | outfile. | Data() | ) |
| cout<<""<<endl;cout<<"----------------------------------------------------------"<<endl;cout<<""<<endl; GeoMan-> Print | ( | ) |
| geoFace readMedia | ( | ) |
| TGeoVolumeAssembly* assamb = new TGeoVolumeAssembly("DummysensorAss") |
Definition at line 51 of file createTestSensorsTGM.C.
| FairGeoMedium* CbmMediumAir = Media->getMedium("air") |
Definition at line 28 of file createTestSensorsTGM.C.
| FairGeoMedium* CbmMediumAluminium = Media->getMedium("aluminium") |
Definition at line 31 of file createTestSensorsTGM.C.
| FairGeoMedium* CbmMediumCarbon = Media->getMedium("carbon") |
Definition at line 30 of file createTestSensorsTGM.C.
| FairGeoMedium* CbmMediumSilicon = Media->getMedium("silicon") |
Definition at line 29 of file createTestSensorsTGM.C.
| FairGeoBuilder* geobuild =geoLoad->getGeoBuilder() |
Definition at line 26 of file createTestSensorsTGM.C.
| FairGeoInterface* geoFace = geoLoad->getGeoInterface() |
Definition at line 20 of file createTestSensorsTGM.C.
| FairGeoLoader* geoLoad = new FairGeoLoader("TGeo","FairGeoLoader") |
Definition at line 19 of file createTestSensorsTGM.C.
| TGeoManager* GeoMan = (TGeoManager*)gROOT->FindObject("FAIRGeom") |
Definition at line 38 of file createTestSensorsTGM.C.
| TGeoMaterial* matSilicon = new TGeoMaterial("silicon", 28.0855, 14, 2.33) |
Definition at line 47 of file createTestSensorsTGM.C.
| TGeoMaterial* matVacuum = new TGeoMaterial("vacuum",0,0,0) |
Definition at line 46 of file createTestSensorsTGM.C.
| FairGeoMedia* Media = geoFace->getMedia() |
Definition at line 25 of file createTestSensorsTGM.C.
| mediafile = gSystem->Getenv("VMCWORKDIR") |
Definition at line 16 of file createTestSensorsTGM.C.
| TGeoMedium* medSilicon = new TGeoMedium("silicon", 2, matSilicon) |
Definition at line 49 of file createTestSensorsTGM.C.
| TGeoMedium* medVacuum = new TGeoMedium("vacuum", 1, matVacuum) |
Definition at line 48 of file createTestSensorsTGM.C.
| nmed =geobuild->createMedium(CbmMediumAir) |
Definition at line 33 of file createTestSensorsTGM.C.
| TString outfile = "teststation.root" |
Definition at line 13 of file createTestSensorsTGM.C.
| TGeoRotation* rot = new TGeoRotation("rot",0.,0.,0.) |
Definition at line 54 of file createTestSensorsTGM.C.
| TGeoRotation* rot2 = new TGeoRotation("rot",90.,0.,0.) |
Definition at line 59 of file createTestSensorsTGM.C.
Definition at line 56 of file createTestSensorsTGM.C.
Definition at line 61 of file createTestSensorsTGM.C.
Referenced by buildCyclic(), and PndLmdAlignQA::checkCombined().
| TGeoShape* shape = new TGeoBBox(0.96, 0.96, 0.015) |
Definition at line 53 of file createTestSensorsTGM.C.
| TGeoShape* shape2 = new TGeoBBox(0.96, 0.96, 0.015) |
Definition at line 58 of file createTestSensorsTGM.C.
| TGeoVolume* top = new TGeoVolumeAssembly("SiliconTestStation") |
Definition at line 40 of file createTestSensorsTGM.C.
| TGeoCombiTrans* trafo = new TGeoCombiTrans(0., 0., 4., rot) |
Definition at line 55 of file createTestSensorsTGM.C.
| TGeoCombiTrans* trafo2 = new TGeoCombiTrans(0., 0., 4.5, rot2) |
Definition at line 60 of file createTestSensorsTGM.C.
1.8.8