CMS 3D CMS Logo

TrapezoidalStripTopology.h
Go to the documentation of this file.
1 #ifndef Geometry_CommonTopologies_TrapezoidalStripTopology_H
2 #define Geometry_CommonTopologies_TrapezoidalStripTopology_H
3 
10 
11 
23 public:
24 
32  TrapezoidalStripTopology(int nstrip, float pitch, float detheight,float r0);
33 
34  TrapezoidalStripTopology(int nstrip, float pitch, float detheight,float r0, int yAx);
35 
37  LocalPoint localPosition(float strip) const override;
38 
39  LocalPoint localPosition(const MeasurementPoint&) const override;
40 
42  LocalError
43  localError(float strip, float stripErr2) const override;
44 
45  LocalError
46  localError(const MeasurementPoint&, const MeasurementError&) const override;
47 
48  float strip(const LocalPoint&) const override;
49 
50  MeasurementPoint measurementPosition(const LocalPoint&) const override;
51 
53  measurementError(const LocalPoint&, const LocalError&) const override;
54 
55  int channel(const LocalPoint&) const override;
56 
58  float pitch() const override;
59 
60  float localPitch(const LocalPoint&) const override;
61 
63  float stripAngle(float strip) const override;
64 
65  int nstrips() const override;
66 
68  float stripLength() const override {return theDetHeight;}
69  float localStripLength(const LocalPoint& aLP) const override;
70 
74  float radius() const { return theDistToBeam;}
75 
76 protected:
77 
78  virtual float shiftOffset( float pitch_fraction);
79 
80 private:
82  float thePitch; // pitch at the middle of the det. plane
83  float theOffset;
84  float theDistToBeam;
85  float theDetHeight;
86  int theYAxOr;
87 };
88 
89 
90 #endif
91 
92 
LocalPoint localPosition(float strip) const override
virtual float shiftOffset(float pitch_fraction)
float localPitch(const LocalPoint &) const override
virtual LocalError localError(float strip, float stripErr2) const =0
LocalError localError(float strip, float stripErr2) const override
float strip(const LocalPoint &) const override
virtual LocalPoint localPosition(float strip) const =0
float stripLength() const override
det heigth (strip length in the middle)
TrapezoidalStripTopology(int nstrip, float pitch, float detheight, float r0)
int channel(const LocalPoint &) const override
float stripAngle(float strip) const override
MeasurementPoint measurementPosition(const LocalPoint &) const override
MeasurementError measurementError(const LocalPoint &, const LocalError &) const override
float localStripLength(const LocalPoint &aLP) const override