CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
PixelGeomDetUnit Class Referencefinal

#include <PixelGeomDetUnit.h>

Inheritance diagram for PixelGeomDetUnit:
TrackerGeomDet GeomDet

Public Member Functions

bool isLeaf () const override
 is a Unit More...
 
 PixelGeomDetUnit (BoundPlane *sp, PixelGeomDetType const *type, DetId id)
 
virtual const PixelTopologyspecificTopology () const
 Returns a reference to the pixel proxy topology. More...
 
virtual const PixelGeomDetTypespecificType () const
 
const SurfaceDeformationsurfaceDeformation () const override
 Return pointer to surface deformation. More...
 
const Topologytopology () const override
 Returns a reference to the pixel proxy topology. More...
 
const GeomDetTypetype () const override
 
- Public Member Functions inherited from TrackerGeomDet
LocalError const & localAlignmentError () const
 Return local alligment error. More...
 
- Public Member Functions inherited from GeomDet
AlignmentPositionError const * alignmentPositionError () const
 Return pointer to alignment errors. More...
 
virtual const GeomDetcomponent (DetId) const
 Returns a component GeomDet given its DetId, if existing. More...
 
virtual std::vector< const GeomDet * > components () const
 Returns direct components, if any. More...
 
int gdetIndex () const
 
DetId geographicalId () const
 The label of this GeomDet. More...
 
 GeomDet (Plane *plane)
 
 GeomDet (const ReferenceCountingPointer< Plane > &plane)
 
int index () const
 
const Surface::PositionTypeposition () const
 The position (origin of the R.F.) More...
 
const Surface::RotationTyperotation () const
 The rotation defining the local R.F. More...
 
void setGdetIndex (int i)
 
void setIndex (int i)
 
const PlanespecificSurface () const
 Same as surface(), kept for backward compatibility. More...
 
virtual SubDetector subDetector () const
 Which subdetector. More...
 
const Planesurface () const
 The nominal surface of the GeomDet. More...
 
GlobalPoint toGlobal (const Local2DPoint &lp) const
 Conversion to the global R.F. from the R.F. of the GeomDet. More...
 
GlobalPoint toGlobal (const Local3DPoint &lp) const
 Conversion to the global R.F. from the R.F. of the GeomDet. More...
 
GlobalVector toGlobal (const LocalVector &lv) const
 Conversion to the global R.F. from the R.F. of the GeomDet. More...
 
LocalPoint toLocal (const GlobalPoint &gp) const
 Conversion to the R.F. of the GeomDet. More...
 
LocalVector toLocal (const GlobalVector &gv) const
 Conversion to the R.F. of the GeomDet. More...
 
virtual ~GeomDet ()
 

Private Member Functions

void setSurfaceDeformation (const SurfaceDeformation *deformation) override
 set the SurfaceDeformation for this StripGeomDet to proxy topology. More...
 

Private Attributes

std::unique_ptr< ProxyPixelTopologytheTopology
 

Additional Inherited Members

- Public Types inherited from GeomDet
using SubDetector = GeomDetEnumerators::SubDetector
 
- Protected Member Functions inherited from TrackerGeomDet
 TrackerGeomDet (Plane *plane)
 
 TrackerGeomDet (const ReferenceCountingPointer< Plane > &plane)
 
- Protected Member Functions inherited from GeomDet
void setDetId (DetId id)
 

Detailed Description

The base PixelGeomDetUnit. Specialized in SiPixelGeomDetUnit.

Definition at line 15 of file PixelGeomDetUnit.h.

Constructor & Destructor Documentation

◆ PixelGeomDetUnit()

PixelGeomDetUnit::PixelGeomDetUnit ( BoundPlane sp,
PixelGeomDetType const *  type,
DetId  id 
)

Definition at line 6 of file PixelGeomDetUnit.cc.

References GeomDet::setDetId().

8  setDetId(id);
9 }
void setDetId(DetId id)
Definition: GeomDet.h:99
std::unique_ptr< ProxyPixelTopology > theTopology
TrackerGeomDet(Plane *plane)
Definition: TrackerGeomDet.h:8

Member Function Documentation

◆ isLeaf()

bool PixelGeomDetUnit::isLeaf ( ) const
inlineoverridevirtual

is a Unit

Reimplemented from GeomDet.

Definition at line 46 of file PixelGeomDetUnit.h.

46 { return true; }

◆ setSurfaceDeformation()

void PixelGeomDetUnit::setSurfaceDeformation ( const SurfaceDeformation deformation)
overrideprivatevirtual

set the SurfaceDeformation for this StripGeomDet to proxy topology.

Reimplemented from GeomDet.

Definition at line 19 of file PixelGeomDetUnit.cc.

References theTopology.

19  {
20  theTopology->setSurfaceDeformation(deformation);
21 }
std::unique_ptr< ProxyPixelTopology > theTopology

◆ specificTopology()

const PixelTopology & PixelGeomDetUnit::specificTopology ( ) const
virtual

Returns a reference to the pixel proxy topology.

Definition at line 17 of file PixelGeomDetUnit.cc.

References theTopology.

Referenced by PixelDigitizerAlgorithm::add_cross_talk(), Phase2TrackerDigitizerAlgorithm::add_cross_talk(), SiPixelDigitizerAlgorithm::add_noise(), Phase2TrackerDigitizerAlgorithm::add_noisy_cells(), FWRecoGeometryESProducer::ADD_PIXEL_TOPOLOGY(), cms::SiPixelCondObjBuilder::analyze(), cms::SiPixelCondObjOfflineBuilder::analyze(), SiPixelTrackResidualSource::analyze(), cms::SiPixelCondObjForHLTBuilder::analyze(), cms::SiPixelCondObjReader::analyze(), cms::SiPixelCondObjOfflineReader::analyze(), cms::SiPixelCondObjAllPayloadsReader::analyze(), cms::SiPixelCondObjForHLTReader::analyze(), PixelLumiDQM::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), analyzer::SiPixelLorentzAngle::analyze(), SiPixelLorentzAnglePCLWorker::analyze(), TrackerDpgAnalysis::analyze(), OverlapValidation::analyzeTrajectory(), SiPixelDetInfoFileWriter::beginRun(), SiPixelErrorsDigisToCalibDigis::bookDQMHistoPlaquetteSummary2D(), SiPixelOfflineCalibAnalysisBase::bookDQMHistoPlaquetteSummary2D(), SiPixelDigiSource::buildStructure(), SiPixelClusterSource::buildStructure(), SiPixelRawDataErrorSource::buildStructure(), SiPixelCoordinates::channel(), TkPixelMeasurementDet::compHits(), SiPixelErrorEstimation::computeAnglesFromDetPosition(), ClusterShape::determineShape(), SiPixelDigitizerAlgorithm::digitize(), SiPixelStatusHarvester::dqmEndRun(), Pixel3DDigitizerAlgorithm::drift(), Phase2TrackerDigitizerAlgorithm::drift(), SiPixelClusterModule::fill(), SiPixelRecHitsValid::fillBarrel(), SiPixelGainCalibrationReadDQMFile::fillDatabase(), SiPixelGainCalibrationRejectNoisyAndDead::fillDatabase(), SiPixelRecHitsValid::fillForward(), Phase2TrackerMonitorDigi::fillITPixelDigiHistos(), Phase2TrackerMonitorDigi::fillOTDigiHistos(), Phase2StripCPE::fillParam(), QcdLowPtDQM::fillPixels(), Phase2TrackerValidateDigi::fillSimHitInfo(), SiPixelQuality::getBadRocPositions(), ClusterShapeHitFilter::getCotangent(), SiPhase2BadStripChannelBuilder::getNewObject(), SiPixelClusterSource::getrococcupancye(), HLTPixelClusterShapeFilter::hltFilter(), Phase2TrackerDigitizerAlgorithm::induce_signal(), SiPixelDigitizerAlgorithm::induce_signal(), SiPixelTopoFinder::init(), SiPixelDigitizerAlgorithm::PixelEfficiencies::init_from_db(), tmtt::StubKiller::killStub(), SiPixelChargeReweightingAlgorithm::lateSignalReweight(), GeometryInterface::loadFromTopology(), Phase2StripCPEGeometric::localParameters(), PixelDigitizerAlgorithm::module_killing_DB(), SiPixelFedCablingMapBuilder::myprint(), TTStubAlgorithm_official< T >::PatternHitCorrelation(), VectorHit::phase2clusterGlobalPos(), VectorHit::phase2clusterGlobalPosErr(), SiPixelCoordinates::pixel_(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), VectorHitBuilderAlgorithmBase::printCluster(), PixelVertexProducerClusters::produce(), HIPixelClusterVtxProducer::produce(), PixelClusterSelectorTopBottom::produce(), ClusterCompatibilityProducer::produce(), SiPhase2BadStripConfigurableFakeESSource::produce(), TkPhase2OTMeasurementDet::recHits(), SiPixelCoordinates::roc(), Phase2TrackerClusterizerAlgorithm::setup(), PixelThresholdClusterizer::setup(), tmtt::TrackerModule::TrackerModule(), MeasurementTrackerEventProducer::updatePixels(), SiPixelCoordinates::xcoord_on_module_(), and SiPixelCoordinates::ycoord_on_module_().

17 { return *theTopology; }
std::unique_ptr< ProxyPixelTopology > theTopology

◆ specificType()

const 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 13 of file PixelGeomDetUnit.cc.

References theTopology.

Referenced by PixelTemplateSmearerBase::smearHit().

13 { return theTopology->specificType(); }
std::unique_ptr< ProxyPixelTopology > theTopology

◆ surfaceDeformation()

const SurfaceDeformation* PixelGeomDetUnit::surfaceDeformation ( ) const
inlineoverridevirtual

Return pointer to surface deformation.

Reimplemented from GeomDet.

Definition at line 44 of file PixelGeomDetUnit.h.

References theTopology.

44 { return theTopology->surfaceDeformation(); }
std::unique_ptr< ProxyPixelTopology > theTopology

◆ topology()

const Topology & PixelGeomDetUnit::topology ( ) const
overridevirtual

Returns a reference to the pixel proxy topology.

Reimplemented from GeomDet.

Definition at line 15 of file PixelGeomDetUnit.cc.

References theTopology.

15 { return *theTopology; }
std::unique_ptr< ProxyPixelTopology > theTopology

◆ type()

const GeomDetType & PixelGeomDetUnit::type ( ) const
overridevirtual

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

Reimplemented from GeomDet.

Definition at line 11 of file PixelGeomDetUnit.cc.

References theTopology.

Referenced by SiPixelDigitizerAlgorithm::digitize(), SiPixelDigitizerAlgorithm::DriftDirection(), SiPixelDigitizerAlgorithm::lateSignalReweight(), and SiPixelDigitizerAlgorithm::missCalibrate().

11 { return theTopology->type(); }
std::unique_ptr< ProxyPixelTopology > theTopology

Member Data Documentation

◆ theTopology

std::unique_ptr<ProxyPixelTopology> PixelGeomDetUnit::theTopology
private