#include <TSOSFromSimHitFactory.h>
Public Member Functions | |
TrajectoryStateOnSurface | operator() (const PSimHit &hit, const GeomDetUnit &det, const MagneticField &field) const |
Produces a TrajectoryStateOnSurface from a SimHit. the TrajectoryStateOnSurface position coinsides with the SimHit position, and direction, momenta and charge are deduced from the SimHit itself, without any access to the SimTrack that produced the SimHit. The surface of the result is the surface of the Det of the SimHit.
Definition at line 20 of file TSOSFromSimHitFactory.h.
TrajectoryStateOnSurface TSOSFromSimHitFactory::operator() | ( | const PSimHit & | hit, |
const GeomDetUnit & | det, | ||
const MagneticField & | field | ||
) | const [inline] |
Definition at line 23 of file TSOSFromSimHitFactory.h.
References GeomDet::surface().
{ return TrajectoryStateOnSurface( FTSFromSimHitFactory()( hit, det, field), det.surface()); }