#include <ProjectedSiStripRecHit2D.h>
Public Types | |
typedef BaseTrackerRecHit | Base |
Public Member Functions | |
virtual ProjectedSiStripRecHit2D * | clone () const |
virtual int | dimension () const |
virtual OmniClusterRef const & | firstClusterRef () const |
virtual void | getKfComponents (KfComponentsHolder &holder) const |
SiStripRecHit2D & | originalHit () |
const SiStripRecHit2D & | originalHit () const |
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 6 of file ProjectedSiStripRecHit2D.h.
Definition at line 9 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.
: BaseTrackerRecHit(pos, err, id, trackerHitRTTI::proj), originalHit_(*originalHit) {}
virtual ProjectedSiStripRecHit2D* ProjectedSiStripRecHit2D::clone | ( | void | ) | const [inline, virtual] |
Implements TrackingRecHit.
Definition at line 15 of file ProjectedSiStripRecHit2D.h.
References ProjectedSiStripRecHit2D().
{return new ProjectedSiStripRecHit2D( *this); }
virtual int ProjectedSiStripRecHit2D::dimension | ( | ) | const [inline, virtual] |
virtual OmniClusterRef const& ProjectedSiStripRecHit2D::firstClusterRef | ( | ) | const [inline, virtual] |
Implements BaseTrackerRecHit.
Definition at line 22 of file ProjectedSiStripRecHit2D.h.
References originalHit().
{ return originalHit().firstClusterRef();}
virtual void ProjectedSiStripRecHit2D::getKfComponents | ( | KfComponentsHolder & | holder | ) | const [inline, virtual] |
Implements BaseTrackerRecHit.
Definition at line 18 of file ProjectedSiStripRecHit2D.h.
References BaseTrackerRecHit::getKfComponents2D().
{ getKfComponents2D(holder); }
const SiStripRecHit2D& ProjectedSiStripRecHit2D::originalHit | ( | ) | const [inline] |
Definition at line 25 of file ProjectedSiStripRecHit2D.h.
References originalHit_.
Referenced by helper::ClusterStorer::addCluster(), SiStripQualityHotStripIdentifier::algoAnalyze(), SiStripLAProfileBooker::analyze(), TrackerHitAssociator::associateProjectedRecHit(), cms::clusterProduct(), helper::MuonCollectionStoreManager::clusterRefsOK(), PixelClusterShapeSeedComparitor::compatibleHit(), VertexTrackCompatibilityEstimator< 5 >::estimate(), firstClusterRef(), AlignmentTrackSelector::isHit2D(), AlignmentTrackSelector::isOkCharge(), CalibrationTrackSelector::isOkCharge(), PlotRecTracks::printRecTracks(), HLTTrackClusterRemover::process(), SeedClusterRemover::process(), TrackClusterRemover::process(), ClusterRemovalRefSetter::reKey(), TrackInfoProducerAlgorithm::run(), sharesInput(), ClusterShapeTrajectoryFilter::toBeContinued(), and SiStripMonitorTrack::trackStudy().
{return originalHit_;}
SiStripRecHit2D& ProjectedSiStripRecHit2D::originalHit | ( | ) | [inline] |
Definition at line 26 of file ProjectedSiStripRecHit2D.h.
References originalHit_.
{return originalHit_;}
virtual std::vector<TrackingRecHit*> ProjectedSiStripRecHit2D::recHits | ( | ) | [inline, virtual] |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 35 of file ProjectedSiStripRecHit2D.h.
References originalHit_, and HI_PhotonSkim_cff::rechits.
{ std::vector<TrackingRecHit*> rechits(1,&originalHit_); return rechits; }
virtual std::vector<const TrackingRecHit*> ProjectedSiStripRecHit2D::recHits | ( | ) | const [inline, virtual] |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 31 of file ProjectedSiStripRecHit2D.h.
References originalHit_, and HI_PhotonSkim_cff::rechits.
{ 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 28 of file ProjectedSiStripRecHit2D.h.
References originalHit().
{ return originalHit().sharesInput(other,what); }
SiStripRecHit2D ProjectedSiStripRecHit2D::originalHit_ [private] |
Definition at line 43 of file ProjectedSiStripRecHit2D.h.
Referenced by originalHit(), and recHits().