1 package org.lcsim.recon.tracking.trfeloss; 2 3 /** 4 * Abstract class for evaluating the energy loss. 5 * 6 *@author Norman A. Graf 7 *@version 1.0 8 * 9 */ 10 11 public abstract class DeDx 12 { 13 /** 14 *Return energy loss (dE/dx) for a given energy. 15 * 16 * @param energy The energy of the particle. 17 * @return The average energy lost by a particle of this energy. 18 */ 19 public abstract double dEdX(double energy); 20 21 /** 22 *Return the uncertainty in the energy lost sigma(E). 23 * 24 * @param energy The energy of the particle. 25 * @param x The amount of material. 26 * @return The uncertainty in the energy lost sigma(E). 27 */ 28 public abstract double sigmaEnergy(double energy, double x); 29 30 /** 31 *Return new energy for a given path distance. 32 * Energy increases if x < 0. 33 * 34 * @param energy The energy of the particle. 35 * @param x The amount of material. 36 * @return New energy for a given path distance. 37 */ 38 public abstract double loseEnergy(double energy, double x); 39 40 }