#include <Geometry/CSCGeometry/src/CSCUngangedStripTopology.h>
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. | |
CSCStripTopology * | clone () 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 () |
)
Definition at line 13 of file CSCUngangedStripTopology.h.
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] |
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.