Skip to content
Snippets Groups Projects
Commit 9b857100 authored by matta's avatar matta
Browse files

* Fixing bug in MUST2 Geometry

	- No strip inversion...
parent ac7148f3
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ TransfertToResonance ...@@ -19,7 +19,7 @@ TransfertToResonance
ResonanceDecayA= 8 ResonanceDecayA= 8
CrossSectionPath= 11Li(d,3He)10He.txt CrossSectionPath= 11Li(d,3He)10He.txt
ShootLight= 1 ShootLight= 1
ShootHeavy= 0 ShootHeavy= 1
ShootDecayProduct= 0 ShootDecayProduct= 0
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
...@@ -799,9 +799,8 @@ void TMust2Physics::AddTelescope( TVector3 C_X1_Y1 , ...@@ -799,9 +799,8 @@ void TMust2Physics::AddTelescope( TVector3 C_X1_Y1 ,
for( int j = 0 ; j < 128 ; j++ ) for( int j = 0 ; j < 128 ; j++ )
{ {
StripCenter = Strip_1_1 + StripPitch*( j*U + i*V ) ; StripCenter = Strip_1_1 + StripPitch*( i*U + j*V ) ;
//StripCenter += -TargetPosition ; //StripCenter += -TargetPosition ;
lineX.push_back( StripCenter.X() ) ; lineX.push_back( StripCenter.X() ) ;
lineY.push_back( StripCenter.Y() ) ; lineY.push_back( StripCenter.Y() ) ;
lineZ.push_back( StripCenter.Z() ) ; lineZ.push_back( StripCenter.Z() ) ;
......
...@@ -879,10 +879,10 @@ void MUST2Array::ConstructDetector(G4LogicalVolume* world) ...@@ -879,10 +879,10 @@ void MUST2Array::ConstructDetector(G4LogicalVolume* world)
// (u,v) // to silicon plan // (u,v) // to silicon plan
// w perpendicular to (u,v) plan and pointing CsI // w perpendicular to (u,v) plan and pointing CsI
MMu = m_X128_Y1[i] - m_X1_Y1[i] ; MMu = m_X128_Y1[i] - m_X1_Y1[i] ;
MMu = MMu.unit() ; MMu = -MMu.unit() ;
MMv = m_X1_Y128[i] - m_X1_Y1[i] ; MMv = m_X1_Y128[i] - m_X1_Y1[i] ;
MMv = MMv.unit() ; MMv = -MMv.unit() ;
MMw = MMv.cross(MMu) ; MMw = MMv.cross(MMu) ;
// if (MMw.z() > 0)MMw = MMv.cross(MMu) ; // if (MMw.z() > 0)MMw = MMv.cross(MMu) ;
......
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