CMS 3D CMS Logo

ProjectedSiStripRecHit2D Class Reference

#include <DataFormats/TrackerRecHit2D/interface/ProjectedSiStripRecHit2D.h>

Inheritance diagram for ProjectedSiStripRecHit2D:

BaseSiTrackerRecHit2DLocalPos RecHit2DLocalPos TrackingRecHit

List of all members.

Public Member Functions

virtual ProjectedSiStripRecHit2Dclone () const
SiStripRecHit2DoriginalHit ()
const SiStripRecHit2DoriginalHit () const
 ProjectedSiStripRecHit2D (const LocalPoint &pos, const LocalError &err, const DetId &id, const SiStripRecHit2D *originalHit)
 ProjectedSiStripRecHit2D ()
virtual std::vector
< TrackingRecHit * > 
recHits ()
 Non-const access to component RecHits (if any).
virtual std::vector< const
TrackingRecHit * > 
recHits () const
 Access to component RecHits (if any).
virtual bool sharesInput (const TrackingRecHit *other, SharedInputType what) const
 Returns true if the two TrackingRecHits are using the same input information (like Digis, Clusters, etc), false otherwise.

Private Attributes

SiStripRecHit2D originalHit_


Detailed Description

Definition at line 7 of file ProjectedSiStripRecHit2D.h.


Constructor & Destructor Documentation

ProjectedSiStripRecHit2D::ProjectedSiStripRecHit2D (  )  [inline]

Definition at line 10 of file ProjectedSiStripRecHit2D.h.

Referenced by clone().

00010 {};

ProjectedSiStripRecHit2D::ProjectedSiStripRecHit2D ( const LocalPoint pos,
const LocalError err,
const DetId id,
const SiStripRecHit2D originalHit 
) [inline]

Definition at line 11 of file ProjectedSiStripRecHit2D.h.

00012                                                                 :
00013     BaseSiTrackerRecHit2DLocalPos(pos, err, id), originalHit_(*originalHit) {}
    


Member Function Documentation

virtual ProjectedSiStripRecHit2D* ProjectedSiStripRecHit2D::clone ( void   )  const [inline, virtual]

Implements RecHit2DLocalPos.

Definition at line 15 of file ProjectedSiStripRecHit2D.h.

References ProjectedSiStripRecHit2D().

00015 {return new ProjectedSiStripRecHit2D( *this); }

SiStripRecHit2D& ProjectedSiStripRecHit2D::originalHit (  )  [inline]

Definition at line 18 of file ProjectedSiStripRecHit2D.h.

References originalHit_.

00018 {return originalHit_;}

const SiStripRecHit2D& ProjectedSiStripRecHit2D::originalHit (  )  const [inline]

Definition at line 17 of file ProjectedSiStripRecHit2D.h.

References originalHit_.

Referenced by SiStripQualityHotStripIdentifier::algoAnalyze(), SiStripLAProfileBooker::analyze(), TrackerHitAssociator::associateProjectedRecHit(), helper::MuonCollectionStoreManager::clusterRefsOK(), AlignmentTrackSelector::isHit2D(), AlignmentTrackSelector::isOkCharge(), CalibrationTrackSelector::isOkCharge(), HitComparator::operator()(), TrackClusterRemover::process(), helper::MuonCollectionStoreManager::processHit(), helper::TrackCollectionStoreManager::processTrack(), ClusterRemovalRefSetter::reKey(), helper::TrackCollectionStoreManager::ClusterHitRecord< RecHitType, ClusterRefType >::rekey(), helper::MuonCollectionStoreManager::ClusterHitRecord< RecHitType, ClusterRefType >::rekey(), TrackInfoProducerAlgorithm::run(), sharesInput(), ClusterShapeTrajectoryFilter::toBeContinued(), SiStripMonitorTrackEfficiency::trackStudy(), SiStripMonitorTrack::trackStudy(), and cms::ClusterAnalysis::trackStudy().

00017 {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_.

00027                                                {
00028     std::vector<TrackingRecHit*> rechits(1,&originalHit_);
00029     return rechits;
00030   }

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

00023                                                           {
00024     std::vector<const TrackingRecHit*> rechits(1,&originalHit_);
00025     return rechits;
00026   }

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

00020                                                                                      {
00021     return originalHit().sharesInput(other,what);
00022   }


Member Data Documentation

SiStripRecHit2D ProjectedSiStripRecHit2D::originalHit_ [private]

Definition at line 35 of file ProjectedSiStripRecHit2D.h.

Referenced by originalHit(), and recHits().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:30:19 2009 for CMSSW by  doxygen 1.5.4