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";
59 buffer <<
"detId: " << tm.
recHit()->geographicalId().rawId();
60 if (tm.
recHit()->isValid()) {
61 buffer <<
"\n hit global x: " << tm.
recHit()->globalPosition()
62 <<
"\n hit global error: " << tm.
recHit()->globalPositionError().matrix()
63 <<
"\n hit local x:" << tm.
recHit()->localPosition() <<
"\n hit local error"
64 << tm.
recHit()->localPositionError();
76 buffer <<
"number of finalTrajectories: " << unsmoothedResult.size() << std::endl;
77 for (std::vector<Trajectory>::const_iterator it = unsmoothedResult.begin(); it != unsmoothedResult.end(); it++) {
78 if (it->lastMeasurement().updatedState().isValid()) {
79 buffer <<
"candidate's n valid and invalid hit, chi2, pt, eta : " << it->foundHits() <<
" , " << it->lostHits()
80 <<
" , " << it->chiSquared() <<
" , " << it->lastMeasurement().updatedState().globalMomentum().perp()
81 <<
" , " << it->lastMeasurement().updatedState().globalMomentum().eta() << std::endl;
82 }
else if (it->lastMeasurement().predictedState().isValid()) {
83 buffer <<
"candidate's n valid and invalid hit, chi2, pt, eta : " << it->foundHits() <<
" , " << it->lostHits()
84 <<
" , " << it->chiSquared() <<
" , " << it->lastMeasurement().predictedState().globalMomentum().perp()
85 <<
" , " << it->lastMeasurement().predictedState().globalMomentum().eta() << std::endl;
87 buffer <<
"candidate with invalid last measurement state!" << std::endl;
89 buffer <<
"=================================================";
90 buffer <<
"=========== Traj in details =====================\n";
91 for (
const auto& it : unsmoothedResult) {
92 for (
const auto&
hit : it.measurements()) {
93 buffer <<
"measurement : " <<
hit.recHit()->geographicalId().rawId() << std::endl;
95 buffer <<
"================\n";