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 
20  public:
21 
22  typedef std::vector<int> Container;
23  typedef Container::const_iterator CIterator;
24 
25  ~CSCGangedWireGrouping() override {}
26 
30  CSCGangedWireGrouping( const Container& consecutiveGroups,
31  const Container& wiresInConsecutiveGroups,
32  int numberOfGroups );
33 
40  int numberOfWires() const override {
41  return theNumberOfWires; }
42 
46  int numberOfWireGroups() const override {
47  return theNumberOfGroups; }
48 
52  int numberOfWiresPerGroup( int wireGroup ) const override;
53 
57  int wireGroup( int wire ) const override;
58 
65  float middleWireOfGroup( int wireGroup ) const override;
66 
71  CSCWireGrouping* clone() const override {
72  return new CSCGangedWireGrouping(*this);
73  }
74 
75  private:
76  // Expanded information from DDD
81 
82 };
83 
84 #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