npac_detector.particle_hypothesis

Classes

Particle_hypothesis

Describes the features of the incoming particle

Module Contents

class npac_detector.particle_hypothesis.Particle_hypothesis(momentum: float, velocity: float, charge: float, mass: float)

Describes the features of the incoming particle

momentum

Momentum in MeV

Type:

float

velocity

Velocity in units of c (beta)

Type:

float

charge

Electric charge in units of the elementary charge

Type:

float

mass

Mass in MeV

Type:

float

momentum
velocity
charge
mass
angle(free_length, x_direction: numpy.array, y_direction: numpy.array, slab: npac_detector.material.MaterialSlab) float

Computes the scattering angle of the particle as a function of the material slab hitted

Parameters:
  • free_length – Distance travelled by the particle before entering the slab, in mm

  • x_direction – x composant of the particle’s unitary momentum vector

  • y_direction – y composant of the particle’s unitary momentum vector

  • slab – Material with a definite thickness and material.

Returns:

scattering angle in rad