CMS 3D CMS Logo

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