CMS 3D CMS Logo

Public Member Functions

CSCWireGrouping Class Reference

#include <CSCWireGrouping.h>

Inheritance diagram for CSCWireGrouping:
CSCGangedWireGrouping CSCUngangedWireGrouping

List of all members.

Public Member Functions

virtual CSCWireGroupingclone () const =0
virtual float middleWireOfGroup (int wireGroup) const =0
virtual int numberOfWireGroups () const =0
virtual int numberOfWires () const =0
virtual int numberOfWiresPerGroup (int wireGroup) const =0
virtual int wireGroup (int wire) const =0
virtual ~CSCWireGrouping ()

Detailed Description

An ABC defining interface for wire-grouping related functionality for detectors modelled by a WireTopology.

Author:
Tim Cox

Definition at line 12 of file CSCWireGrouping.h.


Constructor & Destructor Documentation

virtual CSCWireGrouping::~CSCWireGrouping ( ) [inline, virtual]

Definition at line 14 of file CSCWireGrouping.h.

{}

Member Function Documentation

virtual CSCWireGrouping* CSCWireGrouping::clone ( ) const [pure virtual]

Allow proper copying of derived classes via base pointer

Implemented in CSCGangedWireGrouping, and CSCUngangedWireGrouping.

Referenced by CSCWireTopology::CSCWireTopology(), and CSCWireTopology::operator=().

virtual float CSCWireGrouping::middleWireOfGroup ( int  wireGroup) const [pure 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.

Implemented in CSCGangedWireGrouping, and CSCUngangedWireGrouping.

Referenced by CSCWireTopology::middleWireOfGroup().

virtual int CSCWireGrouping::numberOfWireGroups ( ) const [pure virtual]

How many wire groups

Implemented in CSCGangedWireGrouping, and CSCUngangedWireGrouping.

Referenced by CSCWireTopology::numberOfWireGroups().

virtual int CSCWireGrouping::numberOfWires ( ) const [pure virtual]

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.

Implemented in CSCGangedWireGrouping, and CSCUngangedWireGrouping.

Referenced by CSCWireTopology::numberOfWires().

virtual int CSCWireGrouping::numberOfWiresPerGroup ( int  wireGroup) const [pure virtual]

How many wires in a wiregroup

Implemented in CSCGangedWireGrouping, and CSCUngangedWireGrouping.

Referenced by CSCWireTopology::numberOfWiresPerGroup(), and CSCWireTopology::yResolution().

virtual int CSCWireGrouping::wireGroup ( int  wire) const [pure virtual]

Wire group containing a given wire

Implemented in CSCGangedWireGrouping, and CSCUngangedWireGrouping.

Referenced by CSCWireTopology::channel(), and CSCWireTopology::wireGroup().