63 G4double CexmcRadialLineWidth( 2.0 );
64 G4double CexmcRadialLineCapScreenSize( 4.0 );
65 G4double CexmcMarkerScreenSize( 2.0 );
66 G4double CexmcICHlLineLineWidth( 1.0 );
67 G4Colour CexmcDefaultSPColour( 1.0, 1.0, 1.0 );
72 setup( setup ), markTargetCenter( false ), highlightInnerCrystals( false ),
91 if ( markTargetCenter )
93 if ( highlightInnerCrystals )
95 for ( CexmcRadialLines::const_iterator k( radialLines.begin() );
96 k != radialLines.end(); ++k )
112 transform.NetTranslation() );
121 const CexmcRadialLine * rLine )
126 G4Point3D radialLineEnd( - std::sin( theta ) * std::cos( phi ) * length,
127 std::sin( theta ) * std::sin( phi ) * length,
128 std::cos( theta ) * length );
132 line.push_back( radialLineEnd );
135 visAttributes.SetLineWidth( CexmcRadialLineWidth );
145 transform.NetTranslation() );
158 G4double icWidth( calorimeterGeometry.crystalWidth *
159 ( calorimeterGeometry.nCrystalsInRow - 2 ) / 2 );
160 G4double icHeight( calorimeterGeometry.crystalHeight *
161 ( calorimeterGeometry.nCrystalsInColumn - 2 ) / 2 );
162 G4double icLength( calorimeterGeometry.crystalLength / 2 );
163 icWidth = icWidth < 0 ? 0 : icWidth;
164 icHeight = icHeight < 0 ? 0 : icHeight;
168 visAttributes.SetLineWidth( CexmcICHlLineLineWidth );
169 innerCrystals.SetVisAttributes( visAttributes );
174 transformLeft.NetRotation().inverse(),
175 transformLeft.NetTranslation() );
179 transformRight.NetRotation().inverse(),
180 transformRight.NetTranslation() );