1 #ifndef StiHitErrorCalculator_h
2 #define StiHitErrorCalculator_h
5 #include "tables/St_HitError_Table.h"
6 #include "Sti/StiNodePars.h"
10 HitError_st *Struct(Int_t i = 0) {
return ((St_HitError*) Table())->GetTable()+i;}
11 UInt_t getNumRows() {
return GetNRows();}
12 Double_t* coeff(Int_t i = 0) {
return Struct(i)->coeff;}
13 virtual void calculateError(Double_t _z, Double_t _eta, Double_t _tanl, Double_t &ecross, Double_t &edip, Double_t fudgeFactor = 1)
const;
15 calculateError(pars->z(), pars->eta(), pars->tanl(), ecross, edip, fudgeFactor);
virtual void calculateError(Double_t _z, Double_t _eta, Double_t _tanl, Double_t &ecross, Double_t &edip, Double_t fudgeFactor=1) const
coeff[6] = 0:intrinsicY 1: driftY 2: crossY 3:intrinsicZ 4: driftZ 5: crossZ