CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
StripFakeCPE.h
Go to the documentation of this file.
1 #ifndef RecoLocalTracker_Fake_StripCluster_Parameter_Estimator_H
2 #define RecoLocalTracker_Fake_StripCluster_Parameter_Estimator_H
3 
6 
10 
15 
18 
21 
23 public:
24  StripFakeCPE() = default;
25  ~StripFakeCPE() override = default;
26 
27  using LocalValues = std::pair<LocalPoint, LocalError>;
28 
29  LocalValues localParameters(const SiStripCluster& cl, const GeomDetUnit& gd) const override {
30  return fakeCPE().map().get(cl, gd);
31  }
32 
33  // used by Validation....
34  LocalVector driftDirection(const StripGeomDetUnit*) const override { return LocalVector(); }
35 
36  void setFakeCPE(FakeCPE* iFakeCPE) { m_fakeCPE = iFakeCPE; }
37  FakeCPE const& fakeCPE() const { return *m_fakeCPE; }
38 
39 private:
40  FakeCPE const* m_fakeCPE = nullptr;
41 };
42 
43 #endif
std::pair< LocalPoint, LocalError > LocalValues
Local3DVector LocalVector
Definition: LocalVector.h:12
FakeCPE const * m_fakeCPE
Definition: StripFakeCPE.h:40
LocalVector driftDirection(const StripGeomDetUnit *) const override
Definition: StripFakeCPE.h:34
StripFakeCPE()=default
tuple cl
Definition: haddnano.py:49
LocalValues const & get(const Cluster &cluster, const GeomDetUnit &gd) const
Definition: FakeCPE.h:35
FakeCPE const & fakeCPE() const
Definition: StripFakeCPE.h:37
Map & map()
Definition: FakeCPE.h:61
~StripFakeCPE() override=default
void setFakeCPE(FakeCPE *iFakeCPE)
Definition: StripFakeCPE.h:36
LocalValues localParameters(const SiStripCluster &cl, const GeomDetUnit &gd) const override
Definition: StripFakeCPE.h:29