13#include "GaudiKernel/Bootstrap.h"
14#include "GaudiKernel/IService.h"
15#include "GaudiKernel/ISvcLocator.h"
18 StatusCode sc= Gaudi::svcLocator()->service(
"MdcCalibFunSvc",mdcCalFunSvc);
20 std::cout <<
" MdcCal::Could not open Cal Service"<<std::endl;
37 sigma1 = mdcCalFunSvc->
getSigma1(layerId, posFlag, driftD,
38 enterAngle, theta, z, edep);
39 sigma2 = mdcCalFunSvc->
getSigma2(layerId, posFlag, driftD,
40 enterAngle, theta, z, edep);
41 f = mdcCalFunSvc->
getF(layerId, posFlag, driftD,
42 enterAngle, theta, z, edep);
111 driftT= mdcCalFunSvc->
distToDriftTime(driftDNew, layerId, cellId, posFlag, enterAngle);
131 return mdcCalFunSvc->
getT0(layerId, cellId);
double D2T(double driftDNew)
void SetHitPointer(BesMdcHit *hit)
void GetSigma(double &sigma1, double &sigma2, double &f)
virtual double getF(int layid, int lr, double dist, double entrance=0.0, double tanlam=0.0, double z=0.0, double Q=1000.0) const =0
virtual double getSigma2(int layid, int lr, double dist, double entrance=0.0, double tanlam=0.0, double z=0.0, double Q=1000.0) const =0
virtual double distToDriftTime(double dist, int layid, int cellid, int lr, double entrance=0.0) const =0
virtual double getSigma1(int layid, int lr, double dist, double entrance=0.0, double tanlam=0.0, double z=0.0, double Q=1000.0) const =0
virtual double getT0(int layid, int cellid) const =0
virtual double getTimeWalk(int layid, double Q) const =0
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")