CMS 3D CMS Logo

CSCGangedWireGrouping.h
Go to the documentation of this file.
1 #ifndef CSC_GANGED_WIRE_GROUPING_H
2 #define CSC_GANGED_WIRE_GROUPING_H
3 
16 #include <vector>
17 
19 public:
20  typedef std::vector<int> Container;
21  typedef Container::const_iterator CIterator;
22 
23  ~CSCGangedWireGrouping() override {}
24 
28  CSCGangedWireGrouping(const Container& consecutiveGroups,
29  const Container& wiresInConsecutiveGroups,
30  int numberOfGroups);
31 
38  int numberOfWires() const override { return theNumberOfWires; }
39 
43  int numberOfWireGroups() const override { return theNumberOfGroups; }
44 
48  int numberOfWiresPerGroup(int wireGroup) const override;
49 
53  int wireGroup(int wire) const override;
54 
61  float middleWireOfGroup(int wireGroup) const override;
62 
67  CSCWireGrouping* clone() const override { return new CSCGangedWireGrouping(*this); }
68 
69 private:
70  // Expanded information from DDD
75 };
76 
77 #endif
CSCGangedWireGrouping(const Container &consecutiveGroups, const Container &wiresInConsecutiveGroups, int numberOfGroups)
int numberOfWireGroups() const override
CSCWireGrouping * clone() const override
std::vector< int > Container
int numberOfWiresPerGroup(int wireGroup) const override
Container::const_iterator CIterator
int wireGroup(int wire) const override
float middleWireOfGroup(int wireGroup) const override
int numberOfWires() const override