1 #ifndef StiTpcHitErrorMDF4_h
2 #define StiTpcHitErrorMDF4_h
4 #include "Sti/StiNodePars.h"
5 #include "St_MDFCorrection4C.h"
6 #include "StDetectorDbMaker/St_tpcDriftVelocityC.h"
7 #include "StDetectorDbMaker/St_tpcPadConfigC.h"
11 virtual void calculateError(Double_t _z, Double_t _eta, Double_t _tanl,
12 Double_t &ecross, Double_t &edip,
13 Double_t fudgeFactor = 1, Double_t AdcL = 5.5, Double_t *dZ = 0, Double_t *dX = 0);
14 virtual void calculateError(
const StiNodePars *pars,
15 Double_t &ecross, Double_t &edip,
16 Double_t fudgeFactor = 1, Double_t AdcL = 5.5, Double_t *dZ = 0, Double_t *dX = 0) {
17 calculateError(pars->z(), pars->eta(), pars->tanl(), ecross, edip, fudgeFactor, AdcL, dZ, dX);
23 void convert(Double_t _z, Double_t _eta, Double_t _tanl, Double_t AdcL);
25 virtual Double_t padPitch() = 0;
26 Double_t timePitch() {
return St_tpcDriftVelocityC::instance()->timeBucketPitch();}
39 Double_t padPitch() {
return St_tpcPadConfigC::instance()->innerSectorPadPitch();}
51 Double_t padPitch() {
return St_tpcPadConfigC::instance()->innerSectorPadPitch();}