5 const double& outerLocalPzSign,
6 const std::vector<GsfComponent5D>& innerStates,
7 const double& innerLocalPzSign,
8 const std::vector<GsfTangent>& tangents)
9 : outerStates_(outerStates),
10 positiveOuterStatePz_(outerLocalPzSign > 0.),
11 innerStates_(innerStates),
12 positiveInnerStatePz_(innerLocalPzSign > 0.),
13 tangents_(tangents) {}
16 std::vector<double>
result(states.size());
17 std::vector<double>::iterator ir(
result.begin());
18 for (std::vector<GsfComponent5D>::const_iterator
i = states.begin();
i != states.end(); ++
i) {
19 *(ir++) = (*i).weight();
25 const std::vector<GsfComponent5D>& states)
const {
26 std::vector<LocalParameterVector>
result(states.size());
27 std::vector<LocalParameterVector>::iterator ir(
result.begin());
28 for (std::vector<GsfComponent5D>::const_iterator
i = states.begin();
i != states.end(); ++
i) {
29 *(ir++) = (*i).parameters();
35 const std::vector<GsfComponent5D>& states)
const {
36 std::vector<LocalCovarianceMatrix>
result(states.size());
37 std::vector<LocalCovarianceMatrix>::iterator ir(
result.begin());
38 for (std::vector<GsfComponent5D>::const_iterator
i = states.begin();
i != states.end(); ++
i) {
39 (*i).covariance(*(ir++));