#include <StripGeomDetUnit.h>
Public Member Functions | |
virtual const StripTopology & | specificTopology () const |
Returns a reference to the strip proxy topology. | |
virtual StripGeomDetType & | specificType () const |
StripGeomDetUnit (BoundPlane *sp, StripGeomDetType *type, const GeometricDet *gd) | |
virtual const SurfaceDeformation * | surfaceDeformation () const |
Return pointer to surface deformation. | |
virtual const Topology & | topology () const |
Returns a reference to the strip proxy topology. | |
virtual const GeomDetType & | type () const |
Private Member Functions | |
virtual void | setSurfaceDeformation (const SurfaceDeformation *deformation) |
set the SurfaceDeformation for this StripGeomDetUnit to proxy topology. | |
Private Attributes | |
const GeometricDet * | theGD |
boost::shared_ptr < ProxyStripTopology > | theTopology |
StripGeomDetUnit is the abstract class for SiStripGeomDetUnit.
Definition at line 18 of file StripGeomDetUnit.h.
StripGeomDetUnit::StripGeomDetUnit | ( | BoundPlane * | sp, |
StripGeomDetType * | type, | ||
const GeometricDet * | gd | ||
) |
Definition at line 7 of file StripGeomDetUnit.cc.
References GeometricDet::geographicalID(), GeomDet::setDetId(), and theGD.
: GeomDetUnit(sp), theTopology(new ProxyStripTopology(type, sp)), theGD(gd) { if(theGD) setDetId(theGD->geographicalID()); }
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] |
Returns a reference to the strip proxy topology.
Definition at line 19 of file StripGeomDetUnit.cc.
References theTopology.
Referenced by SiStripDigitizerAlgorithm::accumulateSimHits(), SiStripGainFromData::algoBeginJob(), DeDxDiscriminatorLearner::algoBeginJob(), DeDxDiscriminatorLearnerFromCalibTree::algoBeginJob(), SiStripGainFromCalibTree::algoBeginJob(), TrackerDpgAnalysis::analyze(), SiStripMonitorMuonHLT::analyze(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), SiStripMonitorMuonHLT::analyzeOnTrackClusters(), DeDxDiscriminatorProducer::beginRun(), SiStripDetInfoFileWriter::beginRun(), SiStripDigitizerAlgorithm::digitize(), SiLinearChargeDivider::divide(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), ClusterShapeHitFilter::getCotangent(), ClusterShapeHitFilter::getSizes(), SiTrivialInduceChargeOnStrips::induceOriginal(), SiTrivialInduceChargeOnStrips::induceVector(), SiStripDigitizerAlgorithm::initializeDetUnit(), ShallowRechitClustersProducer::produce(), ShallowTrackClustersProducer::produce(), ShallowSimhitClustersProducer::produce(), TestSmoothHits::projectHit(), GlobalRecHitsProducer::projectHit(), TestHits::projectHit(), TestTrackHits::projectHit(), GlobalRecHitsAnalyzer::projectHit(), SiStripRecHitsValid::projectHit(), SiStripTrackingRecHitsValid::projectHit(), DigiSimLinkAlgorithm::run(), and TrackClusterSplitter::splitCluster().
{ return *theTopology; }
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::fillParams().
{ 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::fillParams().
{ 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(); }
const GeometricDet* StripGeomDetUnit::theGD [private] |
Definition at line 58 of file StripGeomDetUnit.h.
Referenced by StripGeomDetUnit().
boost::shared_ptr<ProxyStripTopology> StripGeomDetUnit::theTopology [private] |
Definition at line 57 of file StripGeomDetUnit.h.
Referenced by setSurfaceDeformation(), specificTopology(), specificType(), surfaceDeformation(), topology(), and type().