Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:31:38

0001 #include "TrackingTools/GsfTracking/interface/MultiTrajectoryStateMerger.h"
0002 #include "TrackingTools/GsfTracking/interface/TsosGaussianStateConversions.h"
0003 
0004 TrajectoryStateOnSurface MultiTrajectoryStateMerger::merge(const TrajectoryStateOnSurface& tsos) const {
0005   if (!tsos.isValid())
0006     std::cout << "Merger called with invalid state" << std::endl;
0007   MultiGaussianState<5> multiState(GaussianStateConversions::multiGaussianStateFromTSOS(tsos));
0008   MultiGaussianState<5> mergedStates = theMultiStateMerger->merge(multiState);
0009   return GaussianStateConversions::tsosFromMultiGaussianState(mergedStates, tsos);
0010 }