CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TkClonerImpl.h
Go to the documentation of this file.
1 #ifndef TKClonerImplRecHit_H
2 #define TKClonerImplRecHit_H
3 
5 
6 
10 
11 
12 class TkClonerImpl final : public TkCloner {
13 public:
16  const StripClusterParameterEstimator * istripCPE,
17  const SiStripRecHitMatcher * iMatcher
18  ): pixelCPE(ipixelCPE), stripCPE(istripCPE), theMatcher(iMatcher){}
19 
20  using TkCloner::operator();
21  virtual SiPixelRecHit * operator()(SiPixelRecHit const & hit, TrajectoryStateOnSurface const& tsos) const;
22  virtual SiStripRecHit2D * operator()(SiStripRecHit2D const & hit, TrajectoryStateOnSurface const& tsos) const;
23  virtual SiStripRecHit1D * operator()(SiStripRecHit1D const & hit, TrajectoryStateOnSurface const& tsos) const;
24  virtual SiStripMatchedRecHit2D * operator()(SiStripMatchedRecHit2D const & hit, TrajectoryStateOnSurface const& tsos) const;
25  virtual ProjectedSiStripRecHit2D * operator()(ProjectedSiStripRecHit2D const & hit, TrajectoryStateOnSurface const& tsos) const;
26 
27 
28  using TkCloner::makeShared;
30  virtual TrackingRecHit::ConstRecHitPointer makeShared(SiStripRecHit2D const & hit, TrajectoryStateOnSurface const& tsos) const;
31  virtual TrackingRecHit::ConstRecHitPointer makeShared(SiStripRecHit1D const & hit, TrajectoryStateOnSurface const& tsos) const;
32  virtual TrackingRecHit::ConstRecHitPointer makeShared(SiStripMatchedRecHit2D const & hit, TrajectoryStateOnSurface const& tsos) const;
33  virtual TrackingRecHit::ConstRecHitPointer makeShared(ProjectedSiStripRecHit2D const & hit, TrajectoryStateOnSurface const& tsos) const;
34 
35 
36  // project either mono or stero hit...
37  ProjectedSiStripRecHit2D * project(SiStripMatchedRecHit2D const & hit, bool mono, TrajectoryStateOnSurface const& tsos) const;
38 
39 private:
43 
44 
45 };
46 #endif
virtual SiPixelRecHit * operator()(SiPixelRecHit const &hit, TrajectoryStateOnSurface const &tsos) const
Definition: TkClonerImpl.cc:24
const PixelClusterParameterEstimator * pixelCPE
Definition: TkClonerImpl.h:40
TrackingRecHit * operator() CMS_THREAD_SAFE(TrackingRecHit const &hit
const StripClusterParameterEstimator * stripCPE
Definition: TkClonerImpl.h:41
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
ProjectedSiStripRecHit2D * project(SiStripMatchedRecHit2D const &hit, bool mono, TrajectoryStateOnSurface const &tsos) const
TkClonerImpl(const PixelClusterParameterEstimator *ipixelCPE, const StripClusterParameterEstimator *istripCPE, const SiStripRecHitMatcher *iMatcher)
Definition: TkClonerImpl.h:15
const SiStripRecHitMatcher * theMatcher
Definition: TkClonerImpl.h:42
virtual TrackingRecHit::ConstRecHitPointer makeShared(SiPixelRecHit const &hit, TrajectoryStateOnSurface const &tsos) const
Definition: TkClonerImpl.cc:47
Pixel Reconstructed Hit.