CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CSCUngangedWireGrouping.h
Go to the documentation of this file.
1 #ifndef CSC_UNGANGED_WIRE_GROUPING_H
2 #define CSC_UNGANGED_WIRE_GROUPING_H
3 
12 
14 public:
16  explicit CSCUngangedWireGrouping(int nwires) : theNumberOfWires(nwires) {}
17 
24  int numberOfWires() const { return theNumberOfWires; }
25 
29  int numberOfWireGroups() const { return numberOfWires(); }
30 
34  int numberOfWiresPerGroup(int wireGroup) const { return 1; }
35 
39  int wireGroup(int wire) const { return wire; }
40 
48  float middleWireOfGroup(int wireGroup) const { return static_cast<float>(wireGroup); }
49 
54  CSCWireGrouping* clone() const { return new CSCUngangedWireGrouping(*this); }
55 
56 private:
58 };
59 
60 #endif
float middleWireOfGroup(int wireGroup) const
CSCWireGrouping * clone() const
int numberOfWiresPerGroup(int wireGroup) const
int wireGroup(int wire) const