public class HelixParamCalculator extends Object
Modifier and Type | Field and Description |
---|---|
private double |
arclength |
private double |
mcdca |
private double |
mcphi0 |
private double |
p |
private double |
pt |
private double |
R |
private double |
tanL |
private double |
theta |
private double |
x0 |
private double |
y0 |
private double |
z0 |
Constructor and Description |
---|
HelixParamCalculator(Hep3Vector momentum,
Hep3Vector origin,
int charge,
double BField) |
HelixParamCalculator(MCParticle mcp,
double BField)
Constructor that is fed a magnetic field and MCPARTICLE
|
HelixParamCalculator(MCParticle mcpc,
EventHeader eventc)
Calculates the B-Field from event
|
Modifier and Type | Method and Description |
---|---|
double |
getArcLength()
Return the arclength of the helix from the ORIGIN TO THE DCA
|
double |
getDCA()
Return the distance of closest approach
|
double |
getMCMomentum()
Return the particle's momentum
|
double |
getMCOmega()
Return the curvature (omega)
|
double |
getMCTransverseMomentum()
Return the transvers momentum of the MC particle, Pt
|
double |
getPhi0()
Return the azimuthal angle of the momentum when at the position of closest approach
|
double |
getRadius()
Return the radius of the Helix track
|
double |
getSlopeSZPlane()
Return the slope of the helix in the SZ plane, tan(lambda)
|
double |
getTheta()
Return the theta angle for the projection of the helix in the SZ plane
from the z axis
|
double |
getX0()
Return the x position of the particle when at the dca
|
double |
getY0()
Return the y position of the particle at the dca
|
double |
getZ0()
Return the z position at the distance of closest approach
|
private double R
private double p
private double pt
private double theta
private double arclength
private double mcdca
private double mcphi0
private double tanL
private double z0
private double x0
private double y0
public HelixParamCalculator(MCParticle mcp, double BField)
mcpc
- cBField
- public HelixParamCalculator(Hep3Vector momentum, Hep3Vector origin, int charge, double BField)
public HelixParamCalculator(MCParticle mcpc, EventHeader eventc)
mcpc
- eventc
- public double getRadius()
public double getTheta()
public double getMCMomentum()
public double getMCOmega()
public double getMCTransverseMomentum()
public double getSlopeSZPlane()
public double getDCA()
public double getPhi0()
public double getZ0()
public double getArcLength()
public double getX0()
public double getY0()
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.