CMS 3D CMS Logo

TrackingRecHit Class Reference

#include <DataFormats/TrackingRecHit/interface/TrackingRecHit.h>

Inheritance diagram for TrackingRecHit:

InvalidTrackingRecHit RecHit1D RecHit2DLocalPos RecSegment TransientTrackingRecHit DTRecHit1D DTRecHit1DPair BaseSiTrackerRecHit2DLocalPos CSCRecHit2D GSSiTrackerRecHit2DLocalPos RPCRecHit CSCSegment DTRecSegment2D DTRecSegment4D GenericProjectedRecHit2D GenericTransientTrackingRecHit TransientTrackingRecHitByValue< RecHit > TransientTrackingRecHitByValue< InvalidTrackingRecHit > TRecHit1DMomConstraint TRecHit2DPosConstraint TSiPixelRecHit TSiStripRecHit2DLocalPos TSiTrackerMultiRecHit

List of all members.

Public Types

typedef unsigned int id_type
enum  SharedInputType { all, some }
 definition of equality via shared input More...
enum  Type { valid = 0, missing = 1, inactive = 2, bad = 3 }
 Type of hits: valid = valid hit missing = detector is good, but no rec hit found inactive = detector is off, so there was no hope bad = there were many bad strips within the ellipse. More...

Public Member Functions

virtual TrackingRecHitclone () const =0
virtual int dimension () const =0
DetId geographicalId () const
virtual void getKfComponents (KfComponentsHolder &holder) const
Type getType () const
bool isValid () const
virtual LocalPoint localPosition () const =0
virtual LocalError localPositionError () const =0
virtual AlgebraicVector parameters () const =0
virtual AlgebraicSymMatrix parametersError () const =0
virtual AlgebraicMatrix projectionMatrix () const =0
virtual std::vector
< TrackingRecHit * > 
recHits ()=0
 Non-const access to component RecHits (if any).
virtual std::vector< const
TrackingRecHit * > 
recHits () const =0
 Access to component RecHits (if any).
virtual void recHitsV (std::vector< TrackingRecHit * > &)
virtual void recHitsV (std::vector< const TrackingRecHit * > &) const
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.
 TrackingRecHit (id_type id=0, Type type=valid)
 TrackingRecHit (DetId id, Type type=valid)
Type type () const
virtual float weight () const
virtual ~TrackingRecHit ()

Protected Member Functions

void setId (id_type iid)

Private Attributes

id_type m_id
int m_status


Detailed Description

Definition at line 10 of file TrackingRecHit.h.


Member Typedef Documentation

typedef unsigned int TrackingRecHit::id_type

Definition at line 13 of file TrackingRecHit.h.


Member Enumeration Documentation

enum TrackingRecHit::SharedInputType

definition of equality via shared input

Enumerator:
all 
some 

Definition at line 23 of file TrackingRecHit.h.

00023 {all, some};

enum TrackingRecHit::Type

Type of hits: valid = valid hit missing = detector is good, but no rec hit found inactive = detector is off, so there was no hope bad = there were many bad strips within the ellipse.

Enumerator:
valid 
missing 
inactive 
bad 

Reimplemented in InvalidTrackingRecHit, GenericTransientTrackingRecHit, InvalidTransientRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.

Definition at line 21 of file TrackingRecHit.h.

00021 { valid = 0, missing = 1, inactive = 2, bad = 3 };


Constructor & Destructor Documentation

TrackingRecHit::TrackingRecHit ( DetId  id,
Type  type = valid 
) [inline, explicit]

Definition at line 25 of file TrackingRecHit.h.

00025 : m_id(id), m_status(type) {}

TrackingRecHit::TrackingRecHit ( id_type  id = 0,
Type  type = valid 
) [inline, explicit]

Definition at line 26 of file TrackingRecHit.h.

00026 : m_id(id), m_status(type) {}

virtual TrackingRecHit::~TrackingRecHit (  )  [inline, virtual]

Definition at line 28 of file TrackingRecHit.h.

00028 {}


Member Function Documentation

virtual TrackingRecHit* TrackingRecHit::clone (  )  const [pure virtual]

Implemented in CSCRecHit2D, CSCSegment, DTChamberRecSegment2D, DTRecHit1D, DTRecHit1DPair, DTRecSegment2D, DTRecSegment4D, DTSLRecSegment2D, RPCRecHit, ProjectedSiStripRecHit2D, SiPixelRecHit, SiStripMatchedRecHit2D, SiStripRecHit2D, SiTrackerGSMatchedRecHit2D, SiTrackerGSRecHit2D, SiTrackerMultiRecHit, InvalidTrackingRecHit, RecHit2DLocalPos, MuonTransientTrackingRecHit, GenericProjectedRecHit2D, ProjectedRecHit2D, TRecHit1DMomConstraint, TRecHit2DPosConstraint, TSiPixelRecHit, TSiStripMatchedRecHit, TSiStripRecHit2DLocalPos, TSiTrackerMultiRecHit, GenericTransientTrackingRecHit, InvalidTransientRecHit, TransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.

Referenced by SeedFromConsecutiveHits::construct(), GenericTransientTrackingRecHit::GenericTransientTrackingRecHit(), MuonSeedBuilder::NChi2OfSegment(), MuonSeedBuilder::NRecHitsFromSegment(), GenericTransientTrackingRecHit::operator=(), cms::SimpleTrackListMerger::produce(), reco::modules::CosmicTrackSplitter::produce(), reco::modules::TrackerTrackHitFilter::produce(), SimpleCosmicBONSeeder::produce(), and SeedFromProtoTrack::SeedFromProtoTrack().

virtual int TrackingRecHit::dimension (  )  const [pure virtual]

Implemented in CSCSegment, DTRecSegment2D, DTRecSegment4D, InvalidTrackingRecHit, RecHit1D, RecHit2DLocalPos, RecSegment, GenericProjectedRecHit2D, TRecHit1DMomConstraint, TRecHit2DPosConstraint, TSiPixelRecHit, TSiStripRecHit2DLocalPos, TSiTrackerMultiRecHit, GenericTransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.

Referenced by GenericTransientTrackingRecHit::dimension(), Chi2MeasurementEstimator::estimate(), HICMeasurementEstimator::estimate(), AlignmentMonitorTracksFromTrajectories::event(), KfComponentsHolder::genericFill(), CalibrationTrackSelector::isHit2D(), AlignmentTrackSelector::isHit2D(), AlignmentMuonHIPTrajectorySelector::produce(), CurrentAlignmentKFUpdator::update(), KFUpdator::update(), and PosteriorWeightsCalculator::weights().

DetId TrackingRecHit::geographicalId (  )  const [inline]

Reimplemented in DTRecHit1DPair, GenericProjectedRecHit2D, and TSiTrackerMultiRecHit.

Definition at line 50 of file TrackingRecHit.h.

References m_id.

Referenced by TrackDetectorAssociator::addTAMuonSegmentMatch(), MuonTruth::analyze(), SiStripRecHitsValid::analyze(), SiStripLAProfileBooker::analyze(), SiStripTrackingRecHitsValid::analyze(), TrackerHitAssociator::associateHit(), TrackerHitAssociator::associateHitId(), TrackerHitAssociator::associatePixelRecHit(), TrackerHitAssociator::associateSimpleRecHit(), TrackingRecHitLessFromGlobalPosition::barrelForwardLess(), SortHitsByGlobalPosition::barrelForwardLess(), SortHitPointersByGlobalPosition::barrelForwardLess(), TkTransientTrackingRecHitBuilder::build(), MuonTransientTrackingRecHitBuilder::build(), DTRecSegment4D::chamberId(), DTChamberRecSegment2D::chamberId(), SimpleCosmicBONSeeder::checkCharge(), RectangularEtaPhiTrackingRegion::checkRZ(), GlobalTrackingRegion::checkRZ(), SiStripFineDelayHit::closestCluster(), helper::MuonCollectionStoreManager::clusterRefsOK(), SeedFromNuclearInteraction::construct(), SeedFromConsecutiveHits::construct(), RoadSearchCloudMakerAlgorithm::CorrectMatchedHit(), CSCSegment::cscDetId(), CSCRecHit2D::cscDetId(), MuonAlignmentAnalyzer::doMatching(), MuonStandaloneAlgorithm::doMatching(), DTRecSegment4D::DTRecSegment4D(), RecHitComparatorByPosition::equals(), MuonChi2MeasurementEstimator::estimate(), AlignmentMonitorMuonHIP::event(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), VisCuTkBuilder::fill(), RoadSearchCloudMakerAlgorithm::FillPixRecHitsIntoCloud(), RoadSearchCloudMakerAlgorithm::FillRecHitsIntoCloudGeneral(), MuonTimingExtractor::fillTiming(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), SiStripElectronAlgo::findElectron(), ElectronSiStripSeedGenerator::findSeedsFromCluster(), SiStripFineDelayTLA::findtrackangle(), KFTrajectoryFitter::fit(), DTSegmentUpdator::fit(), DTSegmentUpdator::fitT0(), DTSegmentUpdator::fitT0_seg(), TSiTrackerMultiRecHit::geographicalId(), TripletGenerator::getGlobalPosition(), HitInfo::getInfo(), ValidHitPairFilter::getLayer(), TrackAssociatorByHits::getMatchedIds(), MuonAssociatorByHits::getMatchedIds(), VisEventSetupService::globalPosition(), RecHitsSortedInPhi::Hit::Hit(), PixelTripletHLTGenerator::hitTriplets(), TrackerRecHit::init(), SeedFromProtoTrack::init(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectory(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectoryFromTriplet(), TrackingRecHitLessFromGlobalPosition::insideOutLess(), SortHitPointersByGlobalPosition::insideOutLess(), SortHitsByGlobalPosition::insideOutLess(), TripletFilter::isCompatible(), ClusterShapeTrackFilter::isCompatible(), MuonTransientTrackingRecHit::isCSC(), CRackTrajectoryBuilder::isDifferentStripReHit2D(), MuonTransientTrackingRecHit::isDT(), CalibrationTrackSelector::isHit2D(), AlignmentTrackSelector::isHit2D(), CalibrationTrackSelector::isIsolated(), AlignmentTrackSelector::isIsolated(), AlignmentTrackSelector::isOkCharge(), MuonTransientTrackingRecHit::isRPC(), VisTrackerRechit2DTwig::localPosition(), VisLocalPosition::localPosition(), VisEventSetupService::localPosition(), VisEventSetupService::localPositions(), VisLocalPosition::localPositions(), VisTrackerRechit2DTwig::localPositions(), TempTrajectory::lost(), Trajectory::lost(), MuonSegmentMatcher::matchDT(), MuonSeedBuilder::NChi2OfSegment(), MuonSeedBuilder::NRecHitsFromSegment(), CompareDetY_plus::operator()(), CompareHitY_plus::operator()(), CompareHitY::operator()(), SortHitsByY::operator()(), OuterHitCompatibility::operator()(), HitComparator::operator()(), CompareHitPairsY::operator()(), TrackingRecHitLess::operator()(), SortHitPointersByY::operator()(), CompareDetY_minus::operator()(), SortByRadius::operator()(), RecHitComparatorByPosition::operator()(), operator<(), RPCRecHit::operator==(), TrackClusterRemover::process(), helper::MuonCollectionStoreManager::processHit(), ClusterShapeTrajectoryFilter::processHit(), cms::SimpleTrackListMerger::produce(), RemainingClusterProducer::produce(), reco::modules::CosmicTrackSplitter::produce(), reco::modules::TrackerTrackHitFilter::produce(), AlignmentMuonHIPTrajectorySelector::produce(), TrackHitFilter::produce(), SiStripElectronAlgo::projectPhiBand(), recHitDet(), SiStripMonitorTrack::RecHitInfo(), SiStripMonitorTrackEfficiency::RecHitInfo(), cms::ClusterAnalysis::RecHitInfo(), PixelTrackCleanerBySharedHits::recHitsAreEqual(), SimpleTrackRefitter::refitTrack(), ClusterRemovalRefSetter::reKey(), helper::TrackCollectionStoreManager::ClusterHitRecord< RecHitType, ClusterRefType >::rekey(), helper::MuonCollectionStoreManager::ClusterHitRecord< RecHitType, ClusterRefType >::rekey(), HIPAlignmentAlgorithm::run(), RoadSearchCloudMakerAlgorithm::run(), TrackInfoProducerAlgorithm::run(), SeedFromConsecutiveHits::SeedFromConsecutiveHits(), SeedFromGenericPairOrTriplet::seedFromPair(), SeedFromGenericPairOrTriplet::seedFromTriplet(), ctfseeding::SeedingHit::SeedingHitImpl::SeedingHitImpl(), reco::HitPattern::set(), SiPixelRecHit::sharesInput(), SiStripRecHit2D::sharesInput(), SiTrackerMultiRecHit::sharesInput(), SiStripMatchedRecHit2D::sharesInput(), CRackTrajectoryBuilder::SortHits(), StartingLayerFinder::startingLayers(), DTSLRecSegment2D::superLayerId(), SiStripMonitorTrackEfficiency::trackStudy(), SiStripMonitorTrack::trackStudy(), DeDxTools::trajectoryRawHits(), DTSegmentUpdator::update(), DTSegmentUpdator::updateHits(), and DTSegmentUpdator::updateHitsN().

00050 {return m_id;}

void TrackingRecHit::getKfComponents ( KfComponentsHolder holder  )  const [virtual]

Reimplemented in BaseSiTrackerRecHit2DLocalPos, GSSiTrackerRecHit2DLocalPos, ProjectedRecHit2D, TSiPixelRecHit, TSiStripMatchedRecHit, TSiStripRecHit2DLocalPos, and TSiTrackerMultiRecHit.

Definition at line 27 of file TrackingRecHit.cc.

References KfComponentsHolder::genericFill().

Referenced by HelpertRecHit2DLocalPos::getKfComponents().

00027                                                                         {
00028     holder.genericFill(*this);
00029 }

Type TrackingRecHit::getType (  )  const [inline]

Definition at line 59 of file TrackingRecHit.h.

References m_status.

Referenced by TkTransientTrackingRecHitBuilder::build(), isValid(), TempTrajectory::lost(), Trajectory::lost(), and reco::HitPattern::set().

00059 { return Type(m_status); }

bool TrackingRecHit::isValid ( void   )  const [inline]

Reimplemented in GenericProjectedRecHit2D, and TSiTrackerMultiRecHit.

Definition at line 60 of file TrackingRecHit.h.

References getType(), and valid.

Referenced by SiStripQualityHotStripIdentifier::algoAnalyze(), GroupedCkfTrajectoryBuilder::backwardFit(), TrajectoryCleanerBySharedHits::clean(), TrajectoryCleanerMerger::clean(), NuclearVertexBuilder::cleanTrackCollection(), SiStripFineDelayHit::closestCluster(), helper::MuonCollectionStoreManager::clusterRefsOK(), RecHitComparatorByPosition::equals(), cms::HICSeedMeasurementEstimator::estimate(), MRHChi2MeasurementEstimator::estimate(), AlignmentMonitorMuonHIP::event(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), KFTrajectoryFitter::fit(), NuclearTester::fwdEstimate(), TrackAssociatorByHits::getMatchedIds(), AlignmentTrackSelector::isHit2D(), AlignmentTrackSelector::isOkCharge(), TSiTrackerMultiRecHit::isValid(), TempTrajectory::lost(), Trajectory::lost(), ClusterShapeTrackFilter::operator()(), helper::MuonCollectionStoreManager::processHit(), helper::TrackCollectionStoreManager::processTrack(), cms::SimpleTrackListMerger::produce(), reco::modules::CosmicTrackSplitter::produce(), reco::modules::TrackerTrackHitFilter::produce(), TrackHitFilter::produce(), AlignmentMuonHIPTrajectorySelector::produce(), TrackClusterRemover::produce(), SiStripMonitorTrack::RecHitInfo(), SiStripMonitorTrackEfficiency::RecHitInfo(), cms::ClusterAnalysis::RecHitInfo(), ClusterRemovalRefSetter::reKey(), HIPAlignmentAlgorithm::run(), SiPixelRecHit::sharesInput(), SiStripRecHit2D::sharesInput(), and ClusterShapeTrajectoryFilter::toBeContinued().

00060 {return getType()==valid;}

virtual LocalPoint TrackingRecHit::localPosition (  )  const [pure virtual]

Implemented in CSCRecHit2D, CSCSegment, DTRecHit1D, DTRecHit1DPair, DTRecSegment2D, DTRecSegment4D, RPCRecHit, BaseSiTrackerRecHit2DLocalPos, GSSiTrackerRecHit2DLocalPos, InvalidTrackingRecHit, RecHit1D, RecHit2DLocalPos, GenericProjectedRecHit2D, TRecHit1DMomConstraint, TRecHit2DPosConstraint, TSiPixelRecHit, TSiStripRecHit2DLocalPos, TSiTrackerMultiRecHit, GenericTransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.

Referenced by TrackDetectorAssociator::addTAMuonSegmentMatch(), SiStripGainCosmicCalculator::algoAnalyze(), SiStripTrackingRecHitsValid::analyze(), TrackingRecHitLessFromGlobalPosition::barrelForwardLess(), SortHitsByGlobalPosition::barrelForwardLess(), SortHitPointersByGlobalPosition::barrelForwardLess(), RectangularEtaPhiTrackingRegion::checkRZ(), GlobalTrackingRegion::checkRZ(), SeedFromConsecutiveHits::construct(), RecHitComparatorByPosition::equals(), Chi2Strip1DEstimator::estimate(), ForwardMeasurementEstimator::estimate(), Chi2StripEstimator::estimate(), BarrelMeasurementEstimator::estimate(), AlignmentMonitorMuonHIP::event(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), RoadSearchTrackCandidateMakerAlgorithm::extrapolateTrajectory(), KFTrajectoryFitter::fit(), TripletGenerator::getGlobalPosition(), DetHitAccess::getHitVector(), TransientTrackingRecHit::globalPosition(), RecHitsSortedInPhi::Hit::Hit(), PixelTripletHLTGenerator::hitTriplets(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectory(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectoryFromTriplet(), TrackingRecHitLessFromGlobalPosition::insideOutLess(), SortHitPointersByGlobalPosition::insideOutLess(), SortHitsByGlobalPosition::insideOutLess(), CalibrationTrackSelector::isIsolated(), AlignmentTrackSelector::isIsolated(), VisTrackerRechit2DTwig::localPosition(), VisLocalPosition::localPosition(), VisEventSetupService::localPosition(), GenericTransientTrackingRecHit::localPosition(), VisEventSetupService::localPositions(), VisLocalPosition::localPositions(), VisTrackerRechit2DTwig::localPositions(), CompareHitY_plus::operator()(), CompareHitY::operator()(), SortHitsByY::operator()(), OuterHitCompatibility::operator()(), HitComparator::operator()(), CompareHitPairsY::operator()(), SortHitPointersByY::operator()(), SortByRadius::operator()(), RecHitComparatorByPosition::operator()(), cms::SimpleTrackListMerger::produce(), reco::modules::CosmicTrackSplitter::produce(), AlignmentMuonHIPTrajectorySelector::produce(), RecHitPropagator::propagate(), PixelTrackCleanerBySharedHits::recHitsAreEqual(), RoadSearchCloudMakerAlgorithm::run(), SeedFromGenericPairOrTriplet::seedFromPair(), SeedFromGenericPairOrTriplet::seedFromTriplet(), and ctfseeding::SeedingHit::SeedingHitImpl::SeedingHitImpl().

virtual LocalError TrackingRecHit::localPositionError (  )  const [pure virtual]

Implemented in CSCRecHit2D, CSCSegment, DTRecHit1D, DTRecHit1DPair, DTRecSegment2D, DTRecSegment4D, RPCRecHit, BaseSiTrackerRecHit2DLocalPos, GSSiTrackerRecHit2DLocalPos, InvalidTrackingRecHit, RecHit1D, RecHit2DLocalPos, GenericProjectedRecHit2D, TRecHit1DMomConstraint, TRecHit2DPosConstraint, TSiPixelRecHit, TSiStripRecHit2DLocalPos, TSiTrackerMultiRecHit, GenericTransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.

Referenced by TrackDetectorAssociator::addTAMuonSegmentMatch(), SiStripTrackingRecHitsValid::analyze(), Chi2Strip1DEstimator::estimate(), ConversionBarrelEstimator::estimate(), Chi2StripEstimator::estimate(), ConversionForwardEstimator::estimate(), AlignmentMonitorMuonHIP::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), KFTrajectoryFitter::fit(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectory(), GenericTransientTrackingRecHit::localPositionError(), AlignmentMuonHIPTrajectorySelector::produce(), TrackingRecHitProjector< ResultingHit >::project(), RecHitPropagator::propagate(), and TransientTrackingRecHit::setPositionErrors().

virtual AlgebraicVector TrackingRecHit::parameters (  )  const [pure virtual]

Implemented in CSCSegment, DTRecSegment2D, DTRecSegment4D, InvalidTrackingRecHit, RecHit1D, RecHit2DLocalPos, GenericProjectedRecHit2D, TRecHit1DMomConstraint, TRecHit2DPosConstraint, TSiPixelRecHit, TSiStripRecHit2DLocalPos, TSiTrackerMultiRecHit, GenericTransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.

Referenced by Chi2MeasurementEstimatorForTrackerHits::estimate(), KfComponentsHolder::genericFill_(), and GenericTransientTrackingRecHit::parameters().

virtual AlgebraicSymMatrix TrackingRecHit::parametersError (  )  const [pure virtual]

Implemented in CSCSegment, DTRecSegment2D, DTRecSegment4D, InvalidTrackingRecHit, RecHit1D, RecHit2DLocalPos, MuonTransientTrackingRecHit, GenericProjectedRecHit2D, ProjectedRecHit2D, TRecHit1DMomConstraint, TRecHit2DPosConstraint, TSiPixelRecHit, TSiStripMatchedRecHit, TSiStripRecHit2DLocalPos, TSiTrackerMultiRecHit, GenericTransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.

Referenced by Chi2MeasurementEstimatorForTrackerHits::estimate(), KfComponentsHolder::genericFill_(), and GenericTransientTrackingRecHit::parametersError().

virtual AlgebraicMatrix TrackingRecHit::projectionMatrix (  )  const [pure virtual]

Implemented in CSCSegment, DTRecSegment2D, DTRecSegment4D, InvalidTrackingRecHit, RecHit1D, RecHit2DLocalPos, GenericProjectedRecHit2D, TRecHit1DMomConstraint, TRecHit2DPosConstraint, TSiPixelRecHit, TSiStripRecHit2DLocalPos, TSiTrackerMultiRecHit, GenericTransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.

Referenced by KfComponentsHolder::genericFill_(), MeasurementExtractor::measuredError(), MeasurementExtractor::measuredParameters(), and GenericTransientTrackingRecHit::projectionMatrix().

virtual std::vector<TrackingRecHit*> TrackingRecHit::recHits (  )  [pure virtual]

Non-const access to component RecHits (if any).

Implemented in CSCSegment, DTRecHit1D, DTRecHit1DPair, DTRecSegment2D, DTRecSegment4D, RPCRecHit, ProjectedSiStripRecHit2D, SiStripMatchedRecHit2D, SiTrackerMultiRecHit, InvalidTrackingRecHit, RecHit2DLocalPos, GenericProjectedRecHit2D, TRecHit1DMomConstraint, TRecHit2DPosConstraint, TSiPixelRecHit, TSiStripRecHit2DLocalPos, TSiTrackerMultiRecHit, GenericTransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.

virtual std::vector<const TrackingRecHit*> TrackingRecHit::recHits (  )  const [pure virtual]

Access to component RecHits (if any).

Implemented in CSCSegment, DTRecHit1D, DTRecHit1DPair, DTRecSegment2D, DTRecSegment4D, RPCRecHit, ProjectedSiStripRecHit2D, SiStripMatchedRecHit2D, SiTrackerMultiRecHit, InvalidTrackingRecHit, RecHit2DLocalPos, GenericProjectedRecHit2D, TRecHit1DMomConstraint, TRecHit2DPosConstraint, TSiPixelRecHit, TSiStripRecHit2DLocalPos, TSiTrackerMultiRecHit, GenericTransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.

Referenced by TSiStripRecHit2DLocalPos::recHits(), TSiPixelRecHit::recHits(), GenericTransientTrackingRecHit::recHits(), TRecHit1DMomConstraint::recHits(), TRecHit2DPosConstraint::recHits(), recHitsV(), SiTrackerMultiRecHit::sharesInput(), and SiStripRecHit2D::sharesInput().

void TrackingRecHit::recHitsV ( std::vector< TrackingRecHit * > &  v  )  [virtual]

Definition at line 11 of file TrackingRecHit.cc.

References recHits().

00011                                                        {
00012   v = recHits();
00013 }

void TrackingRecHit::recHitsV ( std::vector< const TrackingRecHit * > &  v  )  const [virtual]

Definition at line 7 of file TrackingRecHit.cc.

References recHits().

00007                                                                    {
00008   v = recHits();
00009 }

void TrackingRecHit::setId ( id_type  iid  )  [inline, protected]

Definition at line 71 of file TrackingRecHit.h.

References m_id.

Referenced by DTChamberRecSegment2D::setChamberId().

00071 { m_id=iid;}

bool TrackingRecHit::sharesInput ( const TrackingRecHit other,
SharedInputType  what 
) const [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 in GSSiTrackerRecHit2DLocalPos, ProjectedSiStripRecHit2D, SiPixelRecHit, SiStripMatchedRecHit2D, SiStripRecHit2D, SiTrackerGSMatchedRecHit2D, SiTrackerGSRecHit2D, SiTrackerMultiRecHit, and InvalidTrackingRecHit.

Definition at line 16 of file TrackingRecHit.cc.

References Exception, and alivecheck_mergeAndRegister::msg.

Referenced by NuclearVertexBuilder::cleanTrackCollection(), cms::SimpleTrackListMerger::produce(), and SeedFilter::seeds().

00016                                                                                          {
00017   //
00018   // for the time being: don't force implementation in all derived classes
00019   // but throw exception to indicate missing implementation
00020   //
00021   std::string msg("Missing implementation of TrackingRecHit::sharedInput in ");
00022   msg += typeid(*this).name();
00023   throw cms::Exception(msg);
00024   return false;
00025 }

Type TrackingRecHit::type (  )  const [inline]

Definition at line 58 of file TrackingRecHit.h.

References m_status.

00058 { return Type(m_status); }

virtual float TrackingRecHit::weight (  )  const [inline, virtual]

Reimplemented in TransientTrackingRecHit.

Definition at line 56 of file TrackingRecHit.h.

00056 {return 1.;}


Member Data Documentation

id_type TrackingRecHit::m_id [private]

Definition at line 75 of file TrackingRecHit.h.

Referenced by geographicalId(), and setId().

int TrackingRecHit::m_status [private]

Definition at line 76 of file TrackingRecHit.h.

Referenced by getType(), and type().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:34:13 2009 for CMSSW by  doxygen 1.5.4