CMS 3D CMS Logo

Public Member Functions | Private Attributes

CSCGangedStripTopology Class Reference

#include <CSCGangedStripTopology.h>

Inheritance diagram for CSCGangedStripTopology:
CSCStripTopology OffsetRadialStripTopology CSCRadialStripTopology RadialStripTopology StripTopology Topology

List of all members.

Public Member Functions

int channel (const LocalPoint &lp) const
int channel (int strip) const
CSCStripTopologyclone () const
 CSCGangedStripTopology (const CSCStripTopology &topology, int numberOfGangedStrips)
std::ostream & put (std::ostream &os) const
 ~CSCGangedStripTopology ()

Private Attributes

int theNumberOfGangedStrips

Detailed Description

A concrete CSCStripTopology in which strips are ganged, as in ME1A chambers.

Author:
Tim Cox

Definition at line 13 of file CSCGangedStripTopology.h.


Constructor & Destructor Documentation

CSCGangedStripTopology::CSCGangedStripTopology ( const CSCStripTopology topology,
int  numberOfGangedStrips 
) [inline]

Definition at line 17 of file CSCGangedStripTopology.h.

Referenced by clone().

    : CSCStripTopology(topology), theNumberOfGangedStrips(numberOfGangedStrips) {}
CSCGangedStripTopology::~CSCGangedStripTopology ( ) [inline]

Definition at line 20 of file CSCGangedStripTopology.h.

{}

Member Function Documentation

int CSCGangedStripTopology::channel ( const LocalPoint lp) const [inline, virtual]

Return channel corresponding to a LocalPoint. (Count from 1)

Implements OffsetRadialStripTopology.

Definition at line 26 of file CSCGangedStripTopology.h.

References OffsetRadialStripTopology::strip(), and theNumberOfGangedStrips.

int CSCGangedStripTopology::channel ( int  strip) const [inline, virtual]

Return channel corresponding to a strip. (Count from 1).

Implements OffsetRadialStripTopology.

Definition at line 34 of file CSCGangedStripTopology.h.

References OffsetRadialStripTopology::strip(), and theNumberOfGangedStrips.

CSCStripTopology* CSCGangedStripTopology::clone ( void  ) const [inline, virtual]

Clone to handle correct copy of component objects referenced by base class pointer. If gcc could handle it, should be virtual CSCGangedStripTopology* clone() const

Implements CSCStripTopology.

Definition at line 46 of file CSCGangedStripTopology.h.

References CSCGangedStripTopology().

                                  {
    return new CSCGangedStripTopology(*this);
  }
std::ostream& CSCGangedStripTopology::put ( std::ostream &  os) const [inline, virtual]

Implement CSCStripTopology interface for its op<<

Implements CSCStripTopology.

Definition at line 53 of file CSCGangedStripTopology.h.

                                           {
    return os << "CSCGangedStripTopology";
  }

Member Data Documentation

Definition at line 58 of file CSCGangedStripTopology.h.

Referenced by channel().