#include <ProjectedSiStripRecHit2D.h>
Public Member Functions | |
virtual ProjectedSiStripRecHit2D * | clone () const |
const SiStripRecHit2D & | originalHit () const |
SiStripRecHit2D & | originalHit () |
ProjectedSiStripRecHit2D (const LocalPoint &pos, const LocalError &err, const DetId &id, const SiStripRecHit2D *originalHit) | |
ProjectedSiStripRecHit2D () | |
virtual std::vector< const TrackingRecHit * > | recHits () const |
Access to component RecHits (if any) | |
virtual std::vector < TrackingRecHit * > | recHits () |
Non-const access to component RecHits (if any) | |
virtual bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const |
Private Attributes | |
SiStripRecHit2D | originalHit_ |
Definition at line 7 of file ProjectedSiStripRecHit2D.h.
ProjectedSiStripRecHit2D::ProjectedSiStripRecHit2D | ( | ) | [inline] |
ProjectedSiStripRecHit2D::ProjectedSiStripRecHit2D | ( | const LocalPoint & | pos, |
const LocalError & | err, | ||
const DetId & | id, | ||
const SiStripRecHit2D * | originalHit | ||
) | [inline] |
Definition at line 11 of file ProjectedSiStripRecHit2D.h.
: BaseSiTrackerRecHit2DLocalPos(pos, err, id), originalHit_(*originalHit) {}
virtual ProjectedSiStripRecHit2D* ProjectedSiStripRecHit2D::clone | ( | void | ) | const [inline, virtual] |
Implements RecHit2DLocalPos.
Definition at line 15 of file ProjectedSiStripRecHit2D.h.
References ProjectedSiStripRecHit2D().
{return new ProjectedSiStripRecHit2D( *this); }
const SiStripRecHit2D& ProjectedSiStripRecHit2D::originalHit | ( | ) | const [inline] |
Definition at line 17 of file ProjectedSiStripRecHit2D.h.
References originalHit_.
Referenced by helper::ClusterStorer::addCluster(), SiStripQualityHotStripIdentifier::algoAnalyze(), SiStripLAProfileBooker::analyze(), TrackerHitAssociator::associateProjectedRecHit(), TkTransientTrackingRecHitBuilder::build(), cms::clusterProduct(), helper::MuonCollectionStoreManager::clusterRefsOK(), helper::ClusterStorer::ClusterHitRecord< SiStripRecHit2D::ClusterRef >rekey(), VertexTrackCompatibilityEstimator< 5 >::estimate(), JPTJetAnalyzer::fillSiStripHitSoN(), AlignmentTrackSelector::isHit2D(), AlignmentTrackSelector::isOkCharge(), CalibrationTrackSelector::isOkCharge(), TrackHitFilter::keepThisHit(), HitComparator::operator()(), PlotRecTracks::printRecTracks(), HLTTrackClusterRemover::process(), TrackClusterRemover::process(), ClusterRemovalRefSetter::reKey(), TrackInfoProducerAlgorithm::run(), sharesInput(), ClusterShapeTrajectoryFilter::toBeContinued(), and SiStripMonitorTrack::trackStudy().
{return originalHit_;}
SiStripRecHit2D& ProjectedSiStripRecHit2D::originalHit | ( | ) | [inline] |
Definition at line 18 of file ProjectedSiStripRecHit2D.h.
References originalHit_.
{return originalHit_;}
virtual std::vector<TrackingRecHit*> ProjectedSiStripRecHit2D::recHits | ( | ) | [inline, virtual] |
Non-const access to component RecHits (if any)
Reimplemented from RecHit2DLocalPos.
Definition at line 27 of file ProjectedSiStripRecHit2D.h.
References originalHit_.
{ std::vector<TrackingRecHit*> rechits(1,&originalHit_); return rechits; }
virtual std::vector<const TrackingRecHit*> ProjectedSiStripRecHit2D::recHits | ( | ) | const [inline, virtual] |
Access to component RecHits (if any)
Reimplemented from RecHit2DLocalPos.
Definition at line 23 of file ProjectedSiStripRecHit2D.h.
References originalHit_.
{ std::vector<const TrackingRecHit*> rechits(1,&originalHit_); return rechits; }
virtual bool ProjectedSiStripRecHit2D::sharesInput | ( | const TrackingRecHit * | other, |
SharedInputType | what | ||
) | const [inline, virtual] |
Returns true if the two TrackingRecHits are using the same input information (like Digis, Clusters, etc), false otherwise. The second argument specifies how much sharing is needed in order to return true: the value "all" means that all inputs of the two hits must be identical; the value "some" means that at least one of the inputs is in common.
Reimplemented from TrackingRecHit.
Definition at line 20 of file ProjectedSiStripRecHit2D.h.
References originalHit(), and SiStripRecHit2D::sharesInput().
{ return originalHit().sharesInput(other,what); }
Definition at line 35 of file ProjectedSiStripRecHit2D.h.
Referenced by originalHit(), and recHits().