CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CSCGangedStripTopology Class Reference

#include <CSCGangedStripTopology.h>

Inheritance diagram for CSCGangedStripTopology:
CSCStripTopology OffsetRadialStripTopology CSCRadialStripTopology RadialStripTopology StripTopology Topology

Public Member Functions

int channel (const LocalPoint &lp) const override
 
int channel (int strip) const override
 
CSCStripTopologyclone () const override
 
 CSCGangedStripTopology (const CSCStripTopology &topology, int numberOfGangedStrips)
 
std::ostream & put (std::ostream &os) const override
 
 ~CSCGangedStripTopology () override
 
- 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
 
 ~CSCStripTopology () override
 
- Public Member Functions inherited from OffsetRadialStripTopology
LocalPoint localPosition (float strip) const override
 
LocalPoint localPosition (const MeasurementPoint &) const override
 
MeasurementPoint measurementPosition (const LocalPoint &) const override
 
 OffsetRadialStripTopology (int numberOfStrips, float stripPhiPitch, float detectorHeight, float radialDistance, float stripOffset, float yCentre)
 
float strip (const LocalPoint &) const override
 
float stripAngle (float strip) const override
 
virtual float stripOffset (void) const
 
 ~OffsetRadialStripTopology () override
 
- Public Member Functions inherited from CSCRadialStripTopology
float angularWidth () const override
 
float centreToIntersection () const override
 
 CSCRadialStripTopology (int ns, float aw, float dh, float r, float yAx=1.f, float yMid=0.)
 
float detHeight () const override
 
LocalError localError (float strip, float stripErr2) const override
 
LocalError localError (const MeasurementPoint &, const MeasurementError &) const override
 
float localPitch (const LocalPoint &) const override
 
float localStripLength (const LocalPoint &) const override
 
MeasurementError measurementError (const LocalPoint &, const LocalError &) const override
 
int nearestStrip (const LocalPoint &) const override
 
int nstrips () const override
 
float originToIntersection () const override
 
float phiOfOneEdge () const override
 
float phiPitch (void) const override
 
float stripLength () const override
 
float xOfStrip (int strip, float y) const override
 
float yAxisOrientation () const override
 
float yCentreOfStripPlane () const override
 
float yDistanceToIntersection (float y) const override
 
float yExtentOfStripPlane () const override
 
 ~CSCRadialStripTopology () override
 
- Public Member Functions inherited from RadialStripTopology
virtual LocalError localError (float strip, float stripErr2) const=0
 
virtual LocalError localError (float strip, float stripErr2, const Topology::LocalTrackPred &) const
 conversion taking also the angle from the predicted track state More...
 
virtual LocalPoint localPosition (float strip) const=0
 
virtual LocalPoint localPosition (float strip, const Topology::LocalTrackPred &) const
 conversion taking also the predicted track state More...
 
float pitch () const final
 
 ~RadialStripTopology () override
 
- Public Member Functions inherited from StripTopology
virtual float coveredStrips (const LocalPoint &lp1, const LocalPoint &lp2) const
 
virtual LocalError localError (float strip, float stripErr2, const Topology::LocalTrackPred &) const
 conversion taking also the angle from the predicted track state More...
 
virtual LocalError localError (const MeasurementPoint &, const MeasurementError &) const=0
 
virtual LocalError localError (const MeasurementPoint &mp, const MeasurementError &me, const 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 (const MeasurementPoint &) const=0
 
virtual LocalPoint localPosition (const MeasurementPoint &mp, const LocalTrackPred &) const
 conversion taking also the angle from the predicted track state 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...
 
 ~StripTopology () override
 
- 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, LocalTagLocal2DPoint
 
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::CSCGangedStripTopology ( const CSCStripTopology topology,
int  numberOfGangedStrips 
)
inline

Definition at line 15 of file CSCGangedStripTopology.h.

Referenced by clone().

16  : CSCStripTopology(topology), theNumberOfGangedStrips(numberOfGangedStrips) {}
CSCStripTopology(int ns, float aw, float dh, float r, float aoff, float ymid)

◆ ~CSCGangedStripTopology()

CSCGangedStripTopology::~CSCGangedStripTopology ( )
inlineoverride

Definition at line 18 of file CSCGangedStripTopology.h.

18 {}

Member Function Documentation

◆ channel() [1/2]

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

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

Implements OffsetRadialStripTopology.

Definition at line 24 of file CSCGangedStripTopology.h.

References CSCRadialStripTopology::strip(), and theNumberOfGangedStrips.

24  {
26  }
float strip(const LocalPoint &) const override

◆ channel() [2/2]

int CSCGangedStripTopology::channel ( int  strip) const
inlineoverridevirtual

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

Implements OffsetRadialStripTopology.

Definition at line 32 of file CSCGangedStripTopology.h.

References OffsetRadialStripTopology::strip(), and theNumberOfGangedStrips.

32  {
35  while (strip <= 0)
37  return strip;
38  }
float strip(const LocalPoint &) const override

◆ clone()

CSCStripTopology* CSCGangedStripTopology::clone ( void  ) const
inlineoverridevirtual

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 { return new CSCGangedStripTopology(*this); }
CSCGangedStripTopology(const CSCStripTopology &topology, int numberOfGangedStrips)

◆ put()

std::ostream& CSCGangedStripTopology::put ( std::ostream &  os) const
inlineoverridevirtual

Implement CSCStripTopology interface for its op<<

Implements CSCStripTopology.

Definition at line 51 of file CSCGangedStripTopology.h.

References l1tGTMenu_BTagSeeds_cff::os.

51 { return os << "CSCGangedStripTopology"; }

Member Data Documentation

◆ theNumberOfGangedStrips

int CSCGangedStripTopology::theNumberOfGangedStrips
private

Definition at line 54 of file CSCGangedStripTopology.h.

Referenced by channel().