RecoTracker
DebugTools
plugins
TSOSFromSimHitFactory.h
Go to the documentation of this file.
1
#ifndef TSOSFromSimHitFactory_H
2
#define TSOSFromSimHitFactory_H
3
4
#include "
FTSFromSimHitFactory.h
"
5
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
6
#include "
SimDataFormats/TrackingHit/interface/PSimHit.h
"
7
#include "
Geometry/CommonDetUnit/interface/GeomDet.h
"
8
9
class
SimHit;
10
class
MagneticField
;
11
20
class
TSOSFromSimHitFactory
{
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
GeomDet.h
GeomDet
Definition:
GeomDet.h:27
MagneticField
Definition:
MagneticField.h:19
TSOSFromSimHitFactory::operator()
TrajectoryStateOnSurface operator()(const PSimHit &hit, const GeomDetUnit &det, const MagneticField &field) const
Definition:
TSOSFromSimHitFactory.h:22
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
FTSFromSimHitFactory
Definition:
FTSFromSimHitFactory.h:17
TSOSFromSimHitFactory
Definition:
TSOSFromSimHitFactory.h:20
GeomDet::surface
const Plane & surface() const
The nominal surface of the GeomDet.
Definition:
GeomDet.h:37
PSimHit.h
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
TrajectoryStateOnSurface.h
PSimHit
Definition:
PSimHit.h:15
FTSFromSimHitFactory.h
Generated for CMSSW Reference Manual by
1.8.14