#include <PixelGeomDetUnit.h>
Public Member Functions | |
PixelGeomDetUnit (BoundPlane *sp, PixelGeomDetType *type, const GeometricDet *gd) | |
virtual const PixelTopology & | specificTopology () const |
Returns a reference to the pixel proxy topology. | |
virtual PixelGeomDetType & | specificType () const |
virtual const SurfaceDeformation * | surfaceDeformation () const |
Return pointer to surface deformation. | |
virtual const Topology & | topology () const |
Returns a reference to the pixel 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 < ProxyPixelTopology > | theTopology |
The base PixelGeomDetUnit. Specialized in SiPixelGeomDetUnit.
Definition at line 18 of file PixelGeomDetUnit.h.
PixelGeomDetUnit::PixelGeomDetUnit | ( | BoundPlane * | sp, |
PixelGeomDetType * | type, | ||
const GeometricDet * | gd | ||
) |
Definition at line 7 of file PixelGeomDetUnit.cc.
References GeometricDet::geographicalID(), GeomDet::setDetId(), and theGD.
: GeomDetUnit(sp), theTopology(new ProxyPixelTopology(type, sp)), theGD(gd) { setDetId(theGD->geographicalID()); }
void PixelGeomDetUnit::setSurfaceDeformation | ( | const SurfaceDeformation * | deformation | ) | [private, virtual] |
set the SurfaceDeformation for this StripGeomDetUnit to proxy topology.
Reimplemented from GeomDetUnit.
Definition at line 21 of file PixelGeomDetUnit.cc.
References theTopology.
{ theTopology->setSurfaceDeformation(deformation); }
const PixelTopology & PixelGeomDetUnit::specificTopology | ( | ) | const [virtual] |
Returns a reference to the pixel proxy topology.
Definition at line 19 of file PixelGeomDetUnit.cc.
References theTopology.
Referenced by SiPixelDigitizerAlgorithm::add_noise(), TrackerDpgAnalysis::analyze(), SiPixelMuonHLT::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), SiPixelLorentzAngle::analyze(), SiPixelDetInfoFileWriter::beginRun(), SiPixelErrorsDigisToCalibDigis::bookDQMHistoPlaquetteSummary2D(), SiPixelOfflineCalibAnalysisBase::bookDQMHistoPlaquetteSummary2D(), SiPixelDigiSource::buildStructure(), SiPixelRawDataErrorSource::buildStructure(), SiPixelClusterSource::buildStructure(), HitMatchingAlgorithm_window2013< T >::CheckTwoMemberHitsForCompatibility(), HitMatchingAlgorithm_tab2013< T >::CheckTwoMemberHitsForCompatibility(), HitMatchingAlgorithm_window2012< T >::CheckTwoMemberHitsForCompatibility(), SiPixelErrorEstimation::computeAnglesFromDetPosition(), ClusterShape::determineShape(), SiPixelDigitizerAlgorithm::digitize(), SiPixelClusterModule::fill(), SiPixelRecHitsValid::fillBarrel(), SiPixelRecHitsValid::fillForward(), QcdLowPtDQM::fillPixels(), SiPixelQuality::getBadRocPositions(), ClusterShapeHitFilter::getCotangent(), WindowFinder::getWindow(), HLTPixelClusterShapeFilter::hltFilter(), SiPixelDigitizerAlgorithm::induce_signal(), SiPixelFedCablingMapBuilder::myprint(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), PixelVertexProducerClusters::produce(), HIPixelClusterVtxProducer::produce(), PixelClusterSelectorTopBottom::produce(), PixelCPEBase::setTheDet(), PixelThresholdClusterizer::setup(), and TrackClusterSplitter::splitCluster().
{ return *theTopology; }
PixelGeomDetType & PixelGeomDetUnit::specificType | ( | ) | const [virtual] |
NOTE (A.M.): The actual pointer to PixelGeomDetType is now a member of the proxy topology. As PixelGeomDetType 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 PixelGeomDetUnit.cc.
References theTopology.
Referenced by SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit().
{ return theTopology->specificType(); }
virtual const SurfaceDeformation* PixelGeomDetUnit::surfaceDeformation | ( | ) | const [inline, virtual] |
Return pointer to surface deformation.
Reimplemented from GeomDetUnit.
Definition at line 48 of file PixelGeomDetUnit.h.
References theTopology.
{ return theTopology->surfaceDeformation(); }
const Topology & PixelGeomDetUnit::topology | ( | ) | const [virtual] |
Returns a reference to the pixel proxy topology.
Implements GeomDetUnit.
Definition at line 17 of file PixelGeomDetUnit.cc.
References theTopology.
Referenced by WindowFinder::dumphit(), WindowFinder::getWindow(), and SiClusterTranslator::produce().
{ return *theTopology; }
const GeomDetType & PixelGeomDetUnit::type | ( | ) | const [virtual] |
NOTE (A.M.): The actual pointer to PixelGeomDetType is now a member of the proxy topology. As PixelGeomDetType 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 PixelGeomDetUnit.cc.
References theTopology.
Referenced by PixelCPEBase::setTheDet().
{ return theTopology->type(); }
const GeometricDet* PixelGeomDetUnit::theGD [private] |
Definition at line 58 of file PixelGeomDetUnit.h.
Referenced by PixelGeomDetUnit().
boost::shared_ptr<ProxyPixelTopology> PixelGeomDetUnit::theTopology [private] |
Definition at line 57 of file PixelGeomDetUnit.h.
Referenced by setSurfaceDeformation(), specificTopology(), specificType(), surfaceDeformation(), topology(), and type().