FairRoot/PandaRoot
|
Go to the source code of this file.
Variables | |
const Double_t | kDy = 0.96 |
const Double_t | kDz = 0.015 |
const Double_t | kPos1 = 5. |
const Double_t | kPos2 = 185.5 |
const Double_t | kPos3 = 86. |
const Double_t | kPos4 = 145. |
const Double_t | kGap3 = 0.45 |
const Double_t | kGap4 = 0.45 |
const Double_t | offs1x = +0.. |
const Double_t | offs1y = +0. |
const Double_t | offs2x = +0. |
const Double_t | offs2y = +0. |
const Double_t | offs3x = +0. |
const Double_t | offs3y = +0. |
const Double_t | offs4x = +0. |
const Double_t | offs4y = +0. |
TString | outfile = "TrackingStationDesyAli.root" |
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") |
Int_t | nmed =geobuild->createMedium(CbmMediumAir) |
TGeoManager * | gGeoMan = (TGeoManager*)gROOT->FindObject("FAIRGeom") |
TGeoVolume * | top = new TGeoVolumeAssembly("TrackingStation") |
TGeoShape * | BoxDouble1 = new TGeoBBox("StripActiveTD1", kDx, kDy, kDz) |
TGeoShape * | BoxDouble2 = new TGeoBBox("StripActiveTD2", kDx, kDy, kDz) |
TGeoShape * | BoxSingle1 = new TGeoBBox("StripActiveTS1", kDx, kDy, kDz) |
TGeoShape * | BoxSingle2 = new TGeoBBox("StripActiveTS2", kDx, kDy, kDz) |
TGeoShape * | BoxSingle3 = new TGeoBBox("StripActiveTS3", kDx, kDy, kDz) |
TGeoShape * | BoxSingle4 = new TGeoBBox("StripActiveTS4", kDx, kDy, kDz) |
TGeoVolume * | BoxVolDouble1 = new TGeoVolume("StripActiveTD1",BoxDouble1,gGeoMan->GetMedium("silicon")) |
TGeoVolume * | BoxVolDouble2 = new TGeoVolume("StripActiveTD2",BoxDouble2,gGeoMan->GetMedium("silicon")) |
TGeoVolume * | BoxVolSingle3a = new TGeoVolume("StripActiveTS3a",BoxSingle1,gGeoMan->GetMedium("silicon")) |
TGeoVolume * | BoxVolSingle3b = new TGeoVolume("StripActiveTS3b",BoxSingle2,gGeoMan->GetMedium("silicon")) |
TGeoVolume * | BoxVolSingle4a = new TGeoVolume("StripActiveTS4a",BoxSingle3,gGeoMan->GetMedium("silicon")) |
TGeoVolume * | BoxVolSingle4b = new TGeoVolume("StripActiveTS4b",BoxSingle4,gGeoMan->GetMedium("silicon")) |
TGeoTranslation * | trt1 = new TGeoTranslation(offs1x,offs1y,kPos1) |
TGeoTranslation * | trt2 = new TGeoTranslation(offs4x,offs4y,kPos2) |
TGeoTranslation * | trt3a = new TGeoTranslation(offs2x,0.,kPos3 - 0.5*kGap3 - kDz/2.) |
TGeoTranslation * | trt3b = new TGeoTranslation(0.,offs2y,kPos3 + 0.5*kGap3 + kDz/2.) |
TGeoTranslation * | trt4a = new TGeoTranslation(offs3x,0.,kPos4 - 0.5*kGap4 + kDz/2.) |
TGeoTranslation * | trt4b = new TGeoTranslation(0.,offs3y,kPos4 + 0.5*kGap4 - kDz/2.) |
TGeoRotation * | dummyrot = new TGeoRotation() |
TGeoRotation * | rot1 = new TGeoRotation("",-90.,0.,0.) |
TGeoRotation | rot2 |
TGeoRotation | rot3 |
TGeoHMatrix | h = rot2 * rot3 |
TGeoRotation * | rot4 = new TGeoRotation(h) |
TGeoCombiTrans * | trc1 = new TGeoCombiTrans(*trt1,*dummyrot) |
TGeoCombiTrans * | trc2 = new TGeoCombiTrans(*trt2,*dummyrot) |
TGeoCombiTrans * | trc3a = new TGeoCombiTrans(*trt3a,*dummyrot) |
TGeoCombiTrans * | trc3b = new TGeoCombiTrans(*trt3b,*rot1) |
TGeoCombiTrans * | trc4a = new TGeoCombiTrans(*trt4a,*dummyrot) |
TGeoCombiTrans * | trc4b = new TGeoCombiTrans(*trt4b,*rot1) |
TGeoVolumeAssembly * | SubunitVol = new TGeoVolumeAssembly("TTVol") |
TGeoVolumeAssembly * | SubunitDouble = new TGeoVolumeAssembly("TrDouble") |
TGeoVolumeAssembly * | SubunitSingle = new TGeoVolumeAssembly("TrSingle") |
SubunitDouble AddNode | ( | BoxVolDouble1 | , |
0 | , | ||
trc1 | |||
) |
SubunitDouble AddNode | ( | BoxVolDouble2 | , |
0 | , | ||
trc2 | |||
) |
SubunitSingle AddNode | ( | BoxVolSingle3a | , |
0 | , | ||
trc3a | |||
) |
SubunitSingle AddNode | ( | BoxVolSingle3b | , |
0 | , | ||
trc3b | |||
) |
SubunitSingle AddNode | ( | BoxVolSingle4a | , |
0 | , | ||
trc4a | |||
) |
SubunitSingle AddNode | ( | BoxVolSingle4b | , |
0 | , | ||
trc4b | |||
) |
SubunitVol AddNode | ( | SubunitDouble | , |
0 | , | ||
new | TGeoCombiTrans() | ||
) |
SubunitVol AddNode | ( | SubunitSingle | , |
0 | , | ||
new | TGeoCombiTrans() | ||
) |
top AddNode | ( | SubunitVol | , |
0 | , | ||
new | TGeoCombiTrans() | ||
) |
gGeoMan CloseGeometry | ( | ) |
top Draw | ( | "ogl" | ) |
gGeoMan Export | ( | outfile. | Data() | ) |
gSystem Load | ( | "libGeoBase" | ) |
gSystem Load | ( | "libParBase" | ) |
gSystem Load | ( | "libBase" | ) |
gSystem Load | ( | "libPndData" | ) |
gSystem Load | ( | "libPassive" | ) |
gROOT Macro | ( | "$VMCWORKDIR/gconfig/rootlogon.C" | ) |
geoFace readMedia | ( | ) |
trc1 RegisterYourself | ( | ) |
rot2 SetAngles | ( | 0. | , |
- | 45., | ||
0. | |||
) |
rot3 SetAngles | ( | 90. | , |
0. | , | ||
0. | |||
) |
geoFace setMediaFile | ( | "../../../geometry/media_pnd.geo" | ) |
trc1 SetName | ( | "Sensor1" | ) |
trc2 SetName | ( | "Sensor2" | ) |
trc3a SetName | ( | "Sensor3a" | ) |
trc3b SetName | ( | "Sensor3b" | ) |
trc4a SetName | ( | "Sensor4a" | ) |
trc4b SetName | ( | "Sensor4b" | ) |
Definition at line 92 of file NEW/createDesySetupAli.C.
Definition at line 93 of file NEW/createDesySetupAli.C.
Definition at line 94 of file NEW/createDesySetupAli.C.
Definition at line 95 of file NEW/createDesySetupAli.C.
Definition at line 96 of file NEW/createDesySetupAli.C.
Definition at line 97 of file NEW/createDesySetupAli.C.
TGeoVolume* BoxVolDouble1 = new TGeoVolume("StripActiveTD1",BoxDouble1,gGeoMan->GetMedium("silicon")) |
Definition at line 99 of file NEW/createDesySetupAli.C.
TGeoVolume* BoxVolDouble2 = new TGeoVolume("StripActiveTD2",BoxDouble2,gGeoMan->GetMedium("silicon")) |
Definition at line 100 of file NEW/createDesySetupAli.C.
TGeoVolume* BoxVolSingle3a = new TGeoVolume("StripActiveTS3a",BoxSingle1,gGeoMan->GetMedium("silicon")) |
Definition at line 101 of file NEW/createDesySetupAli.C.
TGeoVolume* BoxVolSingle3b = new TGeoVolume("StripActiveTS3b",BoxSingle2,gGeoMan->GetMedium("silicon")) |
Definition at line 102 of file NEW/createDesySetupAli.C.
TGeoVolume* BoxVolSingle4a = new TGeoVolume("StripActiveTS4a",BoxSingle3,gGeoMan->GetMedium("silicon")) |
Definition at line 103 of file NEW/createDesySetupAli.C.
TGeoVolume* BoxVolSingle4b = new TGeoVolume("StripActiveTS4b",BoxSingle4,gGeoMan->GetMedium("silicon")) |
Definition at line 104 of file NEW/createDesySetupAli.C.
FairGeoMedium* CbmMediumAir = Media->getMedium("air") |
Definition at line 80 of file NEW/createDesySetupAli.C.
FairGeoMedium* CbmMediumSilicon = Media->getMedium("silicon") |
Definition at line 81 of file NEW/createDesySetupAli.C.
TGeoRotation* dummyrot = new TGeoRotation() |
Definition at line 114 of file NEW/createDesySetupAli.C.
FairGeoBuilder* geobuild =geoLoad->getGeoBuilder() |
Definition at line 78 of file NEW/createDesySetupAli.C.
FairGeoInterface* geoFace = geoLoad->getGeoInterface() |
Definition at line 70 of file NEW/createDesySetupAli.C.
FairGeoLoader* geoLoad = new FairGeoLoader("TGeo","FairGeoLoader") |
Definition at line 69 of file NEW/createDesySetupAli.C.
TGeoManager* gGeoMan = (TGeoManager*)gROOT->FindObject("FAIRGeom") |
Definition at line 86 of file NEW/createDesySetupAli.C.
Definition at line 125 of file NEW/createDesySetupAli.C.
const Double_t kDy = 0.96 |
Definition at line 14 of file NEW/createDesySetupAli.C.
const Double_t kDz = 0.015 |
Definition at line 15 of file NEW/createDesySetupAli.C.
const Double_t kGap3 = 0.45 |
Definition at line 36 of file NEW/createDesySetupAli.C.
const Double_t kGap4 = 0.45 |
Definition at line 37 of file NEW/createDesySetupAli.C.
const Double_t kPos1 = 5. |
Definition at line 24 of file NEW/createDesySetupAli.C.
const Double_t kPos2 = 185.5 |
Definition at line 25 of file NEW/createDesySetupAli.C.
const Double_t kPos3 = 86. |
Definition at line 31 of file NEW/createDesySetupAli.C.
const Double_t kPos4 = 145. |
Definition at line 32 of file NEW/createDesySetupAli.C.
FairGeoMedia* Media = geoFace->getMedia() |
Definition at line 77 of file NEW/createDesySetupAli.C.
nmed =geobuild->createMedium(CbmMediumAir) |
Definition at line 83 of file NEW/createDesySetupAli.C.
const Double_t offs1x = +0.. |
Definition at line 41 of file NEW/createDesySetupAli.C.
const Double_t offs1y = +0. |
Definition at line 42 of file NEW/createDesySetupAli.C.
const Double_t offs2x = +0. |
Definition at line 44 of file NEW/createDesySetupAli.C.
const Double_t offs2y = +0. |
Definition at line 45 of file NEW/createDesySetupAli.C.
const Double_t offs3x = +0. |
Definition at line 47 of file NEW/createDesySetupAli.C.
const Double_t offs3y = +0. |
Definition at line 48 of file NEW/createDesySetupAli.C.
const Double_t offs4x = +0. |
Definition at line 50 of file NEW/createDesySetupAli.C.
const Double_t offs4y = +0. |
Definition at line 51 of file NEW/createDesySetupAli.C.
TString outfile = "TrackingStationDesyAli.root" |
Definition at line 66 of file NEW/createDesySetupAli.C.
TGeoRotation* rot1 = new TGeoRotation("",-90.,0.,0.) |
Definition at line 115 of file NEW/createDesySetupAli.C.
TGeoRotation rot2 |
Definition at line 120 of file NEW/createDesySetupAli.C.
TGeoRotation rot3 |
Definition at line 122 of file NEW/createDesySetupAli.C.
TGeoRotation* rot4 = new TGeoRotation(h) |
Definition at line 127 of file NEW/createDesySetupAli.C.
TGeoVolumeAssembly* SubunitDouble = new TGeoVolumeAssembly("TrDouble") |
Definition at line 157 of file NEW/createDesySetupAli.C.
TGeoVolumeAssembly* SubunitSingle = new TGeoVolumeAssembly("TrSingle") |
Definition at line 162 of file NEW/createDesySetupAli.C.
TGeoVolumeAssembly* SubunitVol = new TGeoVolumeAssembly("TTVol") |
Definition at line 155 of file NEW/createDesySetupAli.C.
TGeoVolume* top = new TGeoVolumeAssembly("TrackingStation") |
Definition at line 88 of file NEW/createDesySetupAli.C.
Definition at line 129 of file NEW/createDesySetupAli.C.
Definition at line 133 of file NEW/createDesySetupAli.C.
Definition at line 137 of file NEW/createDesySetupAli.C.
Definition at line 142 of file NEW/createDesySetupAli.C.
Definition at line 146 of file NEW/createDesySetupAli.C.
Definition at line 151 of file NEW/createDesySetupAli.C.
Definition at line 107 of file NEW/createDesySetupAli.C.
Definition at line 108 of file NEW/createDesySetupAli.C.
Definition at line 109 of file NEW/createDesySetupAli.C.
Definition at line 110 of file NEW/createDesySetupAli.C.
Definition at line 111 of file NEW/createDesySetupAli.C.