CMS 3D CMS Logo

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 
19 
22 
24 {
25  public:
26 
27  StripFakeCPE() = default;
28  ~StripFakeCPE() override = default;
29 
30  using LocalValues = std::pair<LocalPoint,LocalError>;
31 
32  LocalValues localParameters( const SiStripCluster& cl , const GeomDetUnit& gd) const override {
33  return fakeCPE().map().get(cl,gd);
34  }
35 
36  // used by Validation....
37  LocalVector driftDirection(const StripGeomDetUnit* ) const override { return LocalVector();}
38 
39  void setFakeCPE(FakeCPE * iFakeCPE) { m_fakeCPE = iFakeCPE;}
40  FakeCPE const & fakeCPE() const { return *m_fakeCPE; }
41 
42 
43 private:
44 
45  FakeCPE const * m_fakeCPE=nullptr;
46 
47 
48 };
49 
50 
51 #endif
52 
53 
54 
55 
Local3DVector LocalVector
Definition: LocalVector.h:12
FakeCPE const * m_fakeCPE
Definition: StripFakeCPE.h:45
StripFakeCPE()=default
std::pair< LocalPoint, LocalError > LocalValues
LocalValues localParameters(const SiStripCluster &cl, const GeomDetUnit &gd) const override
Definition: StripFakeCPE.h:32
LocalValues const & get(const Cluster &cluster, const GeomDetUnit &gd) const
Definition: FakeCPE.h:33
FakeCPE const & fakeCPE() const
Definition: StripFakeCPE.h:40
Map & map()
Definition: FakeCPE.h:58
~StripFakeCPE() override=default
LocalVector driftDirection(const StripGeomDetUnit *) const override
Definition: StripFakeCPE.h:37
void setFakeCPE(FakeCPE *iFakeCPE)
Definition: StripFakeCPE.h:39