File indexing completed on 2024-04-06 12:14:24
0001 #ifndef OFFSET_RADIAL_STRIP_TOPOLOGY_H
0002 #define OFFSET_RADIAL_STRIP_TOPOLOGY_H
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include "Geometry/CSCGeometry/interface/CSCStripTopology.h"
0012
0013 class CSCUngangedStripTopology : public CSCStripTopology {
0014 public:
0015 CSCUngangedStripTopology(int numberOfStrips,
0016 float stripPhiPitch,
0017 float detectorHeight,
0018 float whereStripsMeet,
0019 float stripOffset,
0020 float yCentre)
0021 : CSCStripTopology(numberOfStrips, stripPhiPitch, detectorHeight, whereStripsMeet, stripOffset, yCentre) {}
0022
0023 ~CSCUngangedStripTopology() override {}
0024
0025
0026
0027
0028
0029 int channel(const LocalPoint& lp) const override { return CSCRadialStripTopology::channel(lp) + 1; }
0030
0031
0032
0033
0034
0035 int channel(int strip) const override { return strip; }
0036
0037
0038
0039
0040
0041
0042
0043 CSCStripTopology* clone() const override { return new CSCUngangedStripTopology(*this); }
0044
0045
0046
0047
0048 std::ostream& put(std::ostream& os) const override { return os << "CSCUngangedStripTopology"; }
0049 };
0050
0051 #endif