CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
CSCGangedStripTopology Class Reference

#include <CSCGangedStripTopology.h>

Inheritance diagram for CSCGangedStripTopology:
CSCStripTopology OffsetRadialStripTopology RadialStripTopology StripTopology Topology

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 ()
 
- Public Member Functions inherited from CSCStripTopology
 CSCStripTopology (int ns, float aw, float dh, float r, float aoff, float ymid)
 
std::pair< float, float > equationOfStrip (float strip) const
 
std::pair< float, float > yLimitsOfStripPlane () const
 
virtual ~CSCStripTopology ()
 
- Public Member Functions inherited from OffsetRadialStripTopology
virtual LocalPoint localPosition (float strip) const
 
virtual LocalPoint localPosition (const MeasurementPoint &) const
 
virtual MeasurementPoint measurementPosition (const LocalPoint &) const
 
 OffsetRadialStripTopology (int numberOfStrips, float stripPhiPitch, float detectorHeight, float radialDistance, float stripOffset, float yCentre)
 
virtual float strip (const LocalPoint &) const
 
float stripAngle (float strip) const
 
virtual float stripOffset (void) const
 
virtual ~OffsetRadialStripTopology ()
 
- Public Member Functions inherited from RadialStripTopology
float angularWidth () const
 
float centreToIntersection () const
 
float detHeight () const
 
virtual LocalError localError (float strip, float stripErr2) const
 
virtual LocalError localError (const MeasurementPoint &, const MeasurementError &) const
 
virtual float localPitch (const LocalPoint &) const
 
virtual float localStripLength (const LocalPoint &) const
 
virtual MeasurementError measurementError (const LocalPoint &, const LocalError &) const
 
virtual int nearestStrip (const LocalPoint &) const
 
virtual int nstrips () const
 
float originToIntersection () const
 
float phiOfOneEdge () const
 
virtual float phiPitch (void) const
 
virtual float pitch () const
 
 RadialStripTopology (int ns, float aw, float dh, float r, int yAx=1, float yMid=0.)
 
virtual float stripLength () const
 
float xOfStrip (int strip, float y) const
 
int yAxisOrientation () const
 
float yCentreOfStripPlane () const
 
float yDistanceToIntersection (float y) const
 
float yExtentOfStripPlane () const
 
virtual ~RadialStripTopology ()
 
- Public Member Functions inherited from StripTopology
virtual LocalError localError (float strip, float stripErr2, const Topology::LocalTrackPred &) const
 conversion taking also the angle from the predicted track state More...
 
virtual float localPitch (const LocalPoint &lp, const Topology::LocalTrackAngles &) const
 conversion taking also the angle from the track state (LocalTrajectoryParameters) More...
 
virtual LocalPoint localPosition (float strip, const Topology::LocalTrackPred &) const
 conversion taking also the predicted track state More...
 
virtual float localStripLength (const LocalPoint &lp, const Topology::LocalTrackAngles &) const
 conversion taking also the angle from the track state (LocalTrajectoryParameters) More...
 
virtual float strip (const LocalPoint &lp, const Topology::LocalTrackAngles &) const
 conversion taking also the angle from the track state (LocalTrajectoryParameters) More...
 
virtual ~StripTopology ()
 
- Public Member Functions inherited from Topology
virtual int channel (const LocalPoint &lp, const LocalTrackAngles &) const
 conversion taking also the angle from the track state More...
 
virtual LocalError localError (const MeasurementPoint &mp, const MeasurementError &me, const LocalTrackPred &) const
 conversion taking also the angle from the predicted track state More...
 
virtual LocalPoint localPosition (const MeasurementPoint &mp, const LocalTrackPred &) const
 conversion taking also the angle from the predicted track state More...
 
virtual MeasurementError measurementError (const LocalPoint &lp, const LocalError &le, const LocalTrackAngles &) const
 conversion taking also the angle from the track state More...
 
virtual MeasurementPoint measurementPosition (const LocalPoint &lp, const LocalTrackAngles &) const
 conversion taking also the angle from the track state More...
 
virtual ~Topology ()
 

Private Attributes

int theNumberOfGangedStrips
 

Additional Inherited Members

- Public Types inherited from Topology
typedef Point2DBase< double,
LocalTag
Local2DPoint
 
typedef Vector2D::MathVector MathVector2D
 
typedef Basic2DVector< double > Vector2D
 

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

18  : CSCStripTopology(topology), theNumberOfGangedStrips(numberOfGangedStrips) {}
CSCStripTopology(int ns, float aw, float dh, float r, float aoff, float ymid)
CSCGangedStripTopology::~CSCGangedStripTopology ( )
inline

Definition at line 20 of file CSCGangedStripTopology.h.

20 {}

Member Function Documentation

int CSCGangedStripTopology::channel ( const LocalPoint lp) const
inlinevirtual

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

Implements OffsetRadialStripTopology.

Definition at line 26 of file CSCGangedStripTopology.h.

References RadialStripTopology::strip(), and theNumberOfGangedStrips.

26  {
27  return (int) (RadialStripTopology::strip(lp)) % theNumberOfGangedStrips + 1;
28  }
virtual float strip(const LocalPoint &) const
int CSCGangedStripTopology::channel ( int  strip) const
inlinevirtual

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

Implements OffsetRadialStripTopology.

Definition at line 34 of file CSCGangedStripTopology.h.

References OffsetRadialStripTopology::strip(), and theNumberOfGangedStrips.

34  {
36  while(strip <= 0) strip += theNumberOfGangedStrips;
37  return strip;
38  }
virtual float strip(const LocalPoint &) const
CSCStripTopology* CSCGangedStripTopology::clone ( void  ) const
inlinevirtual

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

46  {
47  return new CSCGangedStripTopology(*this);
48  }
CSCGangedStripTopology(const CSCStripTopology &topology, int numberOfGangedStrips)
std::ostream& CSCGangedStripTopology::put ( std::ostream &  os) const
inlinevirtual

Implement CSCStripTopology interface for its op<<

Implements CSCStripTopology.

Definition at line 53 of file CSCGangedStripTopology.h.

53  {
54  return os << "CSCGangedStripTopology";
55  }

Member Data Documentation

int CSCGangedStripTopology::theNumberOfGangedStrips
private

Definition at line 58 of file CSCGangedStripTopology.h.

Referenced by channel().