CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions
FTSFromSimHitFactory Class Reference

#include <FTSFromSimHitFactory.h>

Public Member Functions

FreeTrajectoryState operator() (const PSimHit &hit, const GeomDet &det, const MagneticField &field) const
 

Private Member Functions

TrackCharge charge (int particleId) const
 

Detailed Description

Produces a FreeTrajectoryState from a SimHit. the FreeTrajectoryState 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.

Definition at line 17 of file FTSFromSimHitFactory.h.

Member Function Documentation

TrackCharge FTSFromSimHitFactory::charge ( int  particleId) const
private
FreeTrajectoryState FTSFromSimHitFactory::operator() ( const PSimHit hit,
const GeomDet det,
const MagneticField field 
) const