#include <CSCUngangedStripTopology.h>
Public Member Functions | |
int | channel (const LocalPoint &lp) const |
int | channel (int strip) const |
CSCStripTopology * | clone () const |
CSCUngangedStripTopology (int numberOfStrips, float stripPhiPitch, float detectorHeight, float whereStripsMeet, float stripOffset, float yCentre) | |
std::ostream & | put (std::ostream &os) const |
~CSCUngangedStripTopology () |
A concrete CSCStripTopology with unganged strips (normal CSC case.)
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().
: CSCStripTopology( numberOfStrips, stripPhiPitch, detectorHeight, whereStripsMeet, stripOffset, yCentre ){}
CSCUngangedStripTopology::~CSCUngangedStripTopology | ( | ) | [inline] |
Definition at line 22 of file CSCUngangedStripTopology.h.
{}
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"; }