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 
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
Vector3DBase< float, LocalTag >
TrajectoryStateOnSurface.h
StripGeomDetUnit.h
GeomDet
Definition: GeomDet.h:27
StripFakeCPE::setFakeCPE
void setFakeCPE(FakeCPE *iFakeCPE)
Definition: StripFakeCPE.h:36
StripFakeCPE::localParameters
LocalValues localParameters(const SiStripCluster &cl, const GeomDetUnit &gd) const override
Definition: StripFakeCPE.h:29
MeasurementError.h
StripFakeCPE::driftDirection
LocalVector driftDirection(const StripGeomDetUnit *) const override
Definition: StripFakeCPE.h:34
FakeCPE.h
GetRecoTauVFromDQM_MC_cff.cl
cl
Definition: GetRecoTauVFromDQM_MC_cff.py:38
StripClusterParameterEstimator
Definition: StripClusterParameterEstimator.h:25
LocalTrajectoryParameters.h
LocalError.h
StripFakeCPE::~StripFakeCPE
~StripFakeCPE() override=default
SiStripCluster.h
FakeCPE
Definition: FakeCPE.h:17
StripFakeCPE::StripFakeCPE
StripFakeCPE()=default
StripFakeCPE
Definition: StripFakeCPE.h:22
LocalVector
Local3DVector LocalVector
Definition: LocalVector.h:12
MeasurementPoint.h
FakeCPE::Map::get
LocalValues const & get(const Cluster &cluster, const GeomDetUnit &gd) const
Definition: FakeCPE.h:35
StripFakeCPE::fakeCPE
FakeCPE const & fakeCPE() const
Definition: StripFakeCPE.h:37
DynArray.h
FakeCPE::map
Map & map()
Definition: FakeCPE.h:61
GeomDet.h
StripFakeCPE::m_fakeCPE
FakeCPE const * m_fakeCPE
Definition: StripFakeCPE.h:40
LocalPoint.h
StripClusterParameterEstimator.h
Exception.h
StripClusterParameterEstimator::LocalValues
std::pair< LocalPoint, LocalError > LocalValues
Definition: StripClusterParameterEstimator.h:27
SiStripCluster
Definition: SiStripCluster.h:8
StripGeomDetUnit
Definition: StripGeomDetUnit.h:15