CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TrapezoidalStripTopology.h
Go to the documentation of this file.
1 #ifndef Geometry_CommonTopologies_TrapezoidalStripTopology_H
2 #define Geometry_CommonTopologies_TrapezoidalStripTopology_H
3 
10 
22 public:
30  TrapezoidalStripTopology(int nstrip, float pitch, float detheight, float r0);
31 
32  TrapezoidalStripTopology(int nstrip, float pitch, float detheight, float r0, int yAx);
33 
35  LocalPoint localPosition(float strip) const override;
36 
37  LocalPoint localPosition(const MeasurementPoint&) const override;
38 
40  LocalError localError(float strip, float stripErr2) const override;
41 
42  LocalError localError(const MeasurementPoint&, const MeasurementError&) const override;
43 
44  float strip(const LocalPoint&) const override;
45 
46  MeasurementPoint measurementPosition(const LocalPoint&) const override;
47 
48  MeasurementError measurementError(const LocalPoint&, const LocalError&) const override;
49 
50  int channel(const LocalPoint&) const override;
51 
53  float pitch() const override;
54 
55  float localPitch(const LocalPoint&) const override;
56 
58  float stripAngle(float strip) const override;
59 
60  int nstrips() const override;
61 
63  float stripLength() const override { return theDetHeight; }
64  float localStripLength(const LocalPoint& aLP) const override;
65 
69  float radius() const { return theDistToBeam; }
70 
71 protected:
72  virtual float shiftOffset(float pitch_fraction);
73 
74 private:
76  float thePitch; // pitch at the middle of the det. plane
77  float theOffset;
79  float theDetHeight;
80  int theYAxOr;
81 };
82 
83 #endif
MeasurementPoint measurementPosition(const LocalPoint &) const override
float localStripLength(const LocalPoint &aLP) const override
virtual float shiftOffset(float pitch_fraction)
int channel(const LocalPoint &) const override
float stripAngle(float strip) const override
float localPitch(const LocalPoint &) const override
MeasurementError measurementError(const LocalPoint &, const LocalError &) const override
float strip(const LocalPoint &) const override
TrapezoidalStripTopology(int nstrip, float pitch, float detheight, float r0)
virtual LocalError localError(float strip, float stripErr2) const =0
virtual LocalPoint localPosition(float strip) const =0
float stripLength() const override
det heigth (strip length in the middle)
LocalError localError(float strip, float stripErr2) const override
LocalPoint localPosition(float strip) const override