|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TBREC_TBPLANETRACKINGALGO_H
6 #define TBREC_TBPLANETRACKINGALGO_H
51 bool fitHits(
const std::vector<double> &
u,
const std::vector<double> &
w,
52 const std::vector<double> & eu,
53 double &a1,
double &a2);
58 double getResidual(
const double &
u,
const double &
w,
const double &a1,
64 double getChi2(
const std::vector<double> &v_u,
65 const std::vector<double> &v_w,
66 const std::vector<double> &v_eu,
68 const double &a1,
const double &a2);
std::vector< float > m_bpc_errposZY
std::vector< float > m_bpc_errposZX
std::vector< float > m_bpc_posZY
std::vector< float > m_bpc_posX
virtual StatusCode execute() override
double getChi2(const std::vector< double > &v_u, const std::vector< double > &v_w, const std::vector< double > &v_eu, const double &a1, const double &a2)
Calculates the chi2 += ((u_i - a1 - a2*w_i)/eu)^2.
TBHitPlaneCont m_hitPlaneCont_v
std::vector< float > m_bpc_posY
double getResidual(const double &u, const double &w, const double &a1, const double &a2)
Calculates the residual-> r = (u_i - a1 - a2*w_i)
@ u
Enums for curvilinear frames.
StatusCode buildHits()
Build HitPlaneCont from BPC.
TBPlaneTrackingAlgo(const std::string &name, ISvcLocator *pSvcLocator)
virtual ~TBPlaneTrackingAlgo()
::StatusCode StatusCode
StatusCode definition for legacy code.
double chi2(TH1 *h0, TH1 *h1)
bool fitPlane(const TBHitPlaneCont *hitPlaneCont, double &a1, double &a2, double &chi2, std::vector< double > &residual)
Fit data to the function u = a1 + a2*w.
std::vector< std::string > m_bpc_names
std::vector< float > m_bpc_errposX
virtual StatusCode initialize() override
virtual StatusCode finalize() override
std::vector< float > m_bpc_errposY
TBHitPlaneCont m_hitPlaneCont_u
std::string m_calib_filename
std::vector< float > m_bpc_errmeasY
std::vector< float > m_bpc_errmeasX
bool fitHits(const std::vector< double > &u, const std::vector< double > &w, const std::vector< double > &eu, double &a1, double &a2)
Fit data to the function u = a1 + a2*w.
std::vector< float > m_bpc_posZX