public class BilliorVertexer extends Object
Modifier and Type | Field and Description |
---|---|
private double[] |
_beamPosition |
private double[] |
_beamSize |
private boolean |
_beamspotConstraint |
private double |
_bField |
private double |
_chiSq |
private String |
_constraintType |
private Matrix |
_covVtx |
private boolean |
_debug |
private int |
_ntracks |
private List<Matrix> |
_pFit |
private double[] |
_referencePosition |
private boolean |
_targetConstraint |
private double[] |
_v0 |
private Matrix |
_vertexPosition |
private Matrix[][] |
covMomList |
private List<Matrix> |
covVtxMomList |
private boolean |
storeCovTrkMomList |
Constructor and Description |
---|
BilliorVertexer(double bField) |
BilliorVertexer(double bField,
boolean bsConst,
boolean constToBS) |
Modifier and Type | Method and Description |
---|---|
private void |
applyBSconstraint(boolean pointback) |
private void |
debugMomentumUncertainty(int index) |
void |
doBeamSpotConstraint(boolean bsconst) |
void |
doTargetConstraint(boolean tconst) |
BilliorVertex |
fitVertex(List<BilliorTrack> tracks) |
private void |
follow1985Paper(List<BilliorTrack> tracks) |
double |
getChiSq() |
double[] |
getFittedMomentum(int index) |
Matrix |
getFittedMomentumCovariance(int index) |
BasicMatrix |
getFittedTrackCovariance(int index) |
double[] |
getFittedTrackParameters(int index) |
Matrix |
getFittedTrk1Trk2MomCovariance(int ind1,
int ind2) |
Matrix |
getFittedVertexCovariance() |
double |
getInvMass() |
double |
getInvMassUncertainty() |
private Matrix |
getJacobianThetaPhiRhoToPxPyPz(double theta,
double phiv,
double rho) |
Hep3Vector |
getV0Momentum() |
Hep3Vector |
getV0MomentumError() |
double[] |
getV0Projection() |
double[] |
getV0ProjectionError() |
Hep3Vector |
getVertexPositionErrors() |
private BasicMatrix |
makeHk(double Vx,
double pxtot,
double pytot,
double pztot,
boolean bscon) |
private BasicMatrix |
makeHkFixed(double Vx,
double pxtot,
double pytot,
double pztot,
boolean bscon) |
private BasicMatrix |
makeRk(double Vx,
double Vy,
double Vz,
double pxtot,
double pytot,
double pztot,
boolean bscon) |
void |
setBeamPosition(double[] bp) |
void |
setBeamSize(double[] bs) |
void |
setDebug(boolean debug) |
void |
setReferencePosition(double[] rp) |
void |
setStoreCovTrkMomList(boolean value) |
String |
toString() |
private boolean storeCovTrkMomList
private boolean _debug
private final double _bField
private boolean _beamspotConstraint
private boolean _targetConstraint
private String _constraintType
private final double[] _beamSize
private final double[] _beamPosition
private final double[] _referencePosition
private int _ntracks
private double[] _v0
private Matrix _vertexPosition
private Matrix _covVtx
private Matrix[][] covMomList
private double _chiSq
public BilliorVertexer(double bField)
public BilliorVertexer(double bField, boolean bsConst, boolean constToBS)
public void setStoreCovTrkMomList(boolean value)
public void setDebug(boolean debug)
public BilliorVertex fitVertex(List<BilliorTrack> tracks)
private void applyBSconstraint(boolean pointback)
private BasicMatrix makeHk(double Vx, double pxtot, double pytot, double pztot, boolean bscon)
private BasicMatrix makeHkFixed(double Vx, double pxtot, double pytot, double pztot, boolean bscon)
private BasicMatrix makeRk(double Vx, double Vy, double Vz, double pxtot, double pytot, double pztot, boolean bscon)
public void setBeamSize(double[] bs)
public void setBeamPosition(double[] bp)
public void setReferencePosition(double[] rp)
public void doBeamSpotConstraint(boolean bsconst)
public void doTargetConstraint(boolean tconst)
public double getChiSq()
public double[] getFittedMomentum(int index)
private void debugMomentumUncertainty(int index)
public double[] getFittedTrackParameters(int index)
public BasicMatrix getFittedTrackCovariance(int index)
public Matrix getFittedMomentumCovariance(int index)
public Matrix getFittedTrk1Trk2MomCovariance(int ind1, int ind2)
public Matrix getFittedVertexCovariance()
public Hep3Vector getVertexPositionErrors()
public double getInvMass()
public double getInvMassUncertainty()
public Hep3Vector getV0Momentum()
public Hep3Vector getV0MomentumError()
public double[] getV0Projection()
public double[] getV0ProjectionError()
private void follow1985Paper(List<BilliorTrack> tracks)
private Matrix getJacobianThetaPhiRhoToPxPyPz(double theta, double phiv, double rho)
Copyright © 2019. All rights reserved.