hep.lcd.recon.tracking.fitters.klm
Class AbsKLMTrackFitter
java.lang.Object
|
+--hep.lcd.recon.tracking.fitters.klm.AbsKLMTrackFitter
- Direct Known Subclasses:
- KLMFitTrack
- public abstract class AbsKLMTrackFitter
- extends Object
Low level interface to the MCFast KLM track fitter.
This class should really be wrapped in some more code to make the interface
a little easier to use (more "Object Oriented").
- Source Code:
- AbsKLMTrackFitter.java
Method Summary |
static void |
addNode(int type,
double[] x,
double[] normal,
int sort_key,
double radl,
double dedx,
boolean hit_ok,
int dev_type,
double[] pos,
double[] dircos,
double meas_exact,
double meas,
double sig)
Add a node to the track fit |
static KLMTrackFit |
fitTrack(double mass,
double field,
KLMTrackParam c_seed)
Do the fit |
static void |
newTrackFit(int eventNumber,
int TrackNumber,
double[] v)
Initialize for a new track fit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRACE_RPLANE
public static final int TRACE_RPLANE
TRACE_ZPLANE
public static final int TRACE_ZPLANE
TRACE_CONE
public static final int TRACE_CONE
TRACE_PROD
public static final int TRACE_PROD
TRACE_DECAY
public static final int TRACE_DECAY
TRACE_PAIR
public static final int TRACE_PAIR
TRACE_ABSORB
public static final int TRACE_ABSORB
TRACE_CALOR
public static final int TRACE_CALOR
TRACE_SHOWER
public static final int TRACE_SHOWER
TRACE_DUMMY
public static final int TRACE_DUMMY
TRACE_SCAT
public static final int TRACE_SCAT
DEV_SILBARREL
public static final int DEV_SILBARREL
DEV_SILDISK
public static final int DEV_SILDISK
DEV_DRIFTBARREL
public static final int DEV_DRIFTBARREL
DEV_DRIFTPLANE
public static final int DEV_DRIFTPLANE
DEV_PIXELBARREL
public static final int DEV_PIXELBARREL
DEV_PIXELPLANE
public static final int DEV_PIXELPLANE
DEV_EMCAL
public static final int DEV_EMCAL
DEV_HADCAL
public static final int DEV_HADCAL
DEV_MUON
public static final int DEV_MUON
AbsKLMTrackFitter
public AbsKLMTrackFitter()
newTrackFit
public static void newTrackFit(int eventNumber,
int TrackNumber,
double[] v)
- Initialize for a new track fit
- Parameters:
eventNumber
- Used for diagnostic purposestrackNumber
- Used for diagnostic purposesv
- x,y,z of report point
addNode
public static void addNode(int type,
double[] x,
double[] normal,
int sort_key,
double radl,
double dedx,
boolean hit_ok,
int dev_type,
double[] pos,
double[] dircos,
double meas_exact,
double meas,
double sig)
- Add a node to the track fit
- Parameters:
type
- A trace typex
- The point at which the track intersects the measurement device.normal
- The normal to the detector surface/scattering surface at the point x.sort_key
- A key with which to sort the trace points. The point at which the track started and other points get progressively larger along the outward trajectory.radl
- The thickness of the scattering material in units of radiation lengthdedx
- The amount of energy lost in the scattering material by a minimum ionizing particle at normal incidence. ( GeV )hit_ok
- Is there a hit to add or not?dev_type
- Device typepos
- For most detectors this is the origin of the local coordinate system. For drift chambers it is a point on the wire.dircos
- The direction cosines of the measurement.meas_exact
- The "true" value of the measured quantity.meas
- The smeared value of the measured quantitysig
- The resolution to be used in the fit
fitTrack
public static KLMTrackFit fitTrack(double mass,
double field,
KLMTrackParam c_seed)
throws KLMFitError
- Do the fit
- Parameters:
mass
- The mass to use for the particlefield
- The B field (in Tesla)c_seed
- The initial track parameters
The LCD Group