#include <DataFormats/TrackingRecHit/interface/TrackingRecHit.h>
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 TrackingRecHit * | clone () 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 |
Definition at line 10 of file TrackingRecHit.h.
typedef unsigned int TrackingRecHit::id_type |
Definition at line 13 of file TrackingRecHit.h.
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.
Reimplemented in InvalidTrackingRecHit, GenericTransientTrackingRecHit, InvalidTransientRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.
Definition at line 21 of file TrackingRecHit.h.
virtual TrackingRecHit::~TrackingRecHit | ( | ) | [inline, virtual] |
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().
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().
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] |
void TrackingRecHit::recHitsV | ( | std::vector< const TrackingRecHit * > & | v | ) | const [virtual] |
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] |
virtual float TrackingRecHit::weight | ( | ) | const [inline, virtual] |
id_type TrackingRecHit::m_id [private] |
int TrackingRecHit::m_status [private] |