#include <CSCGangedWireGrouping.h>
Public Types | |
typedef Container::const_iterator | CIterator |
typedef std::vector< int > | Container |
Public Member Functions | |
CSCWireGrouping * | clone () const override |
CSCGangedWireGrouping (const Container &consecutiveGroups, const Container &wiresInConsecutiveGroups, int numberOfGroups) | |
float | middleWireOfGroup (int wireGroup) const override |
int | numberOfWireGroups () const override |
int | numberOfWires () const override |
int | numberOfWiresPerGroup (int wireGroup) const override |
int | wireGroup (int wire) const override |
~CSCGangedWireGrouping () override | |
Public Member Functions inherited from CSCWireGrouping | |
virtual | ~CSCWireGrouping () |
Private Attributes | |
Container | theFirstWireOfEachWireGroup |
int | theNumberOfGroups |
int | theNumberOfWires |
Container | theNumberOfWiresPerWireGroup |
A concrete CSCWireGrouping in which wires are ganged.
All 'wire'-related values refer to 'virtual wires' which cover the face of the detector. All 'wire-group' values refer to actual active (in principle) read out channels.
Definition at line 18 of file CSCGangedWireGrouping.h.
typedef Container::const_iterator CSCGangedWireGrouping::CIterator |
Definition at line 23 of file CSCGangedWireGrouping.h.
typedef std::vector<int> CSCGangedWireGrouping::Container |
Definition at line 22 of file CSCGangedWireGrouping.h.
|
inlineoverride |
CSCGangedWireGrouping::CSCGangedWireGrouping | ( | const Container & | consecutiveGroups, |
const Container & | wiresInConsecutiveGroups, | ||
int | numberOfGroups | ||
) |
Constructor from endcap muon wire information parsed from DDD
Definition at line 10 of file CSCGangedWireGrouping.cc.
References mps_fire::i, LogTrace, theFirstWireOfEachWireGroup, theNumberOfWires, and theNumberOfWiresPerWireGroup.
Referenced by clone(), and ~CSCGangedWireGrouping().
|
inlineoverridevirtual |
Clone to handle correct copy of component objects referenced by base class pointer.
Implements CSCWireGrouping.
Definition at line 71 of file CSCGangedWireGrouping.h.
References CSCGangedWireGrouping().
|
overridevirtual |
Middle of wire-group. This is the central wire no. for a group with an odd no. of wires. This is a pseudo-wire no. for a group with an even no. of wires. Accordingly, it is non-integer.
Implements CSCWireGrouping.
Definition at line 96 of file CSCGangedWireGrouping.cc.
References theFirstWireOfEachWireGroup, theNumberOfGroups, and theNumberOfWiresPerWireGroup.
Referenced by numberOfWireGroups().
|
inlineoverridevirtual |
How many wire groups
Implements CSCWireGrouping.
Definition at line 46 of file CSCGangedWireGrouping.h.
References middleWireOfGroup(), numberOfWiresPerGroup(), theNumberOfGroups, and wireGroup().
|
inlineoverridevirtual |
Total number of (virtual) wires. Some wires may not be implemented in the hardware. This is the number which would fill the region covered by wires, assuming the constant wire spacing.
Implements CSCWireGrouping.
Definition at line 40 of file CSCGangedWireGrouping.h.
References theNumberOfWires.
|
overridevirtual |
How many wires in a wiregroup
Implements CSCWireGrouping.
Definition at line 61 of file CSCGangedWireGrouping.cc.
References theNumberOfGroups, and theNumberOfWiresPerWireGroup.
Referenced by numberOfWireGroups().
|
overridevirtual |
Wire group containing a given wire
Implements CSCWireGrouping.
Definition at line 67 of file CSCGangedWireGrouping.cc.
References triggerObjects_cff::id, theFirstWireOfEachWireGroup, and theNumberOfWiresPerWireGroup.
Referenced by numberOfWireGroups().
|
private |
Definition at line 79 of file CSCGangedWireGrouping.h.
Referenced by CSCGangedWireGrouping(), middleWireOfGroup(), and wireGroup().
|
private |
Definition at line 78 of file CSCGangedWireGrouping.h.
Referenced by middleWireOfGroup(), numberOfWireGroups(), and numberOfWiresPerGroup().
|
private |
Definition at line 77 of file CSCGangedWireGrouping.h.
Referenced by CSCGangedWireGrouping(), and numberOfWires().
|
private |
Definition at line 80 of file CSCGangedWireGrouping.h.
Referenced by CSCGangedWireGrouping(), middleWireOfGroup(), numberOfWiresPerGroup(), and wireGroup().