47 using namespace InDet;
50 auto trackStateOnSurfaces = std::make_unique<Trk::TrackStates>();
52 auto trackParameter = std::make_unique<Perigee>(4.0, 3.0, 2.0, 1.0, 0.001, periSurf);
54 trackStateOnSurfaces->push_back(
new TrackStateOnSurface(
nullptr, std::move(trackParameter),
nullptr) );
61 trackStateOnSurfaces->push_back(
new TrackStateOnSurface(
nullptr, std::move(trackParameter2),
nullptr) );
68 trackStateOnSurfaces->push_back(
new TrackStateOnSurface(
nullptr, std::move(trackParameter3),
nullptr) );
74 auto ebr = std::make_unique<EstimatedBremOnTrack>((0.7), -0.3,0.3, 0.03,planeSf);
75 std::bitset<TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes> type1(0);
77 trackStateOnSurfaces->push_back(
new TrackStateOnSurface(
nullptr, std::move(trackParameter4), std::move(ebr),type1) );
81 IdentifierHash idHash(0);
85 auto eloss = std::make_unique<Trk::EnergyLoss>((0.5),0.19);
87 std::bitset<Trk::MaterialEffectsBase::NumberOfMaterialEffectsTypes> mefPattern(0);
97 auto mefBase = std::make_unique<Trk::MaterialEffectsOnTrack>(70.7,scatt,std::move(eloss),planeDetElSf, mefPattern);
98 std::bitset<TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes> typePattern(0);
100 trackStateOnSurfaces->push_back(
new TrackStateOnSurface(
nullptr, std::move(trackParameter5), std::move(mefBase), typePattern) );
106 auto trackParameter6 = std::make_unique<CurvilinearParameters>(
pos,
mom,1.0);
107 std::bitset<TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes> typePattern(0);
109 trackStateOnSurfaces->push_back(
new TrackStateOnSurface(
nullptr, std::move(trackParameter6),
nullptr, typePattern) );
112 locCov.setIdentity();
113 locCov(0,0) = 0.001; locCov(1,1)=0.002;
118 std::cerr<<
"Unable to find any pixel Detector element!! Aborting this part of the test."<<std::endl;
128 unsigned int pix2 = 2832020859UL;
136 locCov(0,0) = 0.001; locCov(1,1)=0.0135;
138 auto childrots = std::vector<const InDet::PixelClusterOnTrack*>();
139 childrots.push_back(fakePix1);
140 childrots.push_back(fakePix2);
141 auto assgnProb = std::vector<double>();
142 assgnProb.push_back(0.4);
143 assgnProb.push_back(0.6);
144 auto cProt = std::make_unique<InDet::CompetingPixelClustersOnTrack>(
145 std::move(childrots), std::move(assgnProb));
146 trackStateOnSurfaces->push_back(
152 auto fitQuality = std::make_unique<FitQuality>(1.0, 2);