23 const long int Charge,
24 std::vector<double>& Impact,
25 std::vector<double>& ImpactError)
const
34 const long int Charge,
35 std::vector<double>& Impact,
36 std::vector<double>& ImpactError,
39 assert(
dynamic_cast<State*
> (&istate)!=
nullptr);
46 std::vector<const Trk::Perigee*> InpPerigeeList;
47 InpPerigeeList.push_back(InpPerigee);
54 if(
sc.isFailure() || ntrk != 1) {
55 Impact.assign(5,1.e10);
56 ImpactError.assign(3,1.e20);
59 long int vkCharge = state.
m_ich[0];
60 if(Charge==0) vkCharge=0;
68 double VrtCov[6]={0.,0.,0.,0.,0.,0.};
71 ImpactError.resize(3);
74 &VrtInp[0], &VrtCov[0],
75 Impact.data(), ImpactError.data(),
83 std::vector<double>& Impact, std::vector<double>& ImpactError)
const
92 std::vector<double>& Impact, std::vector<double>& ImpactError,
95 assert(
dynamic_cast<State*
> (&istate)!=
nullptr);
102 std::vector<const xAOD::TrackParticle*> InpTrkList(1,InpTrk);
110 if(
sc.isFailure() || ntrk != 1 ) {
111 Impact.assign(5,1.e10);
112 ImpactError.assign(3,1.e20);
117 if (std::abs(
Vertex.z()) > sizeZ ||
Vertex.perp() > sizeR) {
118 Impact.assign(5, 1.e10);
119 ImpactError.assign(3, 1.e20);
122 long int vkCharge=state.
m_ich[0];
123 if(Charge==0)vkCharge=0;
128 double VrtCov[6]={0.,0.,0.,0.,0.,0.};
131 Impact.resize(5); ImpactError.resize(3);
132 Trk::cfimp( 0, vkCharge, 0, &state.
m_apar[0][0], &state.
m_awgt[0][0], &VrtInp[0], &VrtCov[0], Impact.data(), ImpactError.data(), &SIGNIF, &state.
m_vkalFitControl);
long int m_ich[NTrMaxVFit]
double m_apar[NTrMaxVFit][5]
bool m_allowUltraDisplaced
double m_awgt[NTrMaxVFit][15]
VKalVrtControl m_vkalFitControl
Gaudi::Property< double > m_MSsizeZ
StatusCode CvtPerigee(const std::vector< const Perigee * > &list, int &ntrk, State &state) const
Gaudi::Property< double > m_IDsizeZ
void initState(const EventContext &ctx, State &state) const
virtual double VKalGetImpact(const xAOD::TrackParticle *, const Amg::Vector3D &Vertex, const long int Charge, dvect &Impact, dvect &ImpactError, IVKalState &istate) const override final
StatusCode CvtTrackParticle(std::span< const xAOD::TrackParticle *const > list, int &ntrk, State &state) const
Gaudi::Property< double > m_IDsizeR
Gaudi::Property< double > m_MSsizeR
This class is a simplest representation of a vertex candidate.
Eigen::Matrix< double, 3, 1 > Vector3D
Ensure that the ATLAS eigen extensions are properly loaded.
void cfimp(long int TrkID, long int ich, int IFL, double *par, const double *err, double *vrt, double *vcov, double *rimp, double *rcov, double *sign, VKalVrtControlBase *FitCONTROL)
ParametersT< TrackParametersDim, Charged, PerigeeSurface > Perigee
TrackParticle_v1 TrackParticle
Reference the current persistent version: