CMS 3D CMS Logo

CSCUngangedStripTopology Class Reference

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

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

Inheritance diagram for CSCUngangedStripTopology:

CSCStripTopology OffsetRadialStripTopology RadialStripTopology StripTopology Topology

List of all members.

Public Member Functions

int channel (int strip) const
 Return channel corresponding to a strip.
int channel (const LocalPoint &lp) const
 Return channel corresponding to a LocalPoint.
CSCStripTopologyclone () const
 Clone to handle correct copy of component objects referenced by base class pointer.
 CSCUngangedStripTopology (int numberOfStrips, float stripPhiPitch, float detectorHeight, float whereStripsMeet, float stripOffset, float yCentre)
std::ostream & put (std::ostream &os) const
 Implement CSCStripTopology interface for its op<<.
 ~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().

00018                                                                                      :
00019     CSCStripTopology( numberOfStrips, stripPhiPitch, 
00020        detectorHeight, whereStripsMeet, stripOffset, yCentre ){}

CSCUngangedStripTopology::~CSCUngangedStripTopology (  )  [inline]

Definition at line 22 of file CSCUngangedStripTopology.h.

00022 {}


Member Function Documentation

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.

00036 {return strip;}

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.

References RadialStripTopology::channel().

00028                                           {
00029     return RadialStripTopology::channel(lp) + 1;
00030   }

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

00044                                   {
00045     return new CSCUngangedStripTopology(*this);
00046   }

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.

00051                                            {
00052     return os << "CSCUngangedStripTopology";
00053   }


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