#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 21 of file CSCGangedWireGrouping.h.
typedef std::vector<int> CSCGangedWireGrouping::Container |
Definition at line 20 of file CSCGangedWireGrouping.h.
|
inlineoverride |
Definition at line 23 of file CSCGangedWireGrouping.h.
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().
|
inlineoverridevirtual |
Clone to handle correct copy of component objects referenced by base class pointer.
Implements CSCWireGrouping.
Definition at line 67 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 94 of file CSCGangedWireGrouping.cc.
References theFirstWireOfEachWireGroup, theNumberOfGroups, theNumberOfWiresPerWireGroup, and wireGroup().
|
inlineoverridevirtual |
How many wire groups
Implements CSCWireGrouping.
Definition at line 43 of file CSCGangedWireGrouping.h.
References theNumberOfGroups.
|
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 38 of file CSCGangedWireGrouping.h.
References theNumberOfWires.
|
overridevirtual |
How many wires in a wiregroup
Implements CSCWireGrouping.
Definition at line 58 of file CSCGangedWireGrouping.cc.
References theNumberOfGroups, theNumberOfWiresPerWireGroup, and wireGroup().
|
overridevirtual |
Wire group containing a given wire
Implements CSCWireGrouping.
Definition at line 65 of file CSCGangedWireGrouping.cc.
References l1ctLayer2EG_cff::id, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, theFirstWireOfEachWireGroup, theNumberOfWiresPerWireGroup, pfDeepBoostedJetPreprocessParams_cfi::upper_bound, and nano_mu_digi_cff::wire.
Referenced by middleWireOfGroup(), and numberOfWiresPerGroup().
|
private |
Definition at line 73 of file CSCGangedWireGrouping.h.
Referenced by CSCGangedWireGrouping(), middleWireOfGroup(), and wireGroup().
|
private |
Definition at line 72 of file CSCGangedWireGrouping.h.
Referenced by middleWireOfGroup(), numberOfWireGroups(), and numberOfWiresPerGroup().
|
private |
Definition at line 71 of file CSCGangedWireGrouping.h.
Referenced by CSCGangedWireGrouping(), and numberOfWires().
|
private |
Definition at line 74 of file CSCGangedWireGrouping.h.
Referenced by CSCGangedWireGrouping(), middleWireOfGroup(), numberOfWiresPerGroup(), and wireGroup().