5 const double& outerLocalPzSign,
6 const std::vector<GsfComponent5D>& innerStates,
7 const double& innerLocalPzSign,
8 const std::vector<GsfTangent>& tangents) :
9 outerStates_(outerStates), positiveOuterStatePz_(outerLocalPzSign>0.),
10 innerStates_(innerStates), positiveInnerStatePz_(innerLocalPzSign>0.),
11 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();
19 i!=states.end(); ++
i ) {
20 *(ir++) = (*i).weight();
25 std::vector<GsfTrackExtra::LocalParameterVector>
28 std::vector<LocalParameterVector>
result(states.size());
29 std::vector<LocalParameterVector>::iterator ir(
result.begin());
30 for ( std::vector<GsfComponent5D>::const_iterator
i=states.begin();
31 i!=states.end(); ++
i ) {
32 *(ir++) = (*i).parameters();
37 std::vector<GsfTrackExtra::LocalCovarianceMatrix>
40 std::vector<LocalCovarianceMatrix>
result(states.size());
41 std::vector<LocalCovarianceMatrix>::iterator ir(
result.begin());
42 for ( std::vector<GsfComponent5D>::const_iterator
i=states.begin();
43 i!=states.end(); ++
i ) {
44 (*i).covariance(*(ir++));