10#include "klm/dataobjects/bklm/BKLMTrack.h"
22 for (
int ii = 0 ; ii < 4; ii ++) {
25 for (
int jj = 0 ; jj < 4; jj ++) {
35 m_Valid(track.m_Valid),
38 m_NumHit(track.m_NumHit)
41 for (
int ii = 0 ; ii < 4; ii ++) {
44 for (
int jj = 0 ; jj < 4; jj ++) {
59 for (
int ii = 0 ; ii < 4; ii ++) {
62 for (
int jj = 0 ; jj < 4; jj ++) {
73 TVectorD trackParam(4);
86 TVectorD trackParam(4);
98 TMatrixDSym trkParamErr(4);
99 for (
int ii = 0 ; ii < 4; ii ++) {
100 for (
int jj = 0 ; jj < 4; jj ++) {
110 TMatrixDSym trkParamErr(4);
111 for (
int ii = 0 ; ii < 4; ii ++) {
112 for (
int jj = 0 ; jj < 4; jj ++) {
132 for (
int ii = 0 ; ii < 4; ii ++) {
133 for (
int jj = 0 ; jj < 4; jj ++) {
152 for (
int ii = 0 ; ii < 4; ii ++) {
153 for (
int jj = 0 ; jj < 4; jj ++) {
163 ROOT::Math::XYZVector intercept;
177 TMatrixD errors(2, 2, 0);
Store one BKLM Track as a ROOT object.
float m_Chi2
fitted chi2 of the track
BKLMTrack & operator=(const BKLMTrack &)
Assignment operator.
int m_NumHit
the number of 2d hits on the track
void setLocalTrackParam(const CLHEP::HepVector &trkPar)
Set track parameters in the sector local system, where the first layer of the sector is used as refer...
void setTrackParamErr(const CLHEP::HepSymMatrix &trkParErr)
Set invariance matrix of track parameters in the global system.
TMatrixDSym getTrackParamErr()
Get invariance matrix of track parameters in the global system.
float m_TrackParam[4]
track parameters in the global system. y = p0 + p1 * x; z = p2 + p3 * x
TMatrixD getLocalInterceptVariance(double x)
Get the variance matrix of (y,z) coordinates of the track intercept in plane of constant x in sector ...
TVectorD getTrackParam()
Get track parameters in the global system. y = p0 + p1 * x; z = p2 + p3 * x.
ROOT::Math::XYZVector getLocalIntercept(double x)
Get the position in local coordinate system of track intercept in plane of constant x.
BKLMTrack()
Empty constructor for ROOT IO (needed to make the class storable)
bool m_Valid
Is fit valid.
void setLocalTrackParamErr(const CLHEP::HepSymMatrix &trkParErr)
Set invariance matrix of track parameters in the sector local system, where the first layer of the se...
float m_TrackParamErr[4][4]
track parameters variance in the global system.
float m_LocalTrackParamErr[4][4]
track parameters variance in the sector local system.
float m_LocalTrackParam[4]
track parameters in the sector local system.
void setTrackParam(const CLHEP::HepVector &trkPar)
Set track parameters in the global system. y = p0 + p1 * x; z = p2 + p3 * x.
TMatrixDSym getLocalTrackParamErr()
Get invariance matrix of track parameters in the sector local system, where the first layer of the se...
TVectorD getLocalTrackParam()
Get track parameters in the sector locan system, where the first layer of the sector is used as refer...
Defines interface for accessing relations of objects in StoreArray.
Abstract base class for different kinds of events.