#include <CSCGangedWireGrouping.h>
Public Types | |
typedef Container::const_iterator | CIterator |
typedef std::vector< int > | Container |
Public Member Functions | |
CSCWireGrouping * | clone () const |
CSCGangedWireGrouping (const Container &consecutiveGroups, const Container &wiresInConsecutiveGroups, int numberOfGroups) | |
float | middleWireOfGroup (int wireGroup) const |
int | numberOfWireGroups () const |
int | numberOfWires () const |
int | numberOfWiresPerGroup (int wireGroup) const |
int | wireGroup (int wire) const |
virtual | ~CSCGangedWireGrouping () |
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.
|
inlinevirtual |
CSCGangedWireGrouping::CSCGangedWireGrouping | ( | const Container & | consecutiveGroups, |
const Container & | wiresInConsecutiveGroups, | ||
int | numberOfGroups | ||
) |
Constructor from endcap muon wire information parsed from DDD
Definition at line 9 of file CSCGangedWireGrouping.cc.
References mps_fire::i, LogTrace, theFirstWireOfEachWireGroup, theNumberOfWires, and theNumberOfWiresPerWireGroup.
Referenced by clone(), and ~CSCGangedWireGrouping().
|
inlinevirtual |
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().
|
virtual |
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 97 of file CSCGangedWireGrouping.cc.
References theFirstWireOfEachWireGroup, theNumberOfGroups, and theNumberOfWiresPerWireGroup.
Referenced by numberOfWireGroups().
|
inlinevirtual |
How many wire groups
Implements CSCWireGrouping.
Definition at line 46 of file CSCGangedWireGrouping.h.
References middleWireOfGroup(), numberOfWiresPerGroup(), theNumberOfGroups, and wireGroup().
|
inlinevirtual |
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.
|
virtual |
How many wires in a wiregroup
Implements CSCWireGrouping.
Definition at line 62 of file CSCGangedWireGrouping.cc.
References theNumberOfGroups, and theNumberOfWiresPerWireGroup.
Referenced by numberOfWireGroups().
|
virtual |
Wire group containing a given wire
Implements CSCWireGrouping.
Definition at line 68 of file CSCGangedWireGrouping.cc.
References hcalTTPDigis_cfi::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().