CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 {
28  }
29 
34  int channel(int strip) const {
35  while(strip > theNumberOfGangedStrips) strip -= theNumberOfGangedStrips;
36  while(strip <= 0) strip += theNumberOfGangedStrips;
37  return strip;
38  }
39 
47  return new CSCGangedStripTopology(*this);
48  }
49 
53  std::ostream& put ( std::ostream& os ) const {
54  return os << "CSCGangedStripTopology";
55  }
56 
57  private:
59 };
60 
61 #endif
62 
63 
CaloTopology const * topology(0)
int channel(const LocalPoint &lp) const
CSCStripTopology * clone() const
virtual float strip(const LocalPoint &) const
int channel(int strip) const
CSCGangedStripTopology(const CSCStripTopology &topology, int numberOfGangedStrips)
std::ostream & put(std::ostream &os) const
virtual float strip(const LocalPoint &) const