CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TSOSFromSimHitFactory.h
Go to the documentation of this file.
1 #ifndef TSOSFromSimHitFactory_H
2 #define TSOSFromSimHitFactory_H
3 
8 
9 class SimHit;
10 class MagneticField;
11 
21 public:
22 
24  const MagneticField& field) const {
25  return TrajectoryStateOnSurface( FTSFromSimHitFactory()( hit, det, field),
26  det.surface());
27  }
28 };
29 
30 #endif
TrajectoryStateOnSurface operator()(const PSimHit &hit, const GeomDetUnit &det, const MagneticField &field) const
const BoundPlane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:35