CMS 3D CMS Logo

StripClusterParameterEstimator.h
Go to the documentation of this file.
1 #ifndef RecoLocalTracker_StripCluster_Parameter_Estimator_H
2 #define RecoLocalTracker_StripCluster_Parameter_Estimator_H
3 
6 
10 
15 
18 
26 public:
27  using LocalValues = std::pair<LocalPoint, LocalError>;
30  typedef std::vector<LocalValues> VLocalValues;
31 
32  virtual void localParameters(AClusters const& clusters,
33  ALocalValues& retValues,
34  const GeomDetUnit& gd,
35  const LocalTrajectoryParameters& ltp) const {}
36 
37  virtual LocalValues localParameters(const SiStripCluster&, const GeomDetUnit&) const {
38  return std::make_pair(LocalPoint(), LocalError());
39  }
40  virtual LocalValues localParameters(const SiStripCluster& cluster,
41  const GeomDetUnit& gd,
42  const LocalTrajectoryParameters&) const {
43  return localParameters(cluster, gd);
44  }
45  virtual LocalValues localParameters(const SiStripCluster& cluster,
46  const GeomDetUnit& gd,
47  const TrajectoryStateOnSurface& tsos) const {
48  return localParameters(cluster, gd, tsos.localParameters());
49  }
50  virtual VLocalValues localParametersV(const SiStripCluster& cluster, const GeomDetUnit& gd) const {
51  VLocalValues vlp;
52  vlp.push_back(localParameters(cluster, gd));
53  return vlp;
54  }
56  const GeomDetUnit& gd,
57  const TrajectoryStateOnSurface& tsos) const {
58  VLocalValues vlp;
59  vlp.push_back(localParameters(cluster, gd, tsos.localParameters()));
60  return vlp;
61  }
62 
63  // used by Validation....
64  virtual LocalVector driftDirection(const StripGeomDetUnit*) const = 0;
65 
67 };
68 
69 #endif
StripClusterParameterEstimator::localParameters
virtual LocalValues localParameters(const SiStripCluster &, const GeomDetUnit &) const
Definition: StripClusterParameterEstimator.h:37
Vector3DBase< float, LocalTag >
TrajectoryStateOnSurface.h
StripGeomDetUnit.h
GeomDet
Definition: GeomDet.h:27
StripClusterParameterEstimator::VLocalValues
std::vector< LocalValues > VLocalValues
Definition: StripClusterParameterEstimator.h:30
StripClusterParameterEstimator::localParameters
virtual LocalValues localParameters(const SiStripCluster &cluster, const GeomDetUnit &gd, const LocalTrajectoryParameters &) const
Definition: StripClusterParameterEstimator.h:40
MeasurementError.h
StripClusterParameterEstimator::localParametersV
virtual VLocalValues localParametersV(const SiStripCluster &cluster, const GeomDetUnit &gd) const
Definition: StripClusterParameterEstimator.h:50
StripClusterParameterEstimator::~StripClusterParameterEstimator
virtual ~StripClusterParameterEstimator()
Definition: StripClusterParameterEstimator.h:66
align::LocalPoint
Point3DBase< Scalar, LocalTag > LocalPoint
Definition: Definitions.h:30
LocalTrajectoryParameters
Definition: LocalTrajectoryParameters.h:25
StripClusterParameterEstimator
Definition: StripClusterParameterEstimator.h:25
LocalTrajectoryParameters.h
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
LocalError.h
DynArray
Definition: DynArray.h:5
StripClusterParameterEstimator::localParametersV
virtual VLocalValues localParametersV(const SiStripCluster &cluster, const GeomDetUnit &gd, const TrajectoryStateOnSurface &tsos) const
Definition: StripClusterParameterEstimator.h:55
TrajectoryStateOnSurface::localParameters
const LocalTrajectoryParameters & localParameters() const
Definition: TrajectoryStateOnSurface.h:73
bsc_activity_cfg.clusters
clusters
Definition: bsc_activity_cfg.py:36
SiStripCluster.h
StripClusterParameterEstimator::localParameters
virtual LocalValues localParameters(const SiStripCluster &cluster, const GeomDetUnit &gd, const TrajectoryStateOnSurface &tsos) const
Definition: StripClusterParameterEstimator.h:45
LocalError
Definition: LocalError.h:12
MeasurementPoint.h
StripClusterParameterEstimator::localParameters
virtual void localParameters(AClusters const &clusters, ALocalValues &retValues, const GeomDetUnit &gd, const LocalTrajectoryParameters &ltp) const
Definition: StripClusterParameterEstimator.h:32
DynArray.h
GeomDet.h
LocalPoint.h
Exception.h
StripClusterParameterEstimator::driftDirection
virtual LocalVector driftDirection(const StripGeomDetUnit *) const =0
StripClusterParameterEstimator::LocalValues
std::pair< LocalPoint, LocalError > LocalValues
Definition: StripClusterParameterEstimator.h:27
SiStripCluster
Definition: SiStripCluster.h:8
StripGeomDetUnit
Definition: StripGeomDetUnit.h:15