CMS 3D CMS Logo

Public Member Functions

CSCUngangedStripTopology Class Reference

#include <CSCUngangedStripTopology.h>

Inheritance diagram for CSCUngangedStripTopology:
CSCStripTopology OffsetRadialStripTopology RadialStripTopology StripTopology Topology

List of all members.

Public Member Functions

int channel (const LocalPoint &lp) const
int channel (int strip) const
CSCStripTopologyclone () const
 CSCUngangedStripTopology (int numberOfStrips, float stripPhiPitch, float detectorHeight, float whereStripsMeet, float stripOffset, float yCentre)
std::ostream & put (std::ostream &os) const
 ~CSCUngangedStripTopology ()

Detailed Description

A concrete CSCStripTopology with unganged strips (normal CSC case.)

Author:
Tim Cox

Definition at line 13 of file CSCUngangedStripTopology.h.


Constructor & Destructor Documentation

CSCUngangedStripTopology::CSCUngangedStripTopology ( int  numberOfStrips,
float  stripPhiPitch,
float  detectorHeight,
float  whereStripsMeet,
float  stripOffset,
float  yCentre 
) [inline]

Definition at line 17 of file CSCUngangedStripTopology.h.

Referenced by clone().

                                                                                     :
    CSCStripTopology( numberOfStrips, stripPhiPitch, 
       detectorHeight, whereStripsMeet, stripOffset, yCentre ){}
CSCUngangedStripTopology::~CSCUngangedStripTopology ( ) [inline]

Definition at line 22 of file CSCUngangedStripTopology.h.

{}

Member Function Documentation

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

Return channel corresponding to a LocalPoint. (but we count from 1 whereas RST counts from 0.)

Implements OffsetRadialStripTopology.

Definition at line 28 of file CSCUngangedStripTopology.h.

                                          {
    return RadialStripTopology::channel(lp) + 1;
  }
int CSCUngangedStripTopology::channel ( int  strip) const [inline, virtual]

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

Implements OffsetRadialStripTopology.

Definition at line 36 of file CSCUngangedStripTopology.h.

References OffsetRadialStripTopology::strip().

{return strip;}
CSCStripTopology* CSCUngangedStripTopology::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 CSCUngangedStripTopology* clone() const

Implements CSCStripTopology.

Definition at line 44 of file CSCUngangedStripTopology.h.

References CSCUngangedStripTopology().

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

Implement CSCStripTopology interface for its op<<

Implements CSCStripTopology.

Definition at line 51 of file CSCUngangedStripTopology.h.

                                           {
    return os << "CSCUngangedStripTopology";
  }