![]() |
Project
|
#include <DCAFitterN.h>
Public Types | |
enum | BadCovPolicy : uint8_t { Discard = 0 , Override = 1 , OverrideAndFlag = 2 } |
enum | FitStatus : uint8_t { None , Converged , MaxIter , NoCrossing , RejRadius , RejTrackX , RejTrackRoughZ , RejChi2Max , FailProp , FailInvCov , FailInvWeight , FailInv2ndDeriv , FailCorrTracks , FailCloserAlt } |
Public Member Functions | |
DCAFitterN ()=default | |
DCAFitterN (float bz, bool useAbsDCA, bool prop2DCA) | |
GPUd () const Vec3D &getPCACandidate(int cand=0) const | |
< return PCA candidate, by default best on is provided (no check for the index validity) | |
GPUd () const auto getPCACandidatePos(int cand=0) const | |
return position of quality-ordered candidate in the internal structures | |
int | getCandidatePosition (int cand=0) const |
return Chi2 at PCA candidate (no check for its validity) | |
float | getChi2AtPCACandidate (int cand=0) const |
GPUd () bool propagateTracksToVertex(int cand=0) | |
check if propagation of tracks to candidate vertex was done | |
GPUd () bool isPropagateTracksToVertexDone(int cand=0) const | |
check if propagation of tracks to candidate vertex failed | |
bool | isPropagationFailure (int cand=0) const |
Track & | getTrack (int i, int cand=0) |
const Track & | getTrack (int i, int cand=0) const |
create parent track param with errors for decay vertex | |
GPUd() o2 GPUd() o2 GPUd() o2 | GPUd () bool recalculatePCAWithErrors(int cand=0) |
< create parent track param w/o errors for decay vertex | |
GPUd () MatSym3D calcPCACovMatrix(int cand=0) const | |
std::array< float, 6 > | calcPCACovMatrixFlat (int cand=0) const |
const Track * | getOrigTrackPtr (int i) const |
GPUdi () FitStatus getFitStatus(int cand=0) const noexcept | |
return number of iterations during minimization (no check for its validity) | |
GPUdi () int getNIterations(int cand=0) const | |
GPUdi () void setPropagateToPCA(bool v | |
GPUd () void print() const | |
GPUdi () int getFitterID() const | |
GPUdi () void setFitterID(int i) | |
GPUdi () size_t getCallID() const | |
Static Public Member Functions | |
static constexpr int | getNProngs () |
Protected Member Functions | |
GPUd () bool calcPCACoefs() | |
GPUd () bool calcInverseWeight() | |
GPUd () void calcResidDerivatives() | |
GPUd () void calcResidDerivativesNoErr() | |
GPUd () void calcRMatrices() | |
GPUd () void calcChi2Derivatives() | |
GPUd () void calcChi2DerivativesNoErr() | |
GPUd () void calcPCA() | |
GPUd () void calcPCANoErr() | |
GPUd () void calcTrackResiduals() | |
GPUd () void calcTrackDerivatives() | |
GPUd () double calcChi2() const | |
GPUd () double calcChi2NoErr() const | |
GPUd () bool correctTracks(const VecND &corrX) | |
GPUd () bool minimizeChi2() | |
GPUd () bool minimizeChi2NoErr() | |
GPUd () bool roughDZCut() const | |
GPUd () bool closerToAlternative() const | |
GPUd() bool propagateToX(o2 GPUd() bool propagateParamToX(o2 | GPUd () static double getAbsMax(const VecND &v) |
track param positions at V0 candidate (no check for the candidate validity) | |
GPUdi () const Vec3D &getTrackPos(int i | |
int class Tr | GPUd () void assign(int i |
assign (i+1, args...) | |
GPUdi () void clear() | |
GPUdi () static void setTrackPos(Vec3D &pnt | |
GPUdi () void clearLogThrottlers() | |
void | setBadCovPolicy (BadCovPolicy v) |
BadCovPolicy | getBadCovPolicy () const |
Protected Attributes | |
int | cand |
track X-param at V0 candidate (no check for the candidate validity) | |
int class Tr const T & | t |
int class Tr const T const Tr & | args |
mOrigTrPtr [i] = &t | |
const Track & | tr |
pnt [1] = tr.getY() | |
Definition at line 95 of file DCAFitterN.h.
enum o2::vertexing::DCAFitterN::BadCovPolicy : uint8_t |
Enumerator | |
---|---|
Discard | |
Override | |
OverrideAndFlag |
Definition at line 120 of file DCAFitterN.h.
enum o2::vertexing::DCAFitterN::FitStatus : uint8_t |
Enumerator | |
---|---|
None | |
Converged | |
MaxIter | |
NoCrossing | |
RejRadius | |
RejTrackX | |
RejTrackRoughZ | |
RejChi2Max | |
FailProp | |
FailInvCov | |
FailInvWeight | |
FailInv2ndDeriv | |
FailCorrTracks | |
FailCloserAlt |
Definition at line 126 of file DCAFitterN.h.
|
default |
|
inline |
Definition at line 150 of file DCAFitterN.h.
|
protected |
|
inline |
Definition at line 216 of file DCAFitterN.h.
|
inlineprotected |
Definition at line 363 of file DCAFitterN.h.
|
inline |
return Chi2 at PCA candidate (no check for its validity)
Definition at line 165 of file DCAFitterN.h.
|
inline |
prepare copies of tracks at the V0 candidate (no check for the candidate validity) must be called before getTrack(i,cand) query
Definition at line 168 of file DCAFitterN.h.
|
inlinestaticconstexpr |
Definition at line 147 of file DCAFitterN.h.
|
inline |
Definition at line 222 of file DCAFitterN.h.
|
inline |
Definition at line 182 of file DCAFitterN.h.
|
inline |
create parent track param with errors for decay vertex
Definition at line 192 of file DCAFitterN.h.
|
protected |
|
protected |
|
protected |
|
protected |
|
inlinepure virtual |
check if propagation of tracks to candidate vertex failed
Definition at line 175 of file DCAFitterN.h.
|
protected |
|
protected |
|
pure virtual |
check if propagation of tracks to candidate vertex was done
|
pure virtual |
< create parent track param w/o errors for decay vertex
< calculate on the fly track param (no cov mat) at candidate, check isValid to make sure propagation was successful < recalculate PCA as a cov-matrix weighted mean, even if absDCA method was used
|
protected |
|
inlinepure virtual |
return position of quality-ordered candidate in the internal structures
Definition at line 158 of file DCAFitterN.h.
|
inlinepure virtual |
< return PCA candidate, by default best on is provided (no check for the index validity)
Definition at line 157 of file DCAFitterN.h.
|
protected |
|
protected |
|
pure virtual |
|
protected |
track param positions at V0 candidate (no check for the candidate validity)
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
o2::vertexing::DCAFitterN< N, Args >::GPUd | ( | ) | const |
|
protected |
|
inlinepure virtualnoexcept |
return number of iterations during minimization (no check for its validity)
Definition at line 224 of file DCAFitterN.h.
|
inline |
Definition at line 271 of file DCAFitterN.h.
|
inlinepure virtual |
Definition at line 227 of file DCAFitterN.h.
|
inline |
Definition at line 273 of file DCAFitterN.h.
|
protected |
|
inlineprotected |
Definition at line 336 of file DCAFitterN.h.
|
inlineprotected |
Definition at line 355 of file DCAFitterN.h.
|
inline |
Definition at line 272 of file DCAFitterN.h.
o2::vertexing::DCAFitterN< N, Args >::GPUdi | ( | ) |
|
inline |
track param propagated to V0 candidate (no check for the candidate validity) propagateTracksToVertex must be called in advance
Definition at line 178 of file DCAFitterN.h.
|
inlineprotected |
Definition at line 362 of file DCAFitterN.h.
|
protected |
Definition at line 327 of file DCAFitterN.h.
|
protected |
track X-param at V0 candidate (no check for the candidate validity)
Definition at line 299 of file DCAFitterN.h.
|
protected |
Definition at line 332 of file DCAFitterN.h.
|
protected |
Definition at line 351 of file DCAFitterN.h.
|
protected |
Definition at line 327 of file DCAFitterN.h.
|
protected |
Definition at line 348 of file DCAFitterN.h.