43 edm::LogInfo(
"RecoVertex/KVFTrackUpdate") <<
"Reconstructing event number: " <<
iEvent.id() <<
"\n";
48 iEvent.getByToken(token_tracks, tks);
50 edm::LogInfo(
"RecoVertex/KVFTrackUpdate") <<
"Found: " << (*tks).size() <<
" reconstructed tracks"
52 std::cout <<
"got " << (*tks).size() <<
" tracks " << std::endl;
60 std::vector<TransientTrack> t_tks = (*theB).build(tks);
62 edm::LogInfo(
"RecoVertex/KVFTrackUpdate") <<
"Found: " << t_tks.size() <<
" reconstructed tracks"
68 mat[0][0] = (20.e-04) * (20.
e-04);
69 mat[1][1] = (20.e-04) * (20.
e-04);
70 mat[2][2] = (5.3) * (5.3);
75 iEvent.getByToken(token_beamSpot, recoBeamSpotHandle);
78 for (
unsigned int i = 0;
i < t_tks.size();
i++) {
80 std::cout <<
"Chi2: " << std::get<2>(
a) << std::endl;
81 if (recoBeamSpotHandle.
isValid()) {
83 std::cout <<
"Chi2: " << std::get<2>(
b) << std::endl;
89 edm::LogInfo(
"RecoVertex/KVFTrackUpdate") <<
"Exception during event number: " <<
iEvent.id() <<
"\n"
90 <<
err.what() <<
"\n";