public class LCIOParameters extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LCIOParameters.ParameterName |
Modifier and Type | Field and Description |
---|---|
(package private) double |
pt |
(package private) double[] |
values |
Constructor and Description |
---|
LCIOParameters() |
LCIOParameters(double[] vals,
double p_t) |
LCIOParameters(LCIOParameters parameters) |
Modifier and Type | Method and Description |
---|---|
double |
get(LCIOParameters.ParameterName name) |
double |
getPt() |
double[] |
getValues() |
static Hep3Vector |
Parameters2Momentum(LCIOParameters parameters)
Computes the momentum vector from a given parameter set
|
static SpacePoint |
Parameters2Position(LCIOParameters parameters,
SpacePoint refPoint)
Computes the point of closest approach on the track to the given
reference point.
|
void |
set(LCIOParameters.ParameterName name,
double val) |
(package private) void |
setPt(double p_t) |
static LCIOParameters |
SpaceMomentum2Parameters(SpacePoint pos,
Hep3Vector p,
SpacePoint ref,
int charge,
double field_z)
Calculates the parameters of the Track under the assumption that the
space-momentum representation is given at the POCA to the reference
point.
|
String |
toString() |
public LCIOParameters(LCIOParameters parameters)
LCIOParameters()
public LCIOParameters(double[] vals, double p_t)
public static Hep3Vector Parameters2Momentum(LCIOParameters parameters)
parameters
- The Parameter objectpublic static SpacePoint Parameters2Position(LCIOParameters parameters, SpacePoint refPoint)
parameters
- The Parameter objectrefPoint
- The reference pointpublic static LCIOParameters SpaceMomentum2Parameters(SpacePoint pos, Hep3Vector p, SpacePoint ref, int charge, double field_z)
pos
- The point of closest approach on the track to the
reference pointmom
- The momentum vector atref
- The reference pointcharge
- The charge of the particleBz
- The z component of the magnetic field. Assuming a
homogeneous field parallel to zpos
public double get(LCIOParameters.ParameterName name)
public double getPt()
public double[] getValues()
public void set(LCIOParameters.ParameterName name, double val)
void setPt(double p_t)
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.