public class FittedGblTrajectory extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FittedGblTrajectory.GBLPARIDX |
static class |
FittedGblTrajectory.GBLPOINT |
Modifier and Type | Field and Description |
---|---|
private double |
_chi2 |
private double |
_lost |
private int |
_ndf |
private org.lcsim.event.Track |
_seed |
private GblTrajectory |
_traj |
static Logger |
LOGGER |
private Map<Integer,Double> |
pathLengthMap |
private Map<Integer,Integer> |
sensorMap |
Constructor and Description |
---|
FittedGblTrajectory(GblTrajectory traj,
double chi2,
int ndf,
double lost)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
get_chi2() |
double |
get_lost() |
int |
get_ndf() |
org.lcsim.event.Track |
get_seed() |
GblTrajectory |
get_traj() |
org.apache.commons.math3.util.Pair<double[],SymmetricMatrix> |
getCorrectedPerigeeParameters(org.lcsim.fit.helicaltrack.HelicalTrackFit htf,
FittedGblTrajectory.GBLPOINT point,
double bfield)
Get the corrected perigee parameters and covariance matrix for a point on the
GblTrajectory . |
org.apache.commons.math3.util.Pair<double[],SymmetricMatrix> |
getCorrectedPerigeeParameters(org.lcsim.fit.helicaltrack.HelicalTrackFit htf,
int iLabel,
double bfield)
Get the corrected perigee parameters and covariance matrix for a point on the
GblTrajectory . |
GBLKinkData |
getKinks()
Extract kinks across the trajectory.
|
double |
getPathLength(FittedGblTrajectory.GBLPOINT point)
Find the path length to this point.
|
double |
getPathLength(int iLabel)
Find the path length to this point.
|
Map<Integer,Double> |
getPathLengthMap() |
int |
getPointIndex(FittedGblTrajectory.GBLPOINT point)
Find the index (or label) of the GBL point on the trajectory from the
FittedGblTrajectory.GBLPOINT . |
void |
getResults(FittedGblTrajectory.GBLPOINT point,
Vector locPar,
SymMatrix locCov)
Find the corrections and covariance matrix for a particular
FittedGblTrajectory.GBLPOINT |
void |
getResults(int iLabel,
Vector locPar,
SymMatrix locCov)
Find the corrections and covariance matrix for a particular point on the GBL trajectory
|
int |
getSensor(int iLabel) |
Map<Integer,Integer> |
getSensorMap() |
void |
set_seed(org.lcsim.event.Track seed) |
void |
setPathLengthMap(Map<Integer,Double> pathLengthMap) |
void |
setSensorMap(Map<Integer,Integer> sensorMap) |
public static Logger LOGGER
private GblTrajectory _traj
private double _chi2
private double _lost
private int _ndf
private org.lcsim.event.Track _seed
public FittedGblTrajectory(GblTrajectory traj, double chi2, int ndf, double lost)
traj
- chi2
- ndf
- lost
- public int getPointIndex(FittedGblTrajectory.GBLPOINT point)
FittedGblTrajectory.GBLPOINT
.point
- public void getResults(FittedGblTrajectory.GBLPOINT point, Vector locPar, SymMatrix locCov)
FittedGblTrajectory.GBLPOINT
point
- locPar
- locCov
- public void getResults(int iLabel, Vector locPar, SymMatrix locCov)
iLabel
- locPar
- locCov
- public double getPathLength(FittedGblTrajectory.GBLPOINT point)
point
- - FittedGblTrajectory.GBLPOINT
pointpublic double getPathLength(int iLabel)
iLabel
- - GBL point indexpublic int getSensor(int iLabel)
public void set_seed(org.lcsim.event.Track seed)
public org.lcsim.event.Track get_seed()
public GblTrajectory get_traj()
public double get_chi2()
public double get_lost()
public int get_ndf()
public org.apache.commons.math3.util.Pair<double[],SymmetricMatrix> getCorrectedPerigeeParameters(org.lcsim.fit.helicaltrack.HelicalTrackFit htf, FittedGblTrajectory.GBLPOINT point, double bfield)
GblTrajectory
. FIXME the
covariance matrix is not properly propagated along the trajectory right now!htf
- - helix to be correctedpoint
- - FittedGblTrajectory.GBLPOINT
on the trajectorybfield
- - magnitude of B-field.public org.apache.commons.math3.util.Pair<double[],SymmetricMatrix> getCorrectedPerigeeParameters(org.lcsim.fit.helicaltrack.HelicalTrackFit htf, int iLabel, double bfield)
GblTrajectory
. FIXME the
covariance matrix is not properly propagated along the trajectory right now!htf
- - helix to be correctediLabel
- - label of the point on the GblTrajectory
bfield
- - magnitude of B-field.public GBLKinkData getKinks()
GBLKinkData
object.Copyright © 2019. All rights reserved.