CMS 3D CMS Logo

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
TrajectoryStateOnSurface.h
FTSFromSimHitFactory
Definition: FTSFromSimHitFactory.h:17
GeomDet
Definition: GeomDet.h:27
TSOSFromSimHitFactory
Definition: TSOSFromSimHitFactory.h:20
GeomDet::surface
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
PSimHit.h
FTSFromSimHitFactory.h
GeomDet.h
TSOSFromSimHitFactory::operator()
TrajectoryStateOnSurface operator()(const PSimHit &hit, const GeomDetUnit &det, const MagneticField &field) const
Definition: TSOSFromSimHitFactory.h:22
PSimHit
Definition: PSimHit.h:15
MagneticField
Definition: MagneticField.h:19
hit
Definition: SiStripHitEffFromCalibTree.cc:88