#include <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 } |
Public Member Functions | |
virtual TrackingRecHit * | clone () const =0 |
virtual int | dimension () const =0 |
DetId | geographicalId () const |
virtual void | getKfComponents (KfComponentsHolder &holder) const |
unsigned int | getRTTI () const |
Type | getType () const |
virtual bool | hasPositionAndError () const |
to be redefined by daughter class | |
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 |
id_type | rawId () const |
virtual std::vector< const TrackingRecHit * > | recHits () const =0 |
Access to component RecHits (if any) | |
virtual std::vector < TrackingRecHit * > | recHits ()=0 |
Non-const access to component RecHits (if any) | |
virtual void | recHitsV (std::vector< const TrackingRecHit * > &) const |
virtual void | recHitsV (std::vector< TrackingRecHit * > &) |
virtual bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const |
TrackingRecHit (DetId id, Type type=valid) | |
TrackingRecHit (DetId id, unsigned int rt, Type type=valid) | |
TrackingRecHit (id_type id=0, Type type=valid) | |
Type | type () const |
virtual float | weight () const |
virtual | ~TrackingRecHit () |
Static Public Attributes | |
static const int | rttiShift = 24 |
static const int | typeMask = 0xf |
Protected Member Functions | |
void | setId (id_type iid) |
void | setRTTI (unsigned int rt) |
void | setType (Type ttype) |
Private Attributes | |
id_type | m_id |
unsigned int | m_status |
Friends | |
class | MuonTransientTrackingRecHit |
Definition at line 11 of file TrackingRecHit.h.
typedef unsigned int TrackingRecHit::id_type |
Definition at line 16 of file TrackingRecHit.h.
definition of equality via shared input
Reimplemented in CSCRecHit2D.
Definition at line 30 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 (in Tracker) = hit is compatible with the trajectory, but chi2 is too large (in Muon System)
Reimplemented in BeamSpotTransientTrackingRecHit, GCC11_FINAL, GenericTransientTrackingRecHit, GCC11_FINAL, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.
Definition at line 25 of file TrackingRecHit.h.
Definition at line 32 of file TrackingRecHit.h.
Definition at line 33 of file TrackingRecHit.h.
virtual TrackingRecHit::~TrackingRecHit | ( | ) | [inline, virtual] |
Definition at line 38 of file TrackingRecHit.h.
{}
virtual TrackingRecHit* TrackingRecHit::clone | ( | ) | const [pure virtual] |
Implemented in BeamSpotTransientTrackingRecHit, SiStripLaserRecHit2D, CSCRecHit2D, CSCSegment, DTChamberRecSegment2D, DTRecHit1D, DTRecHit1DPair, DTRecSegment2D, DTRecSegment4D, DTSLRecCluster, DTSLRecSegment2D, RPCRecHit, ProjectedSiStripRecHit2D, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, SiTrackerGSMatchedRecHit2D, SiTrackerGSRecHit2D, SiTrackerMultiRecHit, GCC11_FINAL, RecHit2DLocalPos, MuonTransientTrackingRecHit, KFBasedPixelFitter::MyBeamSpotHit, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GenericTransientTrackingRecHit, GCC11_FINAL, TransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.
Referenced by RPCMonitorDigi::analyze(), RPCSeedrecHitFinder::complete(), RPCCosmicSeedrecHitFinder::complete(), GenericTransientTrackingRecHit::GenericTransientTrackingRecHit(), MuonSeedCleaner::NChi2OfSegment(), MuonSeedCleaner::NRecHitsFromSegment(), GenericTransientTrackingRecHit::operator=(), cms::SimpleTrackListMerger::produce(), reco::modules::CosmicTrackSplitter::produce(), MuonMillepedeTrackRefitter::produce(), TrackCandidateProducer::produce(), MuonTrackProducer::produce(), TrajectorySeedProducer::produce(), SimpleCosmicBONSeeder::produce(), reco::modules::TrackerTrackHitFilter::produceFromTrack(), reco::modules::TrackerTrackHitFilter::produceFromTrajectory(), and SeedFromProtoTrack::SeedFromProtoTrack().
virtual int TrackingRecHit::dimension | ( | ) | const [pure virtual] |
Implemented in BeamSpotTransientTrackingRecHit, CSCSegment, DTRecSegment2D, DTRecSegment4D, DTSLRecCluster, BaseTrackerRecHit, ProjectedSiStripRecHit2D, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, SiTrackerMultiRecHit, GCC11_FINAL, RecHit1D, RecHit2DLocalPos, RecSegment, KFBasedPixelFitter::MyBeamSpotHit, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GenericTransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.
Referenced by reco::HitPattern::appendHit(), GenericTransientTrackingRecHit::dimension(), Chi2MeasurementEstimator::estimate(), HICMeasurementEstimator::estimate(), AlignmentMonitorTracksFromTrajectories::event(), KfComponentsHolder::genericFill(), PrimaryVertexValidation::isHit2D(), CalibrationTrackSelector::isHit2D(), AlignmentTrackSelector::isHit2D(), AlignmentMuonHIPTrajectorySelector::produce(), CurrentAlignmentKFUpdator::update(), KFUpdator::update(), and PosteriorWeightsCalculator::weights().
DetId TrackingRecHit::geographicalId | ( | ) | const [inline] |
Reimplemented in DTRecHit1DPair, and GCC11_FINAL.
Definition at line 62 of file TrackingRecHit.h.
References m_id.
Referenced by MuonCSCChamberResidual::addResidual(), MuonDT13ChamberResidual::addResidual(), MuonDT2ChamberResidual::addResidual(), fireworks::addSiStripClusters(), TrackDetectorAssociator::addTAMuonSegmentMatch(), CSCPairResidualsConstraint::addTrack(), MuonTruth::analyze(), AlignmentStats::analyze(), SiStripMonitorMuonHLT::analyzeOnTrackClusters(), reco::HitPattern::appendHit(), TrackCleaner::areSame(), SegmentToTrackAssociator::associate(), MuonTruth::associateCSCHitId(), TrackerHitAssociator::associateHit(), MuonTruth::associateHitId(), TrackerHitAssociator::associateHitId(), TrackingRecHitLessFromGlobalPosition::barrelForwardLess(), SortHitPointersByGlobalPosition::barrelForwardLess(), SortHitsByGlobalPosition::barrelForwardLess(), MuonTransientTrackingRecHitBuilder::build(), FWTrackTrackingRecHitProxyBuilder::build(), SeedForPhotonConversion1Leg::buildSeed(), SeedFromConsecutiveHitsCreator::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeed(), reco::helper::JetMuonHitsIDHelper::calculate(), CSCPairResidualsConstraint::calculatePhi(), DTSegmentUpdator::calculateT0corr(), DTRecSegment4D::chamberId(), DTChamberRecSegment2D::chamberId(), SimpleCosmicBONSeeder::checkCharge(), reco::modules::TrackerTrackHitFilter::checkHitAngle(), AlignmentTrackSelector::checkPrescaledHits(), reco::modules::TrackerTrackHitFilter::checkPXLCorrClustCharge(), RectangularEtaPhiTrackingRegion::checkRZOld(), TrajectoryCleanerBySharedHits::clean(), cms::clusterProduct(), helper::MuonCollectionStoreManager::clusterRefsOK(), PixelClusterShapeSeedComparitor::compatibleHit(), SeedFromNuclearInteraction::construct(), CSCSegment::cscDetId(), CSCRecHit2D::cscDetId(), MuonAlignmentAnalyzer::doMatching(), MuonAlignment::doMatching(), DTRecSegment4D::DTRecSegment4D(), reco::HitPattern::encode(), RecHitComparatorByPosition::equals(), MuonChi2MeasurementEstimator::estimate(), VertexTrackCompatibilityEstimator< 5 >::estimate(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), TkAlCaRecoMonitor::fillHitmaps(), JPTJetAnalyzer::fillSiStripHitSoN(), DTTimingExtractor::fillTiming(), DynamicTruncation::filter(), KFTrajectoryFitter::fit(), DTSegmentUpdator::fit(), PixelTripletLowPtGenerator::getGlobalPosition(), HitInfo::getInfo(), ValidHitPairFilter::getLayer(), TrackAssociatorByHits::getMatchedIds(), MuonAssociatorByHits::getMatchedIds(), PlotRecTracks::getPixelInfo(), PlotRecTracks::getStripInfo(), TrackerRecHit::init(), SeedFromProtoTrack::init(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectory(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectoryFromTriplet(), TrackingRecHitLessFromGlobalPosition::insideOutLess(), SortHitPointersByGlobalPosition::insideOutLess(), SortHitsByGlobalPosition::insideOutLess(), Trajectory::isBad(), MuonTransientTrackingRecHit::isCSC(), MuonTransientTrackingRecHit::isDT(), PrimaryVertexValidation::isHit2D(), CalibrationTrackSelector::isHit2D(), AlignmentTrackSelector::isHit2D(), CalibrationTrackSelector::isIsolated(), AlignmentTrackSelector::isIsolated(), AlignmentTrackSelector::isOkCharge(), MuonTransientTrackingRecHit::isRPC(), RPCSeedOverlapper::isShareHit(), TempTrajectory::lost(), Trajectory::lost(), TrackClusterSplitter::markClusters(), GSRecHitMatcher::match(), MuonSegmentMatcher::matchDT(), MuonResidualsFromTrack::MuonResidualsFromTrack(), MuonSeedCleaner::NChi2OfSegment(), MuonSeedCleaner::NRecHitsFromSegment(), CompareDetY_plus::operator()(), CompareHitY_plus::operator()(), CompareHitY::operator()(), HashByDetId::operator()(), SortHitsByY::operator()(), EqualsBySharesInput::operator()(), OuterHitCompatibility::operator()(), HitComparator::operator()(), CompareHitPairsY::operator()(), SortHitPointersByY::operator()(), TrackingRecHitLess::operator()(), CompareDetY_minus::operator()(), RecHitComparatorByPosition::operator()(), HitComparatorByRadius::operator()(), operator<(), RPCRecHit::operator==(), PlotRecTracks::printRecTracks(), HLTTrackClusterRemover::process(), SeedClusterRemover::process(), TrackClusterRemover::process(), cms::TrackListMerger::produce(), cms::SimpleTrackListMerger::produce(), AlignmentPrescaler::produce(), reco::modules::CosmicTrackSplitter::produce(), TkAlCaOverlapTagger::produce(), TrackClusterSplitter::produce(), AlignmentMuonHIPTrajectorySelector::produce(), reco::modules::TrackerTrackHitFilter::produceFromTrack(), reco::modules::TrackerTrackHitFilter::produceFromTrajectory(), GSRecHitMatcher::projectOnly(), recHitDet(), PixelTrackCleanerBySharedHits::recHitsAreEqual(), DTSegmentUpdator::rejectBadHits(), helper::ClusterStorer::ClusterHitRecord< ClusterRefType >::rekey(), ClusterRemovalRefSetter::reKey(), HIPAlignmentAlgorithm::run(), RoadSearchCloudMakerAlgorithm::run(), TrackInfoProducerAlgorithm::run(), MuonMillepedeAlgorithm::run(), KFBasedPixelFitter::run(), BaseTrackerRecHit::sameDetModule(), SeedFromGenericPairOrTriplet::seedFromPair(), SeedFromGenericPairOrTriplet::seedFromTriplet(), CSCRecHit2D::sharesInput(), SiTrackerGSMatchedRecHit2D::sharesInput(), SiTrackerMultiRecHit::sharesInput(), StartingLayerFinder::startingLayers(), DTSLRecSegment2D::superLayerId(), FastTSGFromPropagation::trackerSeeds(), SiStripMonitorTrack::trackStudy(), and DTSegmentUpdator::update().
{return m_id;}
void TrackingRecHit::getKfComponents | ( | KfComponentsHolder & | holder | ) | const [virtual] |
Reimplemented in BaseSiTrackerRecHit2DLocalPos, BaseTrackerRecHit, GSSiTrackerRecHit2DLocalPos, ProjectedSiStripRecHit2D, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, SiTrackerMultiRecHit, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, and GCC11_FINAL.
Definition at line 27 of file TrackingRecHit.cc.
References KfComponentsHolder::genericFill().
Referenced by HelpertRecHit2DLocalPos::getKfComponents().
{ holder.genericFill(*this); }
unsigned int TrackingRecHit::getRTTI | ( | ) | const [inline] |
Definition at line 77 of file TrackingRecHit.h.
References m_status, and rttiShift.
Referenced by trackerHitRTTI::rtti().
Type TrackingRecHit::getType | ( | ) | const [inline] |
Definition at line 74 of file TrackingRecHit.h.
References m_status, and typeMask.
Referenced by reco::HitPattern::encode(), Trajectory::isBad(), isValid(), TempTrajectory::lost(), and Trajectory::lost().
virtual bool TrackingRecHit::hasPositionAndError | ( | ) | const [inline, virtual] |
to be redefined by daughter class
Reimplemented in BaseSiTrackerRecHit2DLocalPos, and BaseTrackerRecHit.
Definition at line 69 of file TrackingRecHit.h.
{return true;};
bool TrackingRecHit::isValid | ( | void | ) | const [inline] |
Reimplemented in GCC11_FINAL.
Definition at line 75 of file TrackingRecHit.h.
References getType(), and valid.
Referenced by fireworks::addSiStripClusters(), SiStripQualityHotStripIdentifier::algoAnalyze(), AlignmentStats::analyze(), GroupedCkfTrajectoryBuilder::backwardFit(), FWTrackTrackingRecHitProxyBuilder::build(), reco::modules::TrackerTrackHitFilter::checkHit(), AlignmentTrackSelector::checkPrescaledHits(), TrajectoryCleanerBySharedHits::clean(), NuclearVertexBuilder::cleanTrackCollection(), helper::MuonCollectionStoreManager::clusterRefsOK(), RecHitComparatorByPosition::equals(), cms::HICSeedMeasurementEstimator::estimate(), MRHChi2MeasurementEstimator::estimate(), VertexTrackCompatibilityEstimator< 5 >::estimate(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), KFTrajectoryFitter::fit(), NuclearTester::fwdEstimate(), TrackAssociatorByHits::getMatchedIds(), MuonAssociatorByHits::getMatchedIds(), Trajectory::isBad(), AlignmentTrackSelector::isHit2D(), AlignmentTrackSelector::isOkCharge(), TempTrajectory::lost(), Trajectory::lost(), MuonResidualsFromTrack::MuonResidualsFromTrack(), ConversionHitChecker::nSharedHits(), PlotRecTracks::printRecTracks(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), HLTTrackClusterRemover::produce(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), ConversionTrackMerger::produce(), AlignmentPrescaler::produce(), PFConversionProducer::produce(), reco::modules::CosmicTrackSplitter::produce(), TrackClusterSplitter::produce(), TkAlCaOverlapTagger::produce(), AlignmentMuonHIPTrajectorySelector::produce(), TrackClusterRemover::produce(), reco::modules::TrackerTrackHitFilter::produceFromTrack(), ClusterRemovalRefSetter::reKey(), HIPAlignmentAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), MuonMillepedeAlgorithm::run(), BaseTrackerRecHit::sameDetModule(), ora::QueryableVector< Item >::select(), SiTrackerGSMatchedRecHit2D::sharesInput(), and ClusterShapeTrajectoryFilter::toBeContinued().
virtual LocalPoint TrackingRecHit::localPosition | ( | ) | const [pure virtual] |
Implemented in BeamSpotTransientTrackingRecHit, SiStripLaserRecHit2D, CSCRecHit2D, CSCSegment, DTRecHit1D, DTRecHit1DPair, DTRecSegment2D, DTRecSegment4D, DTSLRecCluster, RPCRecHit, BaseSiTrackerRecHit2DLocalPos, BaseTrackerRecHit, GSSiTrackerRecHit2DLocalPos, GCC11_FINAL, RecHit1D, RecHit2DLocalPos, KFBasedPixelFitter::MyBeamSpotHit, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GenericTransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.
Referenced by MuonCSCChamberResidual::addResidual(), MuonDT13ChamberResidual::addResidual(), MuonDT2ChamberResidual::addResidual(), TrackDetectorAssociator::addTAMuonSegmentMatch(), SiStripGainCosmicCalculator::algoAnalyze(), SiStripTrackingRecHitsValid::analyze(), TrackCleaner::areSame(), TrackingRecHitLessFromGlobalPosition::barrelForwardLess(), SortHitPointersByGlobalPosition::barrelForwardLess(), SortHitsByGlobalPosition::barrelForwardLess(), FWTrackTrackingRecHitProxyBuilder::build(), SeedForPhotonConversion1Leg::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeed(), CSCPairResidualsConstraint::calculatePhi(), RectangularEtaPhiTrackingRegion::checkRZOld(), RecHitComparatorByPosition::equals(), Chi2Strip1DEstimator::estimate(), ForwardMeasurementEstimator::estimate(), Chi2StripEstimator::estimate(), BarrelMeasurementEstimator::estimate(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), RoadSearchTrackCandidateMakerAlgorithm::extrapolateTrajectory(), KFTrajectoryFitter::fit(), PixelTripletLowPtGenerator::getGlobalPosition(), PlotRecTracks::getPixelInfo(), PlotRecTracks::getStripInfo(), TransientTrackingRecHit::globalPosition(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectory(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectoryFromTriplet(), TrackingRecHitLessFromGlobalPosition::insideOutLess(), SortHitPointersByGlobalPosition::insideOutLess(), SortHitsByGlobalPosition::insideOutLess(), CalibrationTrackSelector::isIsolated(), AlignmentTrackSelector::isIsolated(), RPCSeedOverlapper::isShareHit(), GenericTransientTrackingRecHit::localPosition(), MuonResidualsFromTrack::MuonResidualsFromTrack(), CompareHitY::operator()(), CompareHitY_plus::operator()(), SortHitsByY::operator()(), HitComparator::operator()(), OuterHitCompatibility::operator()(), CompareHitPairsY::operator()(), SortHitPointersByY::operator()(), RecHitComparatorByPosition::operator()(), GCC11_FINAL::parameters(), HIPAlignmentAlgorithm::processHit1D(), HIPAlignmentAlgorithm::processHit2D(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), reco::modules::CosmicTrackSplitter::produce(), AlignmentMuonHIPTrajectorySelector::produce(), Strip1DMeasurementTransformator::projectionMatrix(), RecHitPropagator::propagate(), PixelTrackCleanerBySharedHits::recHitsAreEqual(), RoadSearchCloudMakerAlgorithm::run(), TrackCandidateProducer::sameLocalParameters(), SeedFromGenericPairOrTriplet::seedFromPair(), and SeedFromGenericPairOrTriplet::seedFromTriplet().
virtual LocalError TrackingRecHit::localPositionError | ( | ) | const [pure virtual] |
Implemented in BeamSpotTransientTrackingRecHit, SiStripLaserRecHit2D, CSCRecHit2D, CSCSegment, DTRecHit1D, DTRecHit1DPair, DTRecSegment2D, DTRecSegment4D, DTSLRecCluster, RPCRecHit, BaseSiTrackerRecHit2DLocalPos, BaseTrackerRecHit, GSSiTrackerRecHit2DLocalPos, GCC11_FINAL, RecHit1D, RecHit2DLocalPos, KFBasedPixelFitter::MyBeamSpotHit, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GenericTransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.
Referenced by MuonCSCChamberResidual::addResidual(), MuonDT13ChamberResidual::addResidual(), MuonDT2ChamberResidual::addResidual(), TrackDetectorAssociator::addTAMuonSegmentMatch(), SiStripTrackingRecHitsValid::analyze(), CSCPairResidualsConstraint::calculatePhi(), Chi2Strip1DEstimator::estimate(), ConversionBarrelEstimator::estimate(), Chi2StripEstimator::estimate(), ConversionForwardEstimator::estimate(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), KFTrajectoryFitter::fit(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectory(), GenericTransientTrackingRecHit::localPositionError(), MuonResidualsFromTrack::MuonResidualsFromTrack(), GCC11_FINAL::parametersError(), HIPAlignmentAlgorithm::processHit1D(), HIPAlignmentAlgorithm::processHit2D(), AlignmentMuonHIPTrajectorySelector::produce(), TrackingRecHitProjector< ResultingHit >::project(), RecHitPropagator::propagate(), TrackCandidateProducer::sameLocalParameters(), and TransientTrackingRecHit::setPositionErrors().
virtual AlgebraicVector TrackingRecHit::parameters | ( | ) | const [pure virtual] |
Implemented in BeamSpotTransientTrackingRecHit, CSCSegment, DTRecSegment2D, DTRecSegment4D, DTSLRecCluster, BaseTrackerRecHit, GCC11_FINAL, RecHit1D, RecHit2DLocalPos, KFBasedPixelFitter::MyBeamSpotHit, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GenericTransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.
Referenced by Chi2MeasurementEstimatorForTrackerHits::estimate(), KfComponentsHolder::genericFill_(), and GenericTransientTrackingRecHit::parameters().
virtual AlgebraicSymMatrix TrackingRecHit::parametersError | ( | ) | const [pure virtual] |
Implemented in BeamSpotTransientTrackingRecHit, CSCSegment, DTRecSegment2D, DTRecSegment4D, DTSLRecCluster, BaseTrackerRecHit, GCC11_FINAL, RecHit1D, RecHit2DLocalPos, MuonTransientTrackingRecHit, KFBasedPixelFitter::MyBeamSpotHit, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GenericTransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.
Referenced by Chi2MeasurementEstimatorForTrackerHits::estimate(), KfComponentsHolder::genericFill_(), and GenericTransientTrackingRecHit::parametersError().
virtual AlgebraicMatrix TrackingRecHit::projectionMatrix | ( | ) | const [pure virtual] |
Implemented in BeamSpotTransientTrackingRecHit, CSCSegment, DTRecSegment2D, DTRecSegment4D, DTSLRecCluster, BaseTrackerRecHit, GCC11_FINAL, RecHit1D, RecHit2DLocalPos, KFBasedPixelFitter::MyBeamSpotHit, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GenericTransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.
Referenced by KfComponentsHolder::genericFill_(), MeasurementExtractor::measuredError(), MeasurementExtractor::measuredParameters(), GCC11_FINAL::projectionMatrix(), and GenericTransientTrackingRecHit::projectionMatrix().
id_type TrackingRecHit::rawId | ( | ) | const [inline] |
Definition at line 61 of file TrackingRecHit.h.
References m_id.
Referenced by GCC11_FINAL::monoId(), and GCC11_FINAL::stereoId().
{ return m_id;}
virtual std::vector<TrackingRecHit*> TrackingRecHit::recHits | ( | ) | [pure virtual] |
Non-const access to component RecHits (if any)
Implemented in BeamSpotTransientTrackingRecHit, CSCSegment, DTRecHit1D, DTRecHit1DPair, DTRecSegment2D, DTRecSegment4D, DTSLRecCluster, RPCRecHit, ProjectedSiStripRecHit2D, GCC11_FINAL, SiTrackerMultiRecHit, TrackerSingleRecHit, GCC11_FINAL, RecHit2DLocalPos, KFBasedPixelFitter::MyBeamSpotHit, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GenericTransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.
virtual std::vector<const TrackingRecHit*> TrackingRecHit::recHits | ( | ) | const [pure virtual] |
Access to component RecHits (if any)
Implemented in BeamSpotTransientTrackingRecHit, CSCSegment, DTRecHit1D, DTRecHit1DPair, DTRecSegment2D, DTRecSegment4D, DTSLRecCluster, RPCRecHit, ProjectedSiStripRecHit2D, GCC11_FINAL, SiTrackerMultiRecHit, TrackerSingleRecHit, GCC11_FINAL, RecHit2DLocalPos, KFBasedPixelFitter::MyBeamSpotHit, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GenericTransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.
Referenced by reco::HitPattern::appendHit(), GenericTransientTrackingRecHit::recHits(), GCC11_FINAL::recHits(), recHitsV(), SeedFilter::seeds(), TrackerSingleRecHit::sharesInput(), and SiTrackerMultiRecHit::sharesInput().
void TrackingRecHit::recHitsV | ( | std::vector< const TrackingRecHit * > & | v | ) | const [virtual] |
void TrackingRecHit::recHitsV | ( | std::vector< TrackingRecHit * > & | v | ) | [virtual] |
void TrackingRecHit::setId | ( | id_type | iid | ) | [inline, protected] |
Definition at line 88 of file TrackingRecHit.h.
References m_id.
Referenced by DTChamberRecSegment2D::setChamberId().
{ m_id=iid;}
void TrackingRecHit::setRTTI | ( | unsigned int | rt | ) | [inline, protected] |
void TrackingRecHit::setType | ( | Type | ttype | ) | [inline, protected] |
Definition at line 89 of file TrackingRecHit.h.
References m_status.
Referenced by MuonTransientTrackingRecHit::invalidateHit().
{ m_status=ttype;}
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 CSCRecHit2D, GSSiTrackerRecHit2DLocalPos, ProjectedSiStripRecHit2D, GCC11_FINAL, SiTrackerGSMatchedRecHit2D, SiTrackerGSRecHit2D, SiTrackerMultiRecHit, TrackerSingleRecHit, and GCC11_FINAL.
Definition at line 16 of file TrackingRecHit.cc.
References Exception, and lumiQueryAPI::msg.
Referenced by TrajectoryCleanerBySharedHits::clean(), NuclearVertexBuilder::cleanTrackCollection(), ConversionHitChecker::nSharedHits(), EqualsBySharesInput::operator()(), cms::TrackListMerger::produce(), cms::SimpleTrackListMerger::produce(), ConversionTrackMerger::produce(), PFConversionProducer::produce(), SeedFilter::seeds(), TrackerSingleRecHit::sharesInput(), and CSCSegment::sharesRecHits().
{ // // for the time being: don't force implementation in all derived classes // but throw exception to indicate missing implementation // std::string msg("Missing implementation of TrackingRecHit::sharedInput in "); msg += typeid(*this).name(); throw cms::Exception(msg); return false; }
Type TrackingRecHit::type | ( | ) | const [inline] |
Reimplemented in GCC11_FINAL, and GCC11_FINAL.
Definition at line 73 of file TrackingRecHit.h.
References m_status, and typeMask.
Referenced by reco::modules::CosmicTrackSplitter::produce().
virtual float TrackingRecHit::weight | ( | ) | const [inline, virtual] |
Definition at line 71 of file TrackingRecHit.h.
{return 1.;}
friend class MuonTransientTrackingRecHit [friend] |
Definition at line 14 of file TrackingRecHit.h.
id_type TrackingRecHit::m_id [private] |
Definition at line 95 of file TrackingRecHit.h.
Referenced by geographicalId(), rawId(), and setId().
unsigned int TrackingRecHit::m_status [private] |
const int TrackingRecHit::rttiShift = 24 [static] |
Definition at line 27 of file TrackingRecHit.h.
const int TrackingRecHit::typeMask = 0xf [static] |
Definition at line 26 of file TrackingRecHit.h.