CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RectangularStripTopology.h
Go to the documentation of this file.
1 #ifndef Geometry_CommonTopologies_RectangularStripTopology_H
2 #define Geometry_CommonTopologies_RectangularStripTopology_H
3 
10 
11 class RectangularStripTopology GCC11_FINAL : public StripTopology {
12 public:
13 
14  RectangularStripTopology(int nstrips, float pitch, float detlength);
15 
16  virtual LocalPoint localPosition(float strip) const;
17 
18  virtual LocalPoint localPosition(const MeasurementPoint&) const;
19 
20  virtual LocalError
21  localError(float strip, float stripErr2) const;
22 
23  virtual LocalError
24  localError(const MeasurementPoint&, const MeasurementError&) const;
25 
26  virtual float strip(const LocalPoint&) const;
27 
28  virtual MeasurementPoint measurementPosition(const LocalPoint&) const;
29 
30  virtual MeasurementError
31  measurementError(const LocalPoint&, const LocalError&) const;
32 
33  virtual int channel(const LocalPoint&) const;
34 
35  virtual float pitch() const;
36 
37  virtual float localPitch(const LocalPoint&) const;
38 
39  virtual float stripAngle(float strip) const;
40 
41  virtual int nstrips() const;
42 
43  virtual float stripLength() const {return theStripLength;}
44 
45  virtual float localStripLength(const LocalPoint& /*aLP*/) const {
46  return stripLength();
47  }
48 
49 private:
50  float thePitch;
53  float theOffset;
54 };
55 
56 #endif
57 
58 
virtual int nstrips() const =0
void strip(std::string &input, const std::string &blanks=" \n\t")
Definition: stringTools.cc:16
virtual float stripAngle(float strip) const =0
virtual float localStripLength(const LocalPoint &) const
virtual float strip(const LocalPoint &) const =0
virtual float localPitch(const LocalPoint &) const =0
virtual float stripLength() const =0
virtual MeasurementError measurementError(const LocalPoint &, const LocalError &) const =0
virtual int channel(const LocalPoint &p) const =0
virtual MeasurementPoint measurementPosition(const LocalPoint &) const =0
virtual LocalError localError(float strip, float stripErr2) const =0
virtual float pitch() const =0
virtual LocalPoint localPosition(float strip) const =0
virtual float stripLength() const
Our base class.
Definition: SiPixelRecHit.h:22