CMS 3D CMS Logo

TSOSFromSimHitFactory Class Reference

Produces a TrajectoryStateOnSurface from a SimHit. More...

#include <RecoTracker/DebugTools/interface/TSOSFromSimHitFactory.h>

List of all members.

Public Member Functions

TrajectoryStateOnSurface operator() (const PSimHit &hit, const GeomDetUnit &det, const MagneticField &field) const


Detailed Description

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.


Member Function Documentation

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().

00024                                                                          {
00025     return TrajectoryStateOnSurface( FTSFromSimHitFactory()( hit, det, field),
00026                                      det.surface());
00027   }


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:34:39 2009 for CMSSW by  doxygen 1.5.4