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 
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
TrapezoidalStripTopology::stripAngle
float stripAngle(float strip) const override
Definition: TrapezoidalStripTopology.cc:114
Point2DBase
Definition: Point2DBase.h:9
TrapezoidalStripTopology::theOffset
float theOffset
Definition: TrapezoidalStripTopology.h:77
TrapezoidalStripTopology::stripLength
float stripLength() const override
det heigth (strip length in the middle)
Definition: TrapezoidalStripTopology.h:63
StripTopology::localPosition
virtual LocalPoint localPosition(float strip) const =0
TrapezoidalStripTopology::measurementPosition
MeasurementPoint measurementPosition(const LocalPoint &) const override
Definition: TrapezoidalStripTopology.cc:81
StripTopology.h
TrapezoidalStripTopology::localPitch
float localPitch(const LocalPoint &) const override
Definition: TrapezoidalStripTopology.cc:108
TrapezoidalStripTopology::measurementError
MeasurementError measurementError(const LocalPoint &, const LocalError &) const override
Definition: TrapezoidalStripTopology.cc:86
TrapezoidalStripTopology::channel
int channel(const LocalPoint &) const override
Definition: TrapezoidalStripTopology.cc:102
TrapezoidalStripTopology::theNumberOfStrips
int theNumberOfStrips
Definition: TrapezoidalStripTopology.h:75
TrapezoidalStripTopology
Definition: TrapezoidalStripTopology.h:21
MeasurementError
Definition: MeasurementError.h:8
Point3DBase< float, LocalTag >
TrapezoidalStripTopology::strip
float strip(const LocalPoint &) const override
Definition: TrapezoidalStripTopology.cc:72
TrapezoidalStripTopology::pitch
float pitch() const override
Definition: TrapezoidalStripTopology.cc:106
LocalError
Definition: LocalError.h:12
TrapezoidalStripTopology::theYAxOr
int theYAxOr
Definition: TrapezoidalStripTopology.h:80
TrapezoidalStripTopology::theDetHeight
float theDetHeight
Definition: TrapezoidalStripTopology.h:79
TrapezoidalStripTopology::localError
LocalError localError(float strip, float stripErr2) const override
Definition: TrapezoidalStripTopology.cc:37
TrapezoidalStripTopology::radius
float radius() const
Definition: TrapezoidalStripTopology.h:69
TrapezoidalStripTopology::thePitch
float thePitch
Definition: TrapezoidalStripTopology.h:76
TrapezoidalStripTopology::shiftOffset
virtual float shiftOffset(float pitch_fraction)
Definition: TrapezoidalStripTopology.cc:120
TrapezoidalStripTopology::TrapezoidalStripTopology
TrapezoidalStripTopology(int nstrip, float pitch, float detheight, float r0)
Definition: TrapezoidalStripTopology.cc:7
TrapezoidalStripTopology::localPosition
LocalPoint localPosition(float strip) const override
Definition: TrapezoidalStripTopology.cc:27
TrapezoidalStripTopology::nstrips
int nstrips() const override
Definition: TrapezoidalStripTopology.cc:118
StripTopology::localError
virtual LocalError localError(float strip, float stripErr2) const =0
TrapezoidalStripTopology::theDistToBeam
float theDistToBeam
Definition: TrapezoidalStripTopology.h:78
StripTopology
Definition: StripTopology.h:11
TrapezoidalStripTopology::localStripLength
float localStripLength(const LocalPoint &aLP) const override
Definition: TrapezoidalStripTopology.cc:125