CMS 3D CMS Logo

List of all members | Public Member Functions
CSCWireGrouping Class Referenceabstract

#include <CSCWireGrouping.h>

Inheritance diagram for CSCWireGrouping:
CSCGangedWireGrouping CSCUngangedWireGrouping

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

◆ ~CSCWireGrouping()

virtual CSCWireGrouping::~CSCWireGrouping ( )
inlinevirtual

Definition at line 14 of file CSCWireGrouping.h.

14 {}

Member Function Documentation

◆ clone()

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

◆ middleWireOfGroup()

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

◆ numberOfWireGroups()

virtual int CSCWireGrouping::numberOfWireGroups ( ) const
pure virtual

How many wire groups

Implemented in CSCGangedWireGrouping, and CSCUngangedWireGrouping.

Referenced by CSCWireTopology::numberOfWireGroups().

◆ numberOfWires()

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

◆ numberOfWiresPerGroup()

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

◆ wireGroup()

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