#include "RecoMuon/L3TrackFinder/interface/MuonCkfTrajectoryBuilder.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "TrackingTools/TrajectoryState/interface/TrajectoryStateTransform.h"
#include "RecoTracker/TkDetLayers/interface/GeometricSearchTracker.h"
#include "TrackingTools/PatternTools/interface/TrajMeasLessEstim.h"
#include "RecoTracker/MeasurementDet/interface/MeasurementTracker.h"
#include "TrackingTools/MeasurementDet/interface/LayerMeasurements.h"
#include "TrackingTools/KalmanUpdators/interface/Chi2MeasurementEstimatorBase.h"
#include "TrackingTools/TrajectoryFiltering/interface/TrajectoryFilter.h"
#include "TrackingTools/PatternTools/interface/TransverseImpactPointExtrapolator.h"
#include <sstream>
Go to the source code of this file.
Functions | |
std::string | dumpMeasurement (const TrajectoryMeasurement &tm) |
std::string | dumpMeasurements (const std::vector< TrajectoryMeasurement > &v) |
std::string dumpMeasurement | ( | const TrajectoryMeasurement & | tm | ) |
Definition at line 37 of file MuonCkfTrajectoryBuilder.cc.
References TrajectoryMeasurement::estimate(), TrajectoryMeasurement::forwardPredictedState(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), TrajectoryMeasurement::layer(), and TrajectoryMeasurement::recHit().
Referenced by dumpMeasurements().
00038 { 00039 std::stringstream buffer; 00040 buffer<<"layer pointer: "<<tm.layer()<<"\n" 00041 <<"estimate: "<<tm.estimate()<<"\n" 00042 <<"forward state: \n" 00043 <<"x: "<<tm.forwardPredictedState().globalPosition()<<"\n" 00044 <<"p: "<<tm.forwardPredictedState().globalMomentum()<<"\n" 00045 <<"geomdet pointer from rechit: "<<tm.recHit()->det()<<"\n" 00046 <<"detId: "<<tm.recHit()->geographicalId().rawId(); 00047 if (tm.recHit()->isValid()){ 00048 buffer<<"\n hit global x: "<<tm.recHit()->globalPosition() 00049 <<"\n hit global error: "<<tm.recHit()->globalPositionError().matrix() 00050 <<"\n hit local x:"<<tm.recHit()->localPosition() 00051 <<"\n hit local error"<<tm.recHit()->localPositionError(); 00052 } 00053 return buffer.str(); 00054 }
std::string dumpMeasurements | ( | const std::vector< TrajectoryMeasurement > & | v | ) |
Definition at line 55 of file MuonCkfTrajectoryBuilder.cc.
References dumpMeasurement(), and it.
Referenced by MuonCkfTrajectoryBuilder::collectMeasurement(), and CkfTrajectoryBuilder::findCompatibleMeasurements().
00056 { 00057 std::stringstream buffer; 00058 buffer<<v.size()<<" total measurements\n"; 00059 for (std::vector<TrajectoryMeasurement>::const_iterator it = v.begin(); it!=v.end();++it){ 00060 buffer<<dumpMeasurement(*it); 00061 buffer<<"\n";} 00062 return buffer.str(); 00063 }