Main Page
Namespaces
Classes
Package Documentation
RecoTracker
DebugTools
interface
TSOSFromSimHitFactory.h
Go to the documentation of this file.
1
#ifndef TSOSFromSimHitFactory_H
2
#define TSOSFromSimHitFactory_H
3
4
#include "
RecoTracker/DebugTools/interface/FTSFromSimHitFactory.h
"
5
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
6
#include "
SimDataFormats/TrackingHit/interface/PSimHit.h
"
7
#include "
Geometry/CommonDetUnit/interface/GeomDetUnit.h
"
8
9
class
SimHit;
10
class
MagneticField
;
11
20
class
TSOSFromSimHitFactory
{
21
public
:
22
23
TrajectoryStateOnSurface
operator()
(
const
PSimHit
&
hit
,
const
GeomDetUnit
& det,
24
const
MagneticField
& field)
const
{
25
return
TrajectoryStateOnSurface
(
FTSFromSimHitFactory
()( hit, det, field),
26
det.
surface
());
27
}
28
};
29
30
#endif
GeomDet
Definition:
GeomDet.h:29
MagneticField
Definition:
MagneticField.h:17
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:17
GeomDet::surface
const Plane & surface() const
The nominal surface of the GeomDet.
Definition:
GeomDet.h:42
FTSFromSimHitFactory
Definition:
FTSFromSimHitFactory.h:17
TSOSFromSimHitFactory::operator()
TrajectoryStateOnSurface operator()(const PSimHit &hit, const GeomDetUnit &det, const MagneticField &field) const
Definition:
TSOSFromSimHitFactory.h:23
GeomDetUnit.h
TSOSFromSimHitFactory
Definition:
TSOSFromSimHitFactory.h:20
PSimHit.h
hit
Definition:
SiStripHitEffFromCalibTree.cc:86
TrajectoryStateOnSurface.h
PSimHit
Definition:
PSimHit.h:15
FTSFromSimHitFactory.h
Generated for CMSSW Reference Manual by
1.8.11