23 buffer <<
v.size() <<
" total measurements\n";
24 std::vector<TrajectoryMeasurement>::const_iterator it =
v.begin();
25 for (; it !=
v.end(); ++it) {
33 buffer <<
v.size() <<
" total measurements\n";
35 for (; it !=
v.rend(); --it) {
44 <<
"estimate: " << tm.
estimate() <<
"\n";
46 buffer <<
"updated state: \n"
50 buffer <<
"forward predicted state: \n"
54 buffer <<
"predicted state: \n"
58 buffer <<
"no valid state\n";
61 <<
"detId: " << tm.
recHit()->geographicalId().rawId();
62 if (tm.
recHit()->isValid()) {
63 buffer <<
"\n hit global x: " << tm.
recHit()->globalPosition()
64 <<
"\n hit global error: " << tm.
recHit()->globalPositionError().matrix()
65 <<
"\n hit local x:" << tm.
recHit()->localPosition() <<
"\n hit local error"
66 << tm.
recHit()->localPositionError();
91 buffer <<
"number of finalTrajectories: " << unsmoothedResult.size() << std::endl;
92 for (std::vector<Trajectory>::const_iterator it = unsmoothedResult.begin(); it != unsmoothedResult.end(); it++) {
93 if (it->lastMeasurement().updatedState().isValid()) {
94 buffer <<
"candidate's n valid and invalid hit, chi2, pt, eta : " << it->foundHits() <<
" , " << it->lostHits()
95 <<
" , " << it->chiSquared() <<
" , " << it->lastMeasurement().updatedState().globalMomentum().perp()
96 <<
" , " << it->lastMeasurement().updatedState().globalMomentum().eta() << std::endl;
97 }
else if (it->lastMeasurement().predictedState().isValid()) {
98 buffer <<
"candidate's n valid and invalid hit, chi2, pt, eta : " << it->foundHits() <<
" , " << it->lostHits()
99 <<
" , " << it->chiSquared() <<
" , " << it->lastMeasurement().predictedState().globalMomentum().perp()
100 <<
" , " << it->lastMeasurement().predictedState().globalMomentum().eta() << std::endl;
102 buffer <<
"candidate with invalid last measurement state!" << std::endl;
104 buffer <<
"=================================================";