ATLAS Offline Software
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 
14 #ifndef TrkComponentParameters
15 #define TrkComponentParameters
16 
18 #include <utility>
19 #include <vector>
20 namespace Trk {
21 
23  std::unique_ptr<Trk::TrackParameters> params{nullptr};
24  double weight{0};
25 };
26 
27 using MultiComponentState = std::vector<ComponentParameters>;
28 
29 namespace MultiComponentStateHelpers {
30 
33 clone(const MultiComponentState& in);
34 
39  double errorScaleLocX,
40  double errorScaleLocY,
41  double errorScalePhi,
42  double errorScaleTheta,
43  double errorScaleQoverP);
44 
47 bool
49 
51 void
53 
54 } // end of MultiComponentStateHelpers
55 } // end Trk namespace
56 
57 #endif
Trk::MultiComponentStateHelpers::allHaveCovariance
bool allHaveCovariance(const MultiComponentState &in)
Check to see if all components have covariance Matrix.
Definition: ComponentParameters.cxx:66
PlotCalibFromCool.norm
norm
Definition: PlotCalibFromCool.py:100
Trk::ComponentParameters::weight
double weight
Definition: ComponentParameters.h:24
TrackParameters.h
Trk::MultiComponentStateHelpers::clone
MultiComponentState clone(const MultiComponentState &in)
Clone TrackParameters method.
Definition: ComponentParameters.cxx:15
Trk::MultiComponentState
std::vector< ComponentParameters > MultiComponentState
Definition: ComponentParameters.h:27
Trk::MultiComponentStateHelpers::WithScaledError
MultiComponentState WithScaledError(MultiComponentState &&in, double errorScaleLocX, double errorScaleLocY, double errorScalePhi, double errorScaleTheta, double errorScaleQoverP)
Scale the covariance matrix components by individual factors.
Definition: ComponentParameters.cxx:26
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::MultiComponentStateHelpers::renormaliseState
void renormaliseState(MultiComponentState &, double norm=1)
Performing renormalisation of total state weighting to one.
Definition: ComponentParameters.cxx:80
Trk::ComponentParameters
Definition: ComponentParameters.h:22
Trk::ComponentParameters::params
std::unique_ptr< Trk::TrackParameters > params
Definition: ComponentParameters.h:23