CMS 3D CMS Logo

Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes | Friends

TrackingRecHit Class Reference

#include <TrackingRecHit.h>

Inheritance diagram for TrackingRecHit:
BaseTrackerRecHit GCC11_FINAL< T, TOPO > RecHit1D RecHit2DLocalPos RecSegment TransientTrackingRecHit GCC11_FINAL< T, TOPO > ProjectedSiStripRecHit2D SiTrackerMultiRecHit TrackerSingleRecHit DTRecHit1D DTRecHit1DPair DTSLRecCluster BaseSiTrackerRecHit2DLocalPos GCC11_FINAL< T, TOPO > GEMRecHit GSSiTrackerRecHit2DLocalPos RPCRecHit SiStripLaserRecHit2D DTRecSegment2D DTRecSegment4D GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO > TValidTrackingRecHit

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 }

Public Member Functions

virtual TrackingRecHitclone () 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

Detailed Description

Definition at line 11 of file TrackingRecHit.h.


Member Typedef Documentation

typedef unsigned int TrackingRecHit::id_type

Definition at line 16 of file TrackingRecHit.h.


Member Enumeration Documentation

definition of equality via shared input

Enumerator:
all 
some 

Reimplemented in GCC11_FINAL< T, TOPO >.

Definition at line 30 of file TrackingRecHit.h.

{all, some};

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)

Enumerator:
valid 
missing 
inactive 
bad 

Reimplemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GenericTransientTrackingRecHit, and GCC11_FINAL< T, TOPO >.

Definition at line 25 of file TrackingRecHit.h.

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

Constructor & Destructor Documentation

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

Definition at line 32 of file TrackingRecHit.h.

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

Definition at line 33 of file TrackingRecHit.h.

: m_id(id), m_status(type) {}
TrackingRecHit::TrackingRecHit ( DetId  id,
unsigned int  rt,
Type  type = valid 
) [inline]

Definition at line 35 of file TrackingRecHit.h.

: m_id(id), m_status((rt<< rttiShift)|int(type)) {}
virtual TrackingRecHit::~TrackingRecHit ( ) [inline, virtual]

Definition at line 38 of file TrackingRecHit.h.

{}

Member Function Documentation

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

Implemented in GCC11_FINAL< T, TOPO >, SiStripLaserRecHit2D, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, DTChamberRecSegment2D, DTRecHit1D, DTRecHit1DPair, DTRecSegment2D, DTRecSegment4D, DTSLRecCluster, DTSLRecSegment2D, GEMRecHit, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, RPCRecHit, ProjectedSiStripRecHit2D, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, SiTrackerGSMatchedRecHit2D, SiTrackerGSRecHit2D, SiTrackerMultiRecHit, GCC11_FINAL< T, TOPO >, RecHit2DLocalPos, MuonTransientTrackingRecHit, KFBasedPixelFitter::GCC11_FINAL, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GenericTransientTrackingRecHit, GCC11_FINAL< T, TOPO >, TransientTrackingRecHit, TValidTrackingRecHit, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.

Referenced by RPCMonitorDigi::analyze(), TValidTrackingRecHit::cloneHit(), GenericTransientTrackingRecHit::cloneHit(), RPCSeedrecHitFinder::complete(), RPCCosmicSeedrecHitFinder::complete(), GenericTransientTrackingRecHit::GenericTransientTrackingRecHit(), MuonSeedCleaner::NChi2OfSegment(), MuonSeedCleaner::NRecHitsFromSegment(), 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]
DetId TrackingRecHit::geographicalId ( ) const [inline]

Reimplemented in DTRecHit1DPair, and GCC11_FINAL< T, TOPO >.

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(), AlignmentStats::analyze(), SiStripMonitorMuonHLT::analyzeOnTrackClusters(), reco::HitPattern::appendHit(), TrackCleaner::areSame(), SegmentToTrackAssociator::associate(), TrackerHitAssociator::associateHit(), TrackerHitAssociator::associateHitId(), TrackingRecHitLessFromGlobalPosition::barrelForwardLess(), MuonTransientTrackingRecHitBuilder::build(), FWTrackTrackingRecHitProxyBuilder::build(), SeedForPhotonConversion1Leg::buildSeed(), SeedFromConsecutiveHitsCreator::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeedBool(), reco::helper::JetMuonHitsIDHelper::calculate(), CSCPairResidualsConstraint::calculatePhi(), QuadrupletSeedMerger::calculatePhiEta(), DTSegmentUpdator::calculateT0corr(), DTRecSegment4D::chamberId(), DTChamberRecSegment2D::chamberId(), SimpleCosmicBONSeeder::checkCharge(), reco::modules::TrackerTrackHitFilter::checkHitAngle(), AlignmentTrackSelector::checkPrescaledHits(), reco::modules::TrackerTrackHitFilter::checkPXLCorrClustCharge(), TrajectoryCleanerBySharedHits::clean(), cms::clusterProduct(), helper::MuonCollectionStoreManager::clusterRefsOK(), PixelClusterShapeSeedComparitor::compatibleHit(), SeedFromNuclearInteraction::construct(), OutsideInMuonSeeder::doDebug(), 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(), DTSegmentUpdator::fit(), PixelTripletLowPtGenerator::getGlobalPosition(), HitInfo::getInfo(), ValidHitPairFilter::getLayer(), QuickTrackAssociatorByHits::getMatchedClusters(), TrackAssociatorByHits::getMatchedIds(), MuonAssociatorByHits::getMatchedIds(), PlotRecTracks::getPixelInfo(), PlotRecTracks::getStripInfo(), TrackerRecHit::init(), SeedFromProtoTrack::init(), TrackingRecHitLessFromGlobalPosition::insideOutLess(), Trajectory::isBad(), MuonTransientTrackingRecHit::isCSC(), MuonTransientTrackingRecHit::isDT(), QuadrupletSeedMerger::isEqual(), 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(), TrackMerger::merge(), MuonResidualsFromTrack::MuonResidualsFromTrack(), MuonSeedCleaner::NChi2OfSegment(), MuonSeedCleaner::NRecHitsFromSegment(), CompareHitY::operator()(), CompareHitY_plus::operator()(), CompareDetY_plus::operator()(), HashByDetId::operator()(), EqualsBySharesInput::operator()(), HitComparator::operator()(), OuterHitCompatibility::operator()(), CompareHitPairsY::operator()(), TrackingRecHitLess::operator()(), CompareDetY_minus::operator()(), TrackMerger::MomentumSort::operator()(), HitComparatorByRadius::operator()(), RecHitComparatorByPosition::operator()(), operator<(), GEMRecHit::operator==(), RPCRecHit::operator==(), QuadrupletSeedMerger::printHit(), QuadrupletSeedMerger::printNtuplet(), PlotRecTracks::printRecTracks(), HLTTrackClusterRemover::process(), SeedClusterRemover::process(), TrackClusterRemover::process(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), AlignmentPrescaler::produce(), reco::modules::CosmicTrackSplitter::produce(), MuonReSeeder::produce(), TrackClusterSplitter::produce(), TkAlCaOverlapTagger::produce(), FakeTrackProducer< T >::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(), TrackInfoProducerAlgorithm::run(), MuonMillepedeAlgorithm::run(), KFBasedPixelFitter::run(), BaseTrackerRecHit::sameDetModule(), SeedFromGenericPairOrTriplet::seedFromPair(), SeedFromGenericPairOrTriplet::seedFromTriplet(), 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]
unsigned int TrackingRecHit::getRTTI ( ) const [inline]

Definition at line 77 of file TrackingRecHit.h.

References m_status, and rttiShift.

Referenced by trackerHitRTTI::rtti().

{ return m_status >> rttiShift;}
Type TrackingRecHit::getType ( ) const [inline]
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< T, TOPO >, and GCC11_FINAL< T, TOPO >.

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(), OutsideInMuonSeeder::doDebug(), RecHitComparatorByPosition::equals(), VertexTrackCompatibilityEstimator< 5 >::estimate(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), NuclearTester::fwdEstimate(), QuickTrackAssociatorByHits::getMatchedClusters(), TrackAssociatorByHits::getMatchedIds(), MuonAssociatorByHits::getMatchedIds(), Trajectory::isBad(), AlignmentTrackSelector::isHit2D(), AlignmentTrackSelector::isOkCharge(), TempTrajectory::lost(), Trajectory::lost(), TrackMerger::merge(), MuonResidualsFromTrack::MuonResidualsFromTrack(), ConversionHitChecker::nSharedHits(), PlotRecTracks::printRecTracks(), helper::MuonCollectionStoreManager::processMuon(), reco::modules::MultiTrackSelector::processMVA(), helper::TrackCollectionStoreManager::processTrack(), cms::TrackListMerger::produce(), cms::SimpleTrackListMerger::produce(), HLTTrackClusterRemover::produce(), ConversionTrackMerger::produce(), AlignmentPrescaler::produce(), MuonReSeeder::produce(), reco::modules::CosmicTrackSplitter::produce(), PFConversionProducer::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().

{return getType()==valid;}
virtual LocalPoint TrackingRecHit::localPosition ( ) const [pure virtual]

Implemented in GCC11_FINAL< T, TOPO >, SiStripLaserRecHit2D, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, DTRecHit1D, DTRecHit1DPair, DTRecSegment2D, DTRecSegment4D, DTSLRecCluster, GEMRecHit, RPCRecHit, BaseSiTrackerRecHit2DLocalPos, BaseTrackerRecHit, GSSiTrackerRecHit2DLocalPos, GCC11_FINAL< T, TOPO >, RecHit1D, RecHit2DLocalPos, KFBasedPixelFitter::GCC11_FINAL, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GenericTransientTrackingRecHit, and GCC11_FINAL< T, TOPO >.

Referenced by MuonCSCChamberResidual::addResidual(), MuonDT13ChamberResidual::addResidual(), MuonDT2ChamberResidual::addResidual(), TrackDetectorAssociator::addTAMuonSegmentMatch(), SiStripGainCosmicCalculator::algoAnalyze(), SiStripTrackingRecHitsValid::analyze(), TrackCleaner::areSame(), TrackingRecHitLessFromGlobalPosition::barrelForwardLess(), FWTrackTrackingRecHitProxyBuilder::build(), SeedForPhotonConversion1Leg::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeed(), CSCPairResidualsConstraint::calculatePhi(), QuadrupletSeedMerger::calculatePhiEta(), RecHitComparatorByPosition::equals(), ForwardMeasurementEstimator::estimate(), BarrelMeasurementEstimator::estimate(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), PixelTripletLowPtGenerator::getGlobalPosition(), PlotRecTracks::getPixelInfo(), PlotRecTracks::getStripInfo(), TValidTrackingRecHit::globalPosition(), GCC11_FINAL< T, TOPO >::globalPosition(), TrackingRecHitLessFromGlobalPosition::insideOutLess(), QuadrupletSeedMerger::isEqual(), CalibrationTrackSelector::isIsolated(), AlignmentTrackSelector::isIsolated(), RPCSeedOverlapper::isShareHit(), GenericTransientTrackingRecHit::localPosition(), MuonResidualsFromTrack::MuonResidualsFromTrack(), CompareHitY::operator()(), CompareHitY_plus::operator()(), HitComparator::operator()(), OuterHitCompatibility::operator()(), CompareHitPairsY::operator()(), RecHitComparatorByPosition::operator()(), GCC11_FINAL< T, TOPO >::parameters(), QuadrupletSeedMerger::printHit(), QuadrupletSeedMerger::printNtuplet(), HIPAlignmentAlgorithm::processHit1D(), HIPAlignmentAlgorithm::processHit2D(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), reco::modules::CosmicTrackSplitter::produce(), FakeTrackProducer< T >::produce(), AlignmentMuonHIPTrajectorySelector::produce(), Strip1DMeasurementTransformator::projectionMatrix(), RecHitPropagator::propagate(), PixelTrackCleanerBySharedHits::recHitsAreEqual(), TrackCandidateProducer::sameLocalParameters(), SeedFromGenericPairOrTriplet::seedFromPair(), and SeedFromGenericPairOrTriplet::seedFromTriplet().

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

Implemented in GCC11_FINAL< T, TOPO >, SiStripLaserRecHit2D, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, DTRecHit1D, DTRecHit1DPair, DTRecSegment2D, DTRecSegment4D, DTSLRecCluster, GEMRecHit, RPCRecHit, BaseSiTrackerRecHit2DLocalPos, BaseTrackerRecHit, GSSiTrackerRecHit2DLocalPos, GCC11_FINAL< T, TOPO >, RecHit1D, RecHit2DLocalPos, KFBasedPixelFitter::GCC11_FINAL, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GenericTransientTrackingRecHit, and GCC11_FINAL< T, TOPO >.

Referenced by MuonCSCChamberResidual::addResidual(), MuonDT13ChamberResidual::addResidual(), MuonDT2ChamberResidual::addResidual(), TrackDetectorAssociator::addTAMuonSegmentMatch(), SiStripTrackingRecHitsValid::analyze(), CSCPairResidualsConstraint::calculatePhi(), ConversionBarrelEstimator::estimate(), ConversionForwardEstimator::estimate(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), GCC11_FINAL< T, TOPO >::globalPositionError(), TValidTrackingRecHit::globalPositionError(), TValidTrackingRecHit::globalState(), GenericTransientTrackingRecHit::localPositionError(), MuonResidualsFromTrack::MuonResidualsFromTrack(), GCC11_FINAL< T, TOPO >::parametersError(), HIPAlignmentAlgorithm::processHit1D(), HIPAlignmentAlgorithm::processHit2D(), AlignmentMuonHIPTrajectorySelector::produce(), TrackingRecHitProjector< ResultingHit >::project(), RecHitPropagator::propagate(), and TrackCandidateProducer::sameLocalParameters().

virtual AlgebraicVector TrackingRecHit::parameters ( ) const [pure virtual]
virtual AlgebraicSymMatrix TrackingRecHit::parametersError ( ) const [pure virtual]
virtual AlgebraicMatrix TrackingRecHit::projectionMatrix ( ) const [pure virtual]
id_type TrackingRecHit::rawId ( ) const [inline]
virtual std::vector<TrackingRecHit*> TrackingRecHit::recHits ( ) [pure virtual]
virtual std::vector<const TrackingRecHit*> TrackingRecHit::recHits ( ) const [pure virtual]
void TrackingRecHit::recHitsV ( std::vector< const TrackingRecHit * > &  v) const [virtual]

Definition at line 7 of file TrackingRecHit.cc.

References recHits().

                                                                   {
  v = recHits();
}
void TrackingRecHit::recHitsV ( std::vector< TrackingRecHit * > &  v) [virtual]

Definition at line 11 of file TrackingRecHit.cc.

References recHits().

                                                       {
  v = recHits();
}
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]

Definition at line 91 of file TrackingRecHit.h.

References m_status, and rttiShift.

{ m_status &= (rt<< rttiShift);} // can be done only once...
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 GCC11_FINAL< T, TOPO >, GSSiTrackerRecHit2DLocalPos, ProjectedSiStripRecHit2D, SiTrackerGSMatchedRecHit2D, SiTrackerGSRecHit2D, SiTrackerMultiRecHit, and TrackerSingleRecHit.

Definition at line 16 of file TrackingRecHit.cc.

References Exception, lumiQueryAPI::msg, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by TrajectoryCleanerBySharedHits::clean(), NuclearVertexBuilder::cleanTrackCollection(), TrackMerger::merge(), ConversionHitChecker::nSharedHits(), EqualsBySharesInput::operator()(), cms::SimpleTrackListMerger::produce(), ConversionTrackMerger::produce(), PFConversionProducer::produce(), SeedFilter::seeds(), and TrackerSingleRecHit::sharesInput().

                                                                                         {
  //
  // 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]
virtual float TrackingRecHit::weight ( ) const [inline, virtual]

Definition at line 71 of file TrackingRecHit.h.

{return 1.;}

Friends And Related Function Documentation

friend class MuonTransientTrackingRecHit [friend]

Definition at line 14 of file TrackingRecHit.h.


Member Data Documentation

Definition at line 95 of file TrackingRecHit.h.

Referenced by geographicalId(), rawId(), and setId().

unsigned int TrackingRecHit::m_status [private]

Definition at line 97 of file TrackingRecHit.h.

Referenced by getRTTI(), getType(), setRTTI(), setType(), and type().

const int TrackingRecHit::rttiShift = 24 [static]

Definition at line 27 of file TrackingRecHit.h.

Referenced by getRTTI(), and setRTTI().

const int TrackingRecHit::typeMask = 0xf [static]

Definition at line 26 of file TrackingRecHit.h.

Referenced by getType(), and type().