CMS 3D CMS Logo

CSCGangedStripTopology.h
Go to the documentation of this file.
1 #ifndef ORED_OFFSET_RST_H
2 #define ORED_OFFSET_RST_H
3 
12 
14 {
15 public:
16 
17  CSCGangedStripTopology(const CSCStripTopology & topology, int numberOfGangedStrips )
18  : CSCStripTopology(topology), theNumberOfGangedStrips(numberOfGangedStrips) {}
19 
21 
26  int channel(const LocalPoint& lp) const override {
28  }
29 
34  int channel(int strip) const override {
35  while(strip > theNumberOfGangedStrips) strip -= theNumberOfGangedStrips;
36  while(strip <= 0) strip += theNumberOfGangedStrips;
37  return strip;
38  }
39 
46  CSCStripTopology* clone() const override {
47  return new CSCGangedStripTopology(*this);
48  }
49 
53  std::ostream& put ( std::ostream& os ) const override {
54  return os << "CSCGangedStripTopology";
55  }
56 
57  private:
59 };
60 
61 #endif
62 
63 
CaloTopology const * topology(0)
float strip(const LocalPoint &) const override
CSCStripTopology * clone() const override
int channel(const LocalPoint &lp) const override
std::ostream & put(std::ostream &os) const override
CSCGangedStripTopology(const CSCStripTopology &topology, int numberOfGangedStrips)
float strip(const LocalPoint &) const override
int channel(int strip) const override