134 if ( std::fabs(localpos1.
z()) > tubsSolid->
GetZHalfLength() )
return -1;
135 G4double localR2 = localpos1.
x()*localpos1.
x()+localpos1.
y()*localpos1.
y();
137 if (localR2 > (InsideRadius-kCarTolerance)*(InsideRadius-kCarTolerance)
138 &&localR2 < (InsideRadius+kCarTolerance)*(InsideRadius+kCarTolerance)){
148 if ( std::fabs(localpos2.
z()) > tubsSolid->
GetZHalfLength() )
return -1;
149 G4double localR2 = localpos2.
x()*localpos2.
x()+localpos2.
y()*localpos2.
y();
151 if (localR2 > (InsideRadius-kCarTolerance)*(InsideRadius-kCarTolerance)
152 &&localR2 < (InsideRadius+kCarTolerance)*(InsideRadius+kCarTolerance)){
182 std::map<G4int,G4double*>::iterator itr =
EvtMap->
GetMap()->begin();
184 G4cout <<
" copy no.: " << itr->first
190 G4cout << *(itr->second) <<
" [tracks]";
206 G4Exception(
"G4PSCylinderSurfaceCurrent::SetUnit",
"DetPS0002",