CMS 3D CMS Logo

CSCWireGrouping Class Reference

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

#include <Geometry/CSCGeometry/src/CSCWireGrouping.h>

Inheritance diagram for CSCWireGrouping:

CSCGangedWireGrouping CSCUngangedWireGrouping

List of all members.

Public Member Functions

virtual CSCWireGroupingclone () const =0
 Allow proper copying of derived classes via base pointer.
virtual float middleWireOfGroup (int wireGroup) const =0
 Middle of wire-group.
virtual int numberOfWireGroups () const =0
 How many wire groups.
virtual int numberOfWires () const =0
 Total number of (virtual) wires.
virtual int numberOfWiresPerGroup (int wireGroup) const =0
 How many wires in a wiregroup.
virtual int wireGroup (int wire) const =0
 Wire group containing a given wire.
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.

00014 {}


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().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:17:33 2009 for CMSSW by  doxygen 1.5.4