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
CSCWireGrouping.h
CSCGangedWireGrouping::theNumberOfWiresPerWireGroup
Container theNumberOfWiresPerWireGroup
Definition: CSCGangedWireGrouping.h:74
CSCGangedWireGrouping::middleWireOfGroup
float middleWireOfGroup(int wireGroup) const override
Definition: CSCGangedWireGrouping.cc:94
CSCGangedWireGrouping
Definition: CSCGangedWireGrouping.h:18
CSCGangedWireGrouping::numberOfWires
int numberOfWires() const override
Definition: CSCGangedWireGrouping.h:38
CSCGangedWireGrouping::numberOfWireGroups
int numberOfWireGroups() const override
Definition: CSCGangedWireGrouping.h:43
CSCGangedWireGrouping::~CSCGangedWireGrouping
~CSCGangedWireGrouping() override
Definition: CSCGangedWireGrouping.h:23
CSCGangedWireGrouping::CSCGangedWireGrouping
CSCGangedWireGrouping(const Container &consecutiveGroups, const Container &wiresInConsecutiveGroups, int numberOfGroups)
Definition: CSCGangedWireGrouping.cc:10
CSCGangedWireGrouping::clone
CSCWireGrouping * clone() const override
Definition: CSCGangedWireGrouping.h:67
CSCGangedWireGrouping::theNumberOfGroups
int theNumberOfGroups
Definition: CSCGangedWireGrouping.h:72
CSCGangedWireGrouping::CIterator
Container::const_iterator CIterator
Definition: CSCGangedWireGrouping.h:21
CSCGangedWireGrouping::Container
std::vector< int > Container
Definition: CSCGangedWireGrouping.h:20
CSCGangedWireGrouping::wireGroup
int wireGroup(int wire) const override
Definition: CSCGangedWireGrouping.cc:65
CSCGangedWireGrouping::numberOfWiresPerGroup
int numberOfWiresPerGroup(int wireGroup) const override
Definition: CSCGangedWireGrouping.cc:58
CSCGangedWireGrouping::theFirstWireOfEachWireGroup
Container theFirstWireOfEachWireGroup
Definition: CSCGangedWireGrouping.h:73
CSCGangedWireGrouping::theNumberOfWires
int theNumberOfWires
Definition: CSCGangedWireGrouping.h:71
CSCWireGrouping
Definition: CSCWireGrouping.h:12