Skip to content
Snippets Groups Projects
Commit 8f2ac4a6 authored by matta's avatar matta
Browse files

* Wfer is now place at the surface of the PCB in the sharc box

parent 76b6bd83
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ Sharc
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Upstream Box
SharcBOX
Z= 0
Z= -40
ThicknessDector1= 100
ThicknessDector2= 100
ThicknessDector3= 100
......
......@@ -404,7 +404,7 @@ void Sharc::ConstructBOXDetector(G4LogicalVolume* world){
if(m_ThicknessBOX[i][j]>0)
new G4PVPlacement(new G4RotationMatrix(0,0,0),
Box_Wafer_Offset,
Box_Wafer_Offset+G4ThreeVector(0,0,0.5*BOX_PCB_Thickness-0.5*m_ThicknessBOX[i][j]),
logicWafer,"Box_Wafer",logicBoxDetector,false,i*4+j+1);
// create the PAD
......@@ -505,7 +505,7 @@ void Sharc::ConstructBOXDetector(G4LogicalVolume* world){
DetectorRotation->rotateZ(-90*deg);
}
if(m_Z[i]>0) DetectorRotation->rotateY(180*deg);
if(m_Z[i]<0) DetectorRotation->rotateY(180*deg);
DetectorPosition.transform(*DetectorRotation);
DetectorPosition+=G4ThreeVector(0,0,m_Z[i]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment