cz.muni.fi.xmravec.bc.prodes
Interface DetectorShape

All Known Implementing Classes:
Sphere

public interface DetectorShape

Interface for detector shape


Method Summary
 Coordinates coordinates()
          Calculates coordinates of intersection neutron trajectory and detector surface
 double getLambda()
          Returns a distance of neutron to the surface of detector in neutron direction
 Coordinates hitPoint(Particle particle)
          Calculates the coordinates on the surface of the detector where particle is about to leave the detector
 void setLambda(double lambda)
          Sets a distance of neutron to the surface of detector in neutron direction
 

Method Detail

coordinates

Coordinates coordinates()
Calculates coordinates of intersection neutron trajectory and detector surface

Returns:
cartesian coordinates of intersection

setLambda

void setLambda(double lambda)
Sets a distance of neutron to the surface of detector in neutron direction

Parameters:
lambda - distance of neutron to the surface of detector in metres

getLambda

double getLambda()
Returns a distance of neutron to the surface of detector in neutron direction

Returns:
lambda distance of neutron to the surface of detector in metres

hitPoint

Coordinates hitPoint(Particle particle)
Calculates the coordinates on the surface of the detector where particle is about to leave the detector

Parameters:
particle - particle
Returns:
carthesian coordinates