CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

StripGeomDetUnit Class Reference

#include <StripGeomDetUnit.h>

Inheritance diagram for StripGeomDetUnit:
GeomDetUnit GeomDet

List of all members.

Public Member Functions

virtual const StripTopologyspecificTopology () const
 Returns a reference to the strip proxy topology.
virtual StripGeomDetTypespecificType () const
 StripGeomDetUnit (BoundPlane *sp, StripGeomDetType *type, const GeometricDet *gd)
virtual const SurfaceDeformationsurfaceDeformation () const
 Return pointer to surface deformation.
virtual const Topologytopology () const
 Returns a reference to the strip proxy topology.
virtual const GeomDetTypetype () const

Private Member Functions

virtual void setSurfaceDeformation (const SurfaceDeformation *deformation)
 set the SurfaceDeformation for this StripGeomDetUnit to proxy topology.

Private Attributes

const GeometricDettheGD
boost::shared_ptr
< ProxyStripTopology
theTopology

Detailed Description

StripGeomDetUnit is the abstract class for SiStripGeomDetUnit.

Definition at line 18 of file StripGeomDetUnit.h.


Constructor & Destructor Documentation

StripGeomDetUnit::StripGeomDetUnit ( BoundPlane sp,
StripGeomDetType type,
const GeometricDet gd 
)

Member Function Documentation

void StripGeomDetUnit::setSurfaceDeformation ( const SurfaceDeformation deformation) [private, virtual]

set the SurfaceDeformation for this StripGeomDetUnit to proxy topology.

Reimplemented from GeomDetUnit.

Definition at line 21 of file StripGeomDetUnit.cc.

References theTopology.

{
  theTopology->setSurfaceDeformation(deformation);
}
const StripTopology & StripGeomDetUnit::specificTopology ( ) const [virtual]
StripGeomDetType & StripGeomDetUnit::specificType ( ) const [virtual]

NOTE (A.M.): The actual pointer to StripGeomDetType is now a member of the proxy topology. As StripGeomDetType has the actual topology as a pointer, it is possible to access this topology in two different ways. Once via the proxy topology (through topology() and specificTopology()) which includes corrections for the surface deformations, and once via the GeomDetType (through type().topology() and the like).

Definition at line 15 of file StripGeomDetUnit.cc.

References theTopology.

Referenced by StripCPE::fillParam(), and SiTrivialInduceChargeOnStrips::typeOf().

{ return theTopology->specificType(); }
virtual const SurfaceDeformation* StripGeomDetUnit::surfaceDeformation ( ) const [inline, virtual]

Return pointer to surface deformation.

Reimplemented from GeomDetUnit.

Definition at line 48 of file StripGeomDetUnit.h.

References theTopology.

                                                                { 
    return theTopology->surfaceDeformation();
  }
const Topology & StripGeomDetUnit::topology ( ) const [virtual]

Returns a reference to the strip proxy topology.

Implements GeomDetUnit.

Definition at line 17 of file StripGeomDetUnit.cc.

References theTopology.

Referenced by SiStripRecHitsValid::analyze(), SiStripTrackingRecHitsValid::analyze(), and StripCPE::fillParam().

{ return *theTopology; }
const GeomDetType & StripGeomDetUnit::type ( ) const [virtual]

NOTE (A.M.): The actual pointer to StripGeomDetType is now a member of the proxy topology. As StripGeomDetType has the actual topology as a pointer, it is possible to access this topology in two different ways. Once via the proxy topology (through topology() and specificTopology()) which includes corrections for the surface deformations, and once via the GeomDetType (through type().topology() and the like).

Implements GeomDetUnit.

Definition at line 13 of file StripGeomDetUnit.cc.

References theTopology.

Referenced by SiClusterTranslator::produce().

{ return theTopology->type(); }

Member Data Documentation

Definition at line 58 of file StripGeomDetUnit.h.

Referenced by StripGeomDetUnit().

boost::shared_ptr<ProxyStripTopology> StripGeomDetUnit::theTopology [private]