test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
26 
30  CSCGangedWireGrouping( const Container& consecutiveGroups,
31  const Container& wiresInConsecutiveGroups,
32  int numberOfGroups );
33 
40  int numberOfWires() const {
41  return theNumberOfWires; }
42 
46  int numberOfWireGroups() const {
47  return theNumberOfGroups; }
48 
52  int numberOfWiresPerGroup( int wireGroup ) const;
53 
57  int wireGroup( int wire ) const;
58 
65  float middleWireOfGroup( int wireGroup ) const;
66 
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)
std::vector< int > Container
int wireGroup(int wire) const
Container::const_iterator CIterator
int numberOfWiresPerGroup(int wireGroup) const
float middleWireOfGroup(int wireGroup) const
CSCWireGrouping * clone() const