CMS 3D CMS Logo

TkClonerImpl.h
Go to the documentation of this file.
1 #ifndef TKClonerImplRecHit_H
2 #define TKClonerImplRecHit_H
3 
4 #include <memory>
7 
11 
12 class TkClonerImpl final : public TkCloner {
13 public:
16  const StripClusterParameterEstimator* istripCPE,
17  const SiStripRecHitMatcher* iMatcher)
18  : pixelCPE(ipixelCPE), stripCPE(istripCPE), theMatcher(iMatcher), phase2TrackerCPE(nullptr) {}
21  : pixelCPE(ipixelCPE), stripCPE(nullptr), theMatcher(nullptr), phase2TrackerCPE(iPhase2OTCPE) {}
22 
23  using TkCloner::operator();
24  std::unique_ptr<SiPixelRecHit> operator()(SiPixelRecHit const& hit,
25  TrajectoryStateOnSurface const& tsos) const override;
26  std::unique_ptr<SiStripRecHit2D> operator()(SiStripRecHit2D const& hit,
27  TrajectoryStateOnSurface const& tsos) const override;
28  std::unique_ptr<SiStripRecHit1D> operator()(SiStripRecHit1D const& hit,
29  TrajectoryStateOnSurface const& tsos) const override;
30  std::unique_ptr<SiStripMatchedRecHit2D> operator()(SiStripMatchedRecHit2D const& hit,
31  TrajectoryStateOnSurface const& tsos) const override;
32  std::unique_ptr<ProjectedSiStripRecHit2D> operator()(ProjectedSiStripRecHit2D const& hit,
33  TrajectoryStateOnSurface const& tsos) const override;
34  std::unique_ptr<Phase2TrackerRecHit1D> operator()(Phase2TrackerRecHit1D const& hit,
35  TrajectoryStateOnSurface const& tsos) const override;
36 
39  TrajectoryStateOnSurface const& tsos) const override;
41  TrajectoryStateOnSurface const& tsos) const override;
43  TrajectoryStateOnSurface const& tsos) const override;
45  TrajectoryStateOnSurface const& tsos) const override;
47  TrajectoryStateOnSurface const& tsos) const override;
49  TrajectoryStateOnSurface const& tsos) const override;
50 
51  // project either mono or stero hit...
52  std::unique_ptr<ProjectedSiStripRecHit2D> project(SiStripMatchedRecHit2D const& hit,
53  bool mono,
54  TrajectoryStateOnSurface const& tsos) const;
55 
56 private:
61 };
62 #endif
PixelClusterParameterEstimator
Definition: PixelClusterParameterEstimator.h:15
TkClonerImpl::pixelCPE
const PixelClusterParameterEstimator * pixelCPE
Definition: TkClonerImpl.h:57
TkClonerImpl::makeShared
TrackingRecHit::ConstRecHitPointer makeShared(SiPixelRecHit const &hit, TrajectoryStateOnSurface const &tsos) const override
Definition: TkClonerImpl.cc:60
SiStripRecHit2D
Definition: SiStripRecHit2D.h:7
TkCloner::operator
TrackingRecHit * operator()(TrackingRecHit const &hit
TkClonerImpl::project
std::unique_ptr< ProjectedSiStripRecHit2D > project(SiStripMatchedRecHit2D const &hit, bool mono, TrajectoryStateOnSurface const &tsos) const
Definition: TkClonerImpl.cc:194
ProjectedSiStripRecHit2D
Definition: ProjectedSiStripRecHit2D.h:8
SiPixelRecHit
Our base class.
Definition: SiPixelRecHit.h:23
StripClusterParameterEstimator
Definition: StripClusterParameterEstimator.h:25
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
TkCloner
Definition: TkCloner.h:15
TkClonerImpl::TkClonerImpl
TkClonerImpl(const PixelClusterParameterEstimator *ipixelCPE, const ClusterParameterEstimator< Phase2TrackerCluster1D > *iPhase2OTCPE)
Definition: TkClonerImpl.h:19
TkClonerImpl::TkClonerImpl
TkClonerImpl(const PixelClusterParameterEstimator *ipixelCPE, const StripClusterParameterEstimator *istripCPE, const SiStripRecHitMatcher *iMatcher)
Definition: TkClonerImpl.h:15
Phase2StripCPE.h
TkClonerImpl::theMatcher
const SiStripRecHitMatcher * theMatcher
Definition: TkClonerImpl.h:59
ClusterParameterEstimator< Phase2TrackerCluster1D >
TkCloner::tsos
TrackingRecHit TrajectoryStateOnSurface const &const tsos
Definition: TkCloner.h:17
TrackingRecHit::ConstRecHitPointer
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
Definition: TrackingRecHit.h:25
TkCloner.h
TkCloner::makeShared
TrackingRecHit::ConstRecHitPointer makeShared(TrackingRecHit::ConstRecHitPointer const &hit, TrajectoryStateOnSurface const &tsos) const
Definition: TkCloner.h:23
TkClonerImpl::stripCPE
const StripClusterParameterEstimator * stripCPE
Definition: TkClonerImpl.h:58
SiStripRecHit1D
Definition: SiStripRecHit1D.h:8
TkClonerImpl
Definition: TkClonerImpl.h:12
SiStripMatchedRecHit2D
Definition: SiStripMatchedRecHit2D.h:8
TkClonerImpl::operator()
std::unique_ptr< SiPixelRecHit > operator()(SiPixelRecHit const &hit, TrajectoryStateOnSurface const &tsos) const override
Definition: TkClonerImpl.cc:26
TkClonerImpl::phase2TrackerCPE
const ClusterParameterEstimator< Phase2TrackerCluster1D > * phase2TrackerCPE
Definition: TkClonerImpl.h:60
SiStripRecHitMatcher
Definition: SiStripRecHitMatcher.h:25
hit
Definition: SiStripHitEffFromCalibTree.cc:88
Phase2TrackerRecHit1D
Definition: Phase2TrackerRecHit1D.h:10
TkClonerImpl::TkClonerImpl
TkClonerImpl()
Definition: TkClonerImpl.h:14