ATLAS Offline Software
Loading...
Searching...
No Matches
MultiComponentStateCombiner.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
14
15#ifndef MultiComponentStateCombiner_H
16#define MultiComponentStateCombiner_H
17
19namespace Trk {
20
22
24std::unique_ptr<Trk::TrackParameters>
26 const bool useMode = false);
27
29void
30combineParametersWithWeight(AmgVector(5) & firstParameters,
31 double& firstWeight,
32 const AmgVector(5) & secondParameters,
33 const double secondWeight);
34
36void
37combineCovWithWeight(const AmgVector(5) & firstParameters,
38 AmgSymMatrix(5) & firstMeasuredCov,
39 const double firstWeight,
40 const AmgVector(5) & secondParameters,
41 const AmgSymMatrix(5) & secondMeasuredCov,
42 const double secondWeight);
43} // namespace MultiComponentStateCombiner
44} // namespace Trk
45#endif
Definition of component parameters for use in a mixture of many components. In this regime each track...
#define AmgSymMatrix(dim)
#define AmgVector(rows)
void combineParametersWithWeight(AmgVector(5) &firstParameters, double &firstWeight, const AmgVector(5) &secondParameters, const double secondWeight)
Combine parameters based on their relevant weigths.
void combineCovWithWeight(const AmgVector(5) &firstParameters, AmgSymMatrix(5) &firstMeasuredCov, const double firstWeight, const AmgVector(5) &secondParameters, const AmgSymMatrix(5) &secondMeasuredCov, const double secondWeight)
Combine cov matrices based on their relevant weights.
std::unique_ptr< Trk::TrackParameters > combineToSingle(const MultiComponentState &, const bool useMode=false)
@bried Calculate combined state of many components
Ensure that the ATLAS eigen extensions are properly loaded.
std::vector< ComponentParameters > MultiComponentState