CMS 3D CMS Logo

TkTransientTrackingRecHitBuilder.cc
Go to the documentation of this file.
2 //
3 // include all the concrete ones
4 //
6 
11 //
12 // For FAMOS
13 //
15 #include <typeinfo>
16 
20  const SiStripRecHitMatcher* matcher,
21  bool computeCoarseLocalPositionFromDisk)
22  : tGeometry_(trackingGeometry),
23  pixelCPE(pCPE),
24  stripCPE(sCPE),
25  theMatcher(matcher),
26  theComputeCoarseLocalPosition(computeCoarseLocalPositionFromDisk),
27  phase2OTCPE(nullptr) {}
28 
30  const TrackingGeometry* trackingGeometry,
33  : tGeometry_(trackingGeometry),
34  pixelCPE(pCPE),
35  stripCPE(nullptr),
36  theMatcher(nullptr),
37  theComputeCoarseLocalPosition(false),
38  phase2OTCPE(ph2StripCPE) {}
39 
41  // assert("TkTransientTrackingRecHitBuilder::build"==nullptr);
42 
43  return (*p).cloneSH();
44 }
TransientTrackingRecHit::RecHitPointer build(const TrackingRecHit *p) const override
build a tracking rechit from an existing rechit
TkTransientTrackingRecHitBuilder(const TrackingGeometry *trackingGeometry, const PixelClusterParameterEstimator *, const StripClusterParameterEstimator *, const SiStripRecHitMatcher *, bool computeCoarseLocalPositionFromDisk)
std::shared_ptr< TrackingRecHit const > RecHitPointer