ATLAS Offline Software
Loading...
Searching...
No Matches
ComponentParameters.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
13
14#ifndef TrkComponentParameters
15#define TrkComponentParameters
16
18#include <utility>
19#include <vector>
20namespace Trk {
21
23 std::unique_ptr<Trk::TrackParameters> params{nullptr};
24 double weight{0};
25};
26
27using MultiComponentState = std::vector<ComponentParameters>;
28
30
33clone(const MultiComponentState& in);
34
39 double errorScaleLocX,
40 double errorScaleLocY,
41 double errorScalePhi,
42 double errorScaleTheta,
43 double errorScaleQoverP);
44
47bool
49
51void
52renormaliseState(MultiComponentState&, double norm = 1);
53
54} // end of MultiComponentStateHelpers
55} // end Trk namespace
56
57#endif
void renormaliseState(MultiComponentState &, double norm=1)
Performing renormalisation of total state weighting to one.
MultiComponentState WithScaledError(MultiComponentState &&in, double errorScaleLocX, double errorScaleLocY, double errorScalePhi, double errorScaleTheta, double errorScaleQoverP)
Scale the covariance matrix components by individual factors.
bool allHaveCovariance(const MultiComponentState &in)
Check to see if all components have covariance Matrix.
MultiComponentState clone(const MultiComponentState &in)
Clone TrackParameters method.
Ensure that the ATLAS eigen extensions are properly loaded.
std::vector< ComponentParameters > MultiComponentState
std::unique_ptr< Trk::TrackParameters > params