Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:31:38

0001 #ifndef TrajectoryStateCombiner_H
0002 #define TrajectoryStateCombiner_H
0003 
0004 /** \class TrajectoryStateCombiner
0005  *  Combines the information from two trajectory states via a weighted mean.
0006  *  The input states should not be correlated. Ported from ORCA
0007  *
0008  *  \author todorov, cerati
0009  */
0010 
0011 #include "TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h"
0012 
0013 class TrajectoryStateCombiner {
0014 public:
0015   typedef TrajectoryStateOnSurface TSOS;
0016 
0017   TSOS combine(const TSOS& pTsos1, const TSOS& pTsos2) const;
0018 
0019   TSOS operator()(const TSOS& pTsos1, const TSOS& pTsos2) const { return combine(pTsos1, pTsos2); }
0020 };
0021 
0022 #endif