#include <TrackingRecHit.h>
Public Types | |
typedef std::vector< ConstRecHitPointer > | ConstRecHitContainer |
using | ConstRecHitPointer = std::shared_ptr< TrackingRecHit const > |
typedef unsigned int | id_type |
typedef std::vector< ConstRecHitPointer > | RecHitContainer |
using | RecHitPointer = std::shared_ptr< TrackingRecHit const > |
enum | SharedInputType { all, some } |
definition of equality via shared input More... | |
enum | Type { valid = 0, missing = 1, inactive = 2, bad = 3, missing_inner = 4, missing_outer = 5, inactive_inner = 6, inactive_outer = 7 } |
Public Member Functions | |
virtual bool | canImproveWithTrack () const |
virtual TrackingRecHit * | clone () const =0 |
RecHitPointer | cloneForFit (const GeomDet &idet) const |
virtual TrackingRecHit * | cloneHit () const |
virtual RecHitPointer | cloneSH () const |
const GeomDet * | det () const |
virtual const GeomDetUnit * | detUnit () const |
virtual int | dimension () const =0 |
virtual float | errorGlobalR () const |
virtual float | errorGlobalRPhi () const |
virtual float | errorGlobalZ () const |
DetId | geographicalId () const |
virtual void | getKfComponents (KfComponentsHolder &holder) const |
unsigned int | getRTTI () const |
Type | getType () const |
virtual GlobalPoint | globalPosition () const |
virtual GlobalError | globalPositionError () const |
virtual bool | hasPositionAndError () const |
to be redefined by daughter class More... | |
virtual TrackingRecHit const * | hit () 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 |
id_type | rawId () const |
virtual std::vector< const TrackingRecHit * > | recHits () const =0 |
Access to component RecHits (if any) More... | |
virtual std::vector< TrackingRecHit * > | recHits ()=0 |
Non-const access to component RecHits (if any) More... | |
virtual void | recHitsV (std::vector< const TrackingRecHit * > &) const |
virtual void | recHitsV (std::vector< TrackingRecHit * > &) |
virtual void | setDet (const GeomDet &idet) |
virtual bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const |
virtual const Surface * | surface () const |
TrackingRecHit (DetId id, Type type=valid) | |
TrackingRecHit (id_type id=0, Type type=valid) | |
TrackingRecHit (DetId id, unsigned int rt, Type type=valid) | |
TrackingRecHit (const GeomDet &idet, Type type=valid) | |
TrackingRecHit (const GeomDet &idet, unsigned int rt, Type type=valid) | |
TrackingRecHit (const GeomDet &idet, TrackingRecHit const &rh) | |
virtual ConstRecHitContainer | transientHits () const |
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 Member Functions | |
virtual TrackingRecHit * | clone_ (TkCloner const &, TrajectoryStateOnSurface const &) const |
virtual RecHitPointer | cloneSH_ (TkCloner const &, TrajectoryStateOnSurface const &) const |
Private Attributes | |
const GeomDet * | m_det |
id_type | m_id |
unsigned int | m_status |
Friends | |
class | MuonTransientTrackingRecHit |
class | TkCloner |
Definition at line 23 of file TrackingRecHit.h.
typedef std::vector<ConstRecHitPointer> TrackingRecHit::ConstRecHitContainer |
Definition at line 35 of file TrackingRecHit.h.
using TrackingRecHit::ConstRecHitPointer = std::shared_ptr<TrackingRecHit const> |
Definition at line 28 of file TrackingRecHit.h.
typedef unsigned int TrackingRecHit::id_type |
Definition at line 41 of file TrackingRecHit.h.
typedef std::vector<ConstRecHitPointer> TrackingRecHit::RecHitContainer |
Definition at line 34 of file TrackingRecHit.h.
using TrackingRecHit::RecHitPointer = std::shared_ptr<TrackingRecHit const> |
Definition at line 27 of file TrackingRecHit.h.
definition of equality via shared input
Enumerator | |
---|---|
all | |
some |
Definition at line 55 of file TrackingRecHit.h.
enum TrackingRecHit::Type |
Type of hits: valid = valid hit mwissing = 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 | |
missing_inner | |
missing_outer | |
inactive_inner | |
inactive_outer |
Definition at line 50 of file TrackingRecHit.h.
Definition at line 57 of file TrackingRecHit.h.
Definition at line 58 of file TrackingRecHit.h.
Definition at line 59 of file TrackingRecHit.h.
Definition at line 62 of file TrackingRecHit.h.
Definition at line 63 of file TrackingRecHit.h.
|
inline |
Definition at line 64 of file TrackingRecHit.h.
|
inlinevirtual |
Definition at line 67 of file TrackingRecHit.h.
|
inlinevirtual |
Returns true if the clone( const TrajectoryStateOnSurface&) method returns an improved hit, false if it returns an identical copy. In order to avoid redundent copies one should call canImproveWithTrack() before calling clone( const TrajectoryStateOnSurface&). this will be done inside the TkCloner itself
Reimplemented in FastTrackerRecHit, TRecHit2DPosConstraint, SiStripMatchedRecHit2D, TValidTrackingRecHit, SiPixelRecHit, GenericProjectedRecHit2D, TRecHit1DMomConstraint, ProjectedSiStripRecHit2D, TRecHit5DParamConstraint, SiStripRecHit2D, SiStripRecHit1D, Phase2TrackerRecHit1D, and GenericTransientTrackingRecHit.
Definition at line 166 of file TrackingRecHit.h.
Referenced by KFTrajectoryFitter::fitOne().
|
pure virtual |
Implemented in MuonTransientTrackingRecHit, TRecHit2DPosConstraint, TRecHit1DMomConstraint, GenericProjectedRecHit2D, TRecHit5DParamConstraint, DTRecHit1D, GenericTransientTrackingRecHit, TValidTrackingRecHit, BeamSpotTransientTrackingRecHit, DTRecSegment2D, GEMRecHit, RPCRecHit, FastTrackerRecHit, ME0RecHit, KFBasedPixelFitter::MyBeamSpotHit, InvalidTrackingRecHitNoDet, MTDTransientTrackingRecHit, DTChamberRecSegment2D, DTSLRecCluster, CSCRecHit2D, ProjectedSiStripRecHit2D, DTRecSegment4D, SiStripMatchedRecHit2D, SiPixelRecHit, DTRecHit1DPair, GEMCSCSegment, GEMSegment, ME0Segment, CSCSegment, DTSLRecSegment2D, SiStripRecHit2D, EmulatedME0Segment, SiStripRecHit1D, FastMatchedTrackerRecHit, FastProjectedTrackerRecHit, SiTrackerMultiRecHit, Phase2TrackerRecHit1D, FastSingleTrackerRecHit, SiStripLaserRecHit2D, FTLTrackingRecHit< ObjRef >, MTDTrackingRecHit, InvalidTrackingRecHit, and RecHit2DLocalPos.
Referenced by RPCMonitorDigi::analyze(), SeedForPhotonConversionFromQuadruplets::buildSeedBool(), SimpleDAFHitCollector::clone(), Traj2TrackHits::clone(), clone_(), TValidTrackingRecHit::cloneHit(), GenericTransientTrackingRecHit::cloneHit(), cloneHit(), cloneSH(), RPCSeedrecHitFinder::complete(), RPCCosmicSeedrecHitFinder::complete(), GenericTransientTrackingRecHit::GenericTransientTrackingRecHit(), SeedingLayerSetsBuilder::makeSeedingLayerSetsHitsforFastSim(), MuonSeedCleaner::NChi2OfSegment(), MuonSeedCleaner::NRecHitsFromSegment(), MuonTrackProducer::produce(), SimpleCosmicBONSeeder::produce(), MuonMillepedeTrackRefitter::produce(), reco::modules::CosmicTrackSplitter::produce(), reco::modules::TrackerTrackHitFilter::produceFromTrack(), reco::modules::TrackerTrackHitFilter::produceFromTrajectory(), SimpleDAFHitCollector::rightdimension(), and SeedFromProtoTrack::SeedFromProtoTrack().
|
inlineprivatevirtual |
Reimplemented in FastTrackerRecHit, ProjectedSiStripRecHit2D, SiStripMatchedRecHit2D, SiPixelRecHit, SiStripRecHit2D, SiStripRecHit1D, and Phase2TrackerRecHit1D.
Definition at line 170 of file TrackingRecHit.h.
References clone().
|
inline |
Definition at line 78 of file TrackingRecHit.h.
References GetRecoTauVFromDQM_MC_cff::cl, cloneSH(), and setDet().
|
inlinevirtual |
Reimplemented in BeamSpotTransientTrackingRecHit, TRecHit1DMomConstraint, GenericProjectedRecHit2D, GenericTransientTrackingRecHit, and TValidTrackingRecHit.
Definition at line 71 of file TrackingRecHit.h.
References clone().
|
inlinevirtual |
Reimplemented in SiStripMatchedRecHit2D, SiPixelRecHit, SiStripRecHit2D, SiStripRecHit1D, Phase2TrackerRecHit1D, and InvalidTrackingRecHit.
Definition at line 76 of file TrackingRecHit.h.
References clone().
Referenced by MTDTransientTrackingRecHitBuilder::build(), SiTrackerMultiRecHit::clone(), cloneForFit(), and cloneSH_().
|
inlineprivatevirtual |
Reimplemented in ProjectedSiStripRecHit2D, SiStripMatchedRecHit2D, SiPixelRecHit, SiStripRecHit2D, SiStripRecHit1D, and Phase2TrackerRecHit1D.
Definition at line 175 of file TrackingRecHit.h.
References cloneSH().
|
inline |
Definition at line 118 of file TrackingRecHit.h.
References m_det.
Referenced by DuplicateRecHits::analyze(), BaseTrackerRecHit::BaseTrackerRecHit(), BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit(), GenericProjectedRecHit2D::clone(), SimpleDAFHitCollector::clone(), Traj2TrackHits::clone(), BaseTrackerRecHit::clusterProbability(), SiStripLorentzAngleCalibration::derivatives(), SiPixelLorentzAngleCalibration::derivatives(), SiStripBackplaneCalibration::derivatives(), TrackerSingleRecHit::detUnit(), detUnit(), InsideBoundsMeasurementEstimator::estimate(), ForwardMeasurementEstimator::estimate(), BarrelMeasurementEstimator::estimate(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), GlobalTrajectoryBuilderBase::fixTEC(), GenericProjectedRecHit2D::geographicalId(), TrajSeedMatcher::getTrajStateFromPoint(), TrajSeedMatcher::getTrajStateFromVtx(), MuonTransientTrackingRecHit::globalDirection(), MuonTransientTrackingRecHit::globalDirectionError(), BaseTrackerRecHit::hasPositionAndError(), SeedFinderSelector::Layer_tuple(), TkClonerImpl::makeShared(), TkClonerImpl::operator()(), GenericProjectedRecHit2D::parametersError(), MuonTransientTrackingRecHit::parametersError(), DeDxDiscriminatorLearner::processHit(), DeDxEstimatorProducer::processHit(), FastTrackerRecHitMatcher::produce(), reco::modules::CosmicTrackSplitter::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), reco::modules::TrackerTrackHitFilter::produceFromTrack(), reco::modules::TrackerTrackHitFilter::produceFromTrajectory(), TkClonerImpl::project(), RecHitPropagator::propagate(), MuonDTLocalMillepedeAlgorithm::run(), Traj2TrackHits::split(), TValidTrackingRecHit::surface(), TRecHit2DPosConstraint::surface(), BaseTrackerRecHit::surface(), surface(), MatchedHitRZCorrectionFromBending::tibMatchedHitZFixup(), ClusterShapeTrajectoryFilter::toBeContinued(), InOutConversionTrackFinder::tracks(), OutInConversionTrackFinder::tracks(), and MuonTransientTrackingRecHit::transientHits().
|
virtual |
CAUTION: the GeomDetUnit* is zero for composite hits (matched hits in the tracker, segments in the muon). Always check this pointer before using it!
Reimplemented in TRecHit1DMomConstraint, and TrackerSingleRecHit.
Definition at line 41 of file TrackingRecHit.cc.
References det().
Referenced by FastTrackerRecHitSplitter::buildSplitStripHit(), PixelClusterShapeExtractor::checkSimHits(), SimpleDAFHitCollector::clone(), Traj2TrackHits::clone(), Chi2Strip1DEstimator::estimate(), Chi2Switching1DEstimator::estimate(), ApeEstimator::fillHitVariables(), Strip1DMeasurementTransformator::init(), ApeEstimator::positionAndError2(), DeDxDiscriminatorLearner::processHit(), HSCPDeDxInfoProducer::processHit(), DeDxHitInfoProducer::processHit(), DeDxEstimatorProducer::processHit(), FastTrackDeDxProducer::processHit(), HSCPDeDxInfoProducer::produce(), surface(), and KFSwitching1DUpdator::update().
|
pure virtual |
Implemented in DTRecSegment2D, DTRecSegment4D, FastTrackerRecHit, DTSLRecCluster, BaseTrackerRecHit, GEMSegment, ME0Segment, CSCSegment, GEMCSCSegment, EmulatedME0Segment, TRecHit2DPosConstraint, SiPixelRecHit, ProjectedSiStripRecHit2D, SiStripMatchedRecHit2D, KFBasedPixelFitter::MyBeamSpotHit, RecSegment, BeamSpotTransientTrackingRecHit, RecHit1D, SiStripRecHit2D, SiStripRecHit1D, Phase2TrackerRecHit1D, SiTrackerMultiRecHit, TRecHit1DMomConstraint, GenericProjectedRecHit2D, InvalidTrackingRecHit, RecHit2DLocalPos, MTDTrackingRecHit, TRecHit5DParamConstraint, and GenericTransientTrackingRecHit.
Referenced by SiTrackerMultiRecHitUpdator::ComputeWeight(), GenericTransientTrackingRecHit::dimension(), Chi2MeasurementEstimator::estimate(), MRHChi2MeasurementEstimator::estimate(), AlignmentMonitorTracksFromTrajectories::event(), KfComponentsHolder::genericFill(), CalibrationTrackSelector::isHit2D(), AlignmentTrackSelector::isHit2D(), PrimaryVertexValidation::isHit2D(), ApeEstimator::isHit2D(), MuonResidualsFromTrack::MuonResidualsFromTrack(), DAFTrackProducerAlgorithm::PrintHit(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), SimpleDAFHitCollector::rightdimension(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), setDet(), MuonTrackLoader::unpackHit(), KFUpdator::update(), and PosteriorWeightsCalculator::weights().
|
virtual |
Reimplemented in BaseTrackerRecHit, TRecHit2DPosConstraint, TRecHit1DMomConstraint, TRecHit5DParamConstraint, and TValidTrackingRecHit.
Definition at line 50 of file TrackingRecHit.cc.
Referenced by getRTTI().
|
virtual |
Reimplemented in BaseTrackerRecHit, TRecHit2DPosConstraint, TRecHit1DMomConstraint, TRecHit5DParamConstraint, and TValidTrackingRecHit.
Definition at line 52 of file TrackingRecHit.cc.
Referenced by getRTTI().
|
virtual |
Reimplemented in BaseTrackerRecHit, TRecHit2DPosConstraint, TRecHit1DMomConstraint, TRecHit5DParamConstraint, and TValidTrackingRecHit.
Definition at line 51 of file TrackingRecHit.cc.
Referenced by getRTTI().
|
inline |
Definition at line 116 of file TrackingRecHit.h.
References m_id.
Referenced by TkGluedMeasurementDet::HitCollectorForSimpleHits::add(), TkGluedMeasurementDet::HitCollectorForFastMeasurements::add(), CRackTrajectoryBuilder::AddHit(), TkGluedMeasurementDet::HitCollectorForSimpleHits::addProjected(), TkGluedMeasurementDet::HitCollectorForFastMeasurements::addProjected(), MuonDT2ChamberResidual::addResidual(), MuonCSCChamberResidual::addResidual(), MuonDT13ChamberResidual::addResidual(), TrackMerger::addSecondTrackHits(), fireworks::addSiStripClusters(), TrackingNtuple::addStripMatchedHit(), TrackDetectorAssociator::addTAMuonSegmentMatch(), CSCPairResidualsConstraint::addTrack(), MuonTruth::analyze(), StandaloneTrackMonitor::analyze(), SiStripLAProfileBooker::analyze(), SeedMultiplicityAnalyzer::analyze(), TrackerDpgAnalysis::analyze(), SiStripTrackingRecHitsValid::analyze(), PixelClusterShapeExtractor::analyzeRecTracks(), reco::HitPattern::appendHit(), TrackCleaner::areSame(), SegmentToTrackAssociator::associate(), CSCHitAssociator::associateCSCHitId(), TrackerHitAssociator::associateHit(), CSCHitAssociator::associateHitId(), TrackerHitAssociator::associatePhase2TrackerRecHit(), TrackerHitAssociator::associatePixelRecHit(), TrackingRecHitLessFromGlobalPosition::barrelForwardLess(), SiPixelCoordinates::blade_coord(), SiPixelCoordinates::blade_panel_coord(), FWTrackTrackingRecHitProxyBuilder::build(), MTDTransientTrackingRecHitBuilder::build(), MuonTransientTrackingRecHitBuilder::build(), SeedForPhotonConversion1Leg::buildSeed(), SeedFromConsecutiveHitsCreator::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeedBool(), reco::helper::JetMuonHitsIDHelper::calculate(), CSCPairResidualsConstraint::calculatePhi(), DTSegmentUpdator::calculateT0corr(), DTChamberRecSegment2D::chamberId(), DTRecSegment4D::chamberId(), SiPixelCoordinates::channel(), SimpleCosmicBONSeeder::checkCharge(), reco::modules::TrackerTrackHitFilter::checkHitAngle(), reco::modules::TrackerTrackHitFilter::checkPXLCorrClustCharge(), TrajectoryCleanerBySharedHits::clean(), helper::MuonCollectionStoreManager::clusterRefsOK(), StripSubClusterShapeSeedFilter::compatible(), PixelClusterShapeSeedComparitor::compatibleHit(), SeedFromNuclearInteraction::construct(), CSCRecHit2D::cscDetId(), CSCSegment::cscDetId(), GEMCSCSegment::cscDetId(), SiPixelCoordinates::disk_coord(), SiPixelCoordinates::disk_ring_coord(), OutsideInMuonSeeder::doDebug(), MuonAlignmentAnalyzer::doMatching(), MuonAlignment::doMatching(), DTRecSegment4D::DTRecSegment4D(), reco::HitPattern::encode(), RecHitComparatorByPosition::equals(), MuonChi2MeasurementEstimator::estimate(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), TkAlCaRecoMonitor::fillHitmaps(), ApeEstimator::fillHitVariables(), DTTimingExtractor::fillTiming(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), DynamicTruncation::filter(), SiStripElectronAlgo::findElectron(), SiStripElectronSeedGenerator::findSeedsFromCluster(), SiStripFineDelayTLA::findtrackangle(), DTSegmentUpdator::fit(), KFTrajectoryFitter::fitOne(), GEMSegment::gemDetId(), QuickTrackAssociatorByHitsImpl::getAllSimTrackIdentifiers(), QuickTrackAssociatorByHitsImpl::getDoubleCount(), PixelTripletLowPtGenerator::getGlobalPosition(), HitInfo::getInfo(), ValidHitPairFilter::getLayer(), MuonAssociatorByHitsHelper::getMatchedIds(), TrackAssociatorByHitsImpl::getMatchedIds(), TrajSeedMatcher::getNrValidLayersAlongTraj(), ClusterShapeHitFilter::getpd(), ClusterShapeHitFilter::getSizes(), track_associator::hitsToClusterRefs(), SiStripMonitorTrack::hitStudy(), SeedFromProtoTrack::init(), TrackerDpgAnalysis::insertMeasurement(), TrackingRecHitLessFromGlobalPosition::insideOutLess(), Trajectory::isBad(), MTDTransientTrackingRecHit::isBTL(), ClusterShapeHitFilter::isCompatible(), MuonTransientTrackingRecHit::isCSC(), CRackTrajectoryBuilder::isDifferentStripReHit2D(), MuonTransientTrackingRecHit::isDT(), MTDTransientTrackingRecHit::isETL(), MuonTransientTrackingRecHit::isGEM(), CalibrationTrackSelector::isHit2D(), AlignmentTrackSelector::isHit2D(), PrimaryVertexValidation::isHit2D(), ApeEstimator::isHit2D(), CalibrationTrackSelector::isIsolated(), AlignmentTrackSelector::isIsolated(), MuonTransientTrackingRecHit::isME0(), AlignmentTrackSelector::isOkCharge(), MuonTransientTrackingRecHit::isRPC(), RPCSeedOverlapper::isShareHit(), SiPixelCoordinates::ladder_coord(), TempTrajectory::lost(), Trajectory::lost(), FastTrackerRecHitMatcher::match(), MuonSegmentMatcher::matchDT(), ME0Segment::me0DetId(), TrackMerger::merge(), SiPixelCoordinates::module_coord(), MuonResidualsFromTrack::MuonResidualsFromTrack(), MuonSeedCleaner::NChi2OfSegment(), MuonSeedCleaner::NRecHitsFromSegment(), RecHitComparatorByPosition::operator()(), CompareHitPairsY::operator()(), HitComparatorByRadius::operator()(), TrackMerger::MomentumSort::operator()(), CompareDetY_plus::operator()(), CompareHitY::operator()(), HitComparator::operator()(), CompareHitY_plus::operator()(), CompareDetY_minus::operator()(), operator<(), ME0RecHit::operator==(), GEMRecHit::operator==(), RPCRecHit::operator==(), ApeEstimator::positionAndError2(), DAFTrackProducerAlgorithm::PrintHit(), SeedClusterRemoverPhase2::process(), SeedClusterRemover::process(), HLTTrackClusterRemoverNew::process(), HITrackClusterRemover::process(), StandaloneTrackMonitor::processHit(), DeDxHitInfoProducer::processHit(), FastTrackDeDxProducer::processHit(), PixelClusterShapeExtractor::processPixelRecHits(), PixelClusterShapeExtractor::processRec(), TkAlCaOverlapTagger::produce(), MuonReSeeder::produce(), TrackListMerger::produce(), FastTrackerRecHitMatcher::produce(), FakeTrackProducer< T >::produce(), TrackCandidateProducer::produce(), reco::CentralityProducer::produce(), ShallowGainCalibration::produce(), cms::CosmicTrackFinder::produce(), reco::modules::CosmicTrackSplitter::produce(), reco::modules::TrackerTrackHitFilter::produceFromTrack(), reco::modules::TrackerTrackHitFilter::produceFromTrajectory(), SiStripElectronAlgo::projectPhiBand(), recHitDet(), DTSegmentUpdator::rejectBadHits(), helper::ClusterStorer::ClusterHitRecord< ClusterRefType >::rekey(), SiPixelCoordinates::ring_coord(), SiPixelCoordinates::roc(), KFBasedPixelFitter::run(), TrackInfoProducerAlgorithm::run(), MuonMillepedeAlgorithm::run(), HIPAlignmentAlgorithm::run(), BaseTrackerRecHit::sameDetModule(), GlobalMuonRefitter::selectMuonHits(), SiStripMatchedRecHit2D::sharesInput(), SiTrackerMultiRecHit::sharesInput(), CSCRecHit2D::sharesInput(), SiPixelCoordinates::signed_blade_coord(), SiPixelCoordinates::signed_blade_panel_coord(), SiPixelCoordinates::signed_disk_coord(), SiPixelCoordinates::signed_disk_ring_coord(), SiPixelCoordinates::signed_ladder_coord(), SiPixelCoordinates::signed_module_coord(), SiPixelCoordinates::signed_shifted_blade_panel_coord(), ctfseeding::HitExtractorSTRP::skipThis(), CRackTrajectoryBuilder::SortHits(), StartingLayerFinder::startingLayers(), DTSLRecSegment2D::superLayerId(), StripSubClusterShapeFilterBase::testLastHit(), StripSubClusterShapeTrajectoryFilter::testLastHit(), SiTrackerMultiRecHitUpdator::TIDorTEChit(), FastTSGFromPropagation::trackerSeeds(), SiStripMonitorTrack::trajectoryStudy(), MuonTrackLoader::unpackHit(), DTSegmentUpdator::update(), and QuickTrackAssociatorByHitsImpl::weightedNumberOfTrackClusters().
|
virtual |
Reimplemented in FastTrackerRecHit, BaseTrackerRecHit, SiPixelRecHit, ProjectedSiStripRecHit2D, SiStripMatchedRecHit2D, SiStripRecHit2D, SiStripRecHit1D, Phase2TrackerRecHit1D, SiTrackerMultiRecHit, and MTDTrackingRecHit.
Definition at line 30 of file TrackingRecHit.cc.
References Exception, and KfComponentsHolder::genericFill().
Referenced by SiTrackerMultiRecHitUpdator::ComputeWeight(), HelpertRecHit2DLocalPos::getKfComponents(), setDet(), and PosteriorWeightsCalculator::weights().
|
inline |
Definition at line 141 of file TrackingRecHit.h.
References errorGlobalR(), errorGlobalRPhi(), errorGlobalZ(), globalPosition(), globalPositionError(), m_status, trackingPlots::other, rttiShift, and sharesInput().
Referenced by trackerHitRTTI::rtti().
|
inline |
Definition at line 138 of file TrackingRecHit.h.
References m_status.
Referenced by reco::HitPattern::appendHit(), reco::HitPattern::encode(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::getDaughterObjects(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::getObjectRef(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::getShortType(), Trajectory::isBad(), isValid(), TempTrajectory::lost(), Trajectory::lost(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::properties().
|
virtual |
Reimplemented in BaseTrackerRecHit, TRecHit2DPosConstraint, TRecHit1DMomConstraint, TRecHit5DParamConstraint, and TValidTrackingRecHit.
Definition at line 47 of file TrackingRecHit.cc.
Referenced by CSCPairResidualsConstraint::calculatePhi(), StripSubClusterShapeSeedFilter::compatible(), EtaPhiEstimator::estimate(), ConversionForwardEstimator::estimate(), ConversionBarrelEstimator::estimate(), getRTTI(), OuterHitCompatibility< Algo >::operator()(), and DAFTrackProducerAlgorithm::PrintHit().
|
virtual |
Reimplemented in BaseTrackerRecHit, TRecHit2DPosConstraint, TRecHit1DMomConstraint, TRecHit5DParamConstraint, and TValidTrackingRecHit.
Definition at line 48 of file TrackingRecHit.cc.
Referenced by getRTTI().
|
inlinevirtual |
to be redefined by daughter class
Reimplemented in BaseTrackerRecHit.
Definition at line 133 of file TrackingRecHit.h.
|
inlinevirtual |
Reimplemented in KFBasedPixelFitter::MyBeamSpotHit, BeamSpotTransientTrackingRecHit, TRecHit1DMomConstraint, GenericProjectedRecHit2D, GenericTransientTrackingRecHit, and BaseTrackerRecHit.
Definition at line 70 of file TrackingRecHit.h.
Referenced by SiPixelTrackResidualSource::analyze(), SiPixelErrorEstimation::analyze(), SiStripElectronSeedGenerator::backupHitConverter(), SiPixelCoordinates::blade_coord(), SiPixelCoordinates::blade_panel_coord(), SiPixelCoordinates::channel(), DAFTrackProducerAlgorithm::checkHits(), TrajectoryCleanerBySharedHits::clean(), TValidTrackingRecHit::cloneHit(), TkGluedMeasurementDet::collectRecHits(), StripSubClusterShapeSeedFilter::compatible(), RPCSeedrecHitFinder::complete(), RPCCosmicSeedrecHitFinder::complete(), SiPixelCoordinates::disk_coord(), SiPixelCoordinates::disk_ring_coord(), ApeEstimator::fillHitVariables(), ApeEstimator::fillTrackVariables(), SiPixelCoordinates::ladder_coord(), SiStripElectronSeedGenerator::matchedHitConverter(), SiPixelCoordinates::module_coord(), DTRecHit1DPair::operator!=(), Trajectory::pixel(), MuonReSeeder::produce(), SimpleCosmicBONSeeder::produce(), SiPixelCoordinates::ring_coord(), SiPixelCoordinates::roc(), HIPAlignmentAlgorithm::run(), SiPixelCoordinates::signed_blade_coord(), SiPixelCoordinates::signed_blade_panel_coord(), SiPixelCoordinates::signed_disk_coord(), SiPixelCoordinates::signed_disk_ring_coord(), SiPixelCoordinates::signed_ladder_coord(), SiPixelCoordinates::signed_module_coord(), SiPixelCoordinates::signed_shifted_blade_panel_coord(), and ClusterShapeTrajectoryFilter::toBeContinued().
|
inline |
Definition at line 139 of file TrackingRecHit.h.
References getType(), and valid.
Referenced by ntupleDataFormat._Object::_checkIsValid(), TrackMerger::addSecondTrackHits(), fireworks::addSiStripClusters(), DeDxDiscriminatorLearner::algoAnalyze(), StandaloneTrackMonitor::analyze(), PixelClusterShapeExtractor::analyzeRecTracks(), GroupedCkfTrajectoryBuilder::backwardFit(), FWTrackTrackingRecHitProxyBuilder::build(), reco::modules::TrackerTrackHitFilter::checkHit(), DAFTrackProducerAlgorithm::checkHits(), TripletFilter::checkTrack(), NuclearVertexBuilder::cleanTrackCollection(), helper::MuonCollectionStoreManager::clusterRefsOK(), LowPtClusterShapeSeedComparitor::compatible(), StripSubClusterShapeSeedFilter::compatible(), OutsideInMuonSeeder::doDebug(), RecHitComparatorByPosition::equals(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), ApeEstimator::fillHitVariables(), TrackingNtuple::fillTracks(), KFTrajectoryFitter::fitOne(), TrajAnnealing::getAnnealingWeight(), MuonAssociatorByHitsHelper::getMatchedIds(), TrackAssociatorByHitsImpl::getMatchedIds(), Trajectory::isBad(), AlignmentTrackSelector::isHit2D(), ApeEstimator::isHit2D(), AlignmentTrackSelector::isOkCharge(), TempTrajectory::lost(), Trajectory::lost(), TrackMerger::merge(), MuonResidualsFromTrack::MuonResidualsFromTrack(), ConversionHitChecker::nSharedHits(), ClusterShapeTrackFilter::operator()(), DAFTrackProducerAlgorithm::PrintHit(), FastTrackDeDxProducer::processHit(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), TkAlCaOverlapTagger::produce(), MuonReSeeder::produce(), ConversionTrackMerger::produce(), TrackListMerger::produce(), HLTTrackClusterRemoverNew::produce(), FastTrackDeDxProducer::produce(), reco::modules::CosmicTrackSplitter::produce(), reco::modules::TrackerTrackHitFilter::produceFromTrack(), core.AutoHandle.AutoHandle::ReallyLoad(), SimpleDAFHitCollector::rightdimension(), MuonMillepedeAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), HIPAlignmentAlgorithm::run(), BaseTrackerRecHit::sameDetModule(), StripSubClusterShapeTrajectoryFilter::testLastHit(), and ClusterShapeTrajectoryFilter::toBeContinued().
|
pure virtual |
Implemented in DTRecSegment2D, DTSLRecCluster, DTRecHit1D, DTRecSegment4D, BaseTrackerRecHit, TRecHit2DPosConstraint, GEMRecHit, RPCRecHit, CSCRecHit2D, RecHit1D, DTRecHit1DPair, ME0RecHit, KFBasedPixelFitter::MyBeamSpotHit, BeamSpotTransientTrackingRecHit, GEMCSCSegment, GEMSegment, ME0Segment, CSCSegment, TRecHit5DParamConstraint, TRecHit1DMomConstraint, EmulatedME0Segment, InvalidTrackingRecHit, RecHit2DLocalPos, GenericProjectedRecHit2D, FTLTrackingRecHit< ObjRef >, GenericTransientTrackingRecHit, and SiStripLaserRecHit2D.
Referenced by MuonDT2ChamberResidual::addResidual(), MuonCSCChamberResidual::addResidual(), MuonDT13ChamberResidual::addResidual(), TrackDetectorAssociator::addTAMuonSegmentMatch(), SiStripGainCosmicCalculator::algoAnalyze(), TrackCleaner::areSame(), TrackingRecHitLessFromGlobalPosition::barrelForwardLess(), FWTrackTrackingRecHitProxyBuilder::build(), SeedForPhotonConversion1Leg::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeed(), CSCPairResidualsConstraint::calculatePhi(), GEMCSCSegFit::derivativeMatrix(), RecHitComparatorByPosition::equals(), Chi2Strip1DEstimator::estimate(), ForwardMeasurementEstimator::estimate(), BarrelMeasurementEstimator::estimate(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), ApeEstimator::fillHitVariables(), GEMCSCSegFit::fit2(), GEMCSCSegFit::fitlsq(), PixelTripletLowPtGenerator::getGlobalPosition(), TValidTrackingRecHit::globalPosition(), TrackingRecHitLessFromGlobalPosition::insideOutLess(), CalibrationTrackSelector::isIsolated(), AlignmentTrackSelector::isIsolated(), ResidualRefitting::IsSameHit(), RPCSeedOverlapper::isShareHit(), GenericTransientTrackingRecHit::localPosition(), MuonResidualsFromTrack::MuonResidualsFromTrack(), RecHitComparatorByPosition::operator()(), CompareHitPairsY::operator()(), CompareHitY::operator()(), HitComparator::operator()(), CompareHitY_plus::operator()(), DAFTrackProducerAlgorithm::PrintHit(), HIPAlignmentAlgorithm::processHit1D(), HIPAlignmentAlgorithm::processHit2D(), TrackListMerger::produce(), FakeTrackProducer< T >::produce(), reco::modules::CosmicTrackSplitter::produce(), Strip1DMeasurementTransformator::projectionMatrix(), RecHitPropagator::propagate(), SiStripTrackingRecHitsValid::rechitanalysis(), SiStripTrackingRecHitsValid::rechitanalysis_matched(), GEMCSCSegFit::setChi2(), and surface().
|
pure virtual |
Implemented in DTRecSegment2D, DTSLRecCluster, DTRecHit1D, DTRecSegment4D, BaseTrackerRecHit, GEMRecHit, RPCRecHit, TRecHit2DPosConstraint, RecHit1D, DTRecHit1DPair, ME0RecHit, CSCRecHit2D, KFBasedPixelFitter::MyBeamSpotHit, BeamSpotTransientTrackingRecHit, GEMCSCSegment, GEMSegment, ME0Segment, CSCSegment, TRecHit5DParamConstraint, TRecHit1DMomConstraint, InvalidTrackingRecHit, EmulatedME0Segment, RecHit2DLocalPos, GenericProjectedRecHit2D, FTLTrackingRecHit< ObjRef >, GenericTransientTrackingRecHit, and SiStripLaserRecHit2D.
Referenced by MuonDT2ChamberResidual::addResidual(), MuonCSCChamberResidual::addResidual(), MuonDT13ChamberResidual::addResidual(), TrackDetectorAssociator::addTAMuonSegmentMatch(), CSCPairResidualsConstraint::calculatePhi(), Chi2Strip1DEstimator::estimate(), ConversionForwardEstimator::estimate(), ConversionBarrelEstimator::estimate(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), ApeEstimator::fillHitVariables(), GEMCSCSegFit::fitlsq(), TValidTrackingRecHit::globalPositionError(), TValidTrackingRecHit::globalState(), fastTrackingUtilities::hitLocalError(), GenericTransientTrackingRecHit::localPositionError(), MuonResidualsFromTrack::MuonResidualsFromTrack(), HIPAlignmentAlgorithm::processHit1D(), HIPAlignmentAlgorithm::processHit2D(), RecHitPropagator::propagate(), SiStripTrackingRecHitsValid::rechitanalysis(), SiStripTrackingRecHitsValid::rechitanalysis_matched(), GEMCSCSegFit::setChi2(), surface(), and GEMCSCSegFit::weightMatrix().
|
pure virtual |
Implemented in BaseTrackerRecHit, DTRecSegment2D, DTSLRecCluster, DTRecSegment4D, GEMCSCSegment, GEMSegment, KFBasedPixelFitter::MyBeamSpotHit, ME0Segment, BeamSpotTransientTrackingRecHit, CSCSegment, EmulatedME0Segment, TRecHit5DParamConstraint, RecHit1D, TRecHit2DPosConstraint, InvalidTrackingRecHit, GenericProjectedRecHit2D, RecHit2DLocalPos, TRecHit1DMomConstraint, and GenericTransientTrackingRecHit.
Referenced by KfComponentsHolder::genericFill_(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), GenericTransientTrackingRecHit::parameters(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties(), and setDet().
|
pure virtual |
Implemented in BaseTrackerRecHit, DTRecSegment2D, DTSLRecCluster, DTRecSegment4D, GEMCSCSegment, GEMSegment, ME0Segment, KFBasedPixelFitter::MyBeamSpotHit, CSCSegment, BeamSpotTransientTrackingRecHit, MuonTransientTrackingRecHit, EmulatedME0Segment, TRecHit2DPosConstraint, RecHit1D, TRecHit5DParamConstraint, InvalidTrackingRecHit, RecHit2DLocalPos, TRecHit1DMomConstraint, GenericProjectedRecHit2D, and GenericTransientTrackingRecHit.
Referenced by KfComponentsHolder::genericFill_(), GenericTransientTrackingRecHit::parametersError(), and setDet().
|
pure virtual |
Implemented in BaseTrackerRecHit, DTRecSegment2D, DTSLRecCluster, DTRecSegment4D, BeamSpotTransientTrackingRecHit, GEMCSCSegment, GEMSegment, ME0Segment, CSCSegment, KFBasedPixelFitter::MyBeamSpotHit, TRecHit2DPosConstraint, EmulatedME0Segment, RecHit1D, InvalidTrackingRecHit, GenericProjectedRecHit2D, TRecHit5DParamConstraint, TRecHit1DMomConstraint, RecHit2DLocalPos, and GenericTransientTrackingRecHit.
Referenced by KfComponentsHolder::genericFill_(), MeasurementExtractor::measuredError(), MeasurementExtractor::measuredParameters(), GenericTransientTrackingRecHit::projectionMatrix(), and setDet().
|
inline |
Definition at line 115 of file TrackingRecHit.h.
References m_id.
Referenced by GEMCSCSegFit::derivativeMatrix(), MuonDetCleaner< T1, T2 >::fillVetoHits(), GEMCSCSegFit::fitlsq(), SiStripMatchedRecHit2D::monoId(), DTSegmentSelector::operator()(), TrackListMerger::produce(), cms::CosmicTrackFinder::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), ProjectedSiStripRecHit2D::ProjectedSiStripRecHit2D(), trackerHitRTTI::projId(), GEMCSCSegFit::setChi2(), SiStripMatchedRecHit2D::stereoId(), InOutConversionTrackFinder::tracks(), and OutInConversionTrackFinder::tracks().
|
pure virtual |
Access to component RecHits (if any)
Implemented in DTRecSegment2D, TrackerSingleRecHit, FastTrackerRecHit, DTRecSegment4D, DTSLRecCluster, GEMCSCSegment, DTRecHit1D, GEMRecHit, RPCRecHit, ProjectedSiStripRecHit2D, ME0RecHit, TRecHit2DPosConstraint, SiStripMatchedRecHit2D, DTRecHit1DPair, GEMSegment, ME0Segment, CSCSegment, BeamSpotTransientTrackingRecHit, KFBasedPixelFitter::MyBeamSpotHit, EmulatedME0Segment, TRecHit5DParamConstraint, TRecHit1DMomConstraint, SiTrackerMultiRecHit, GenericProjectedRecHit2D, InvalidTrackingRecHit, RecHit2DLocalPos, and GenericTransientTrackingRecHit.
Referenced by MuonDetCleaner< T1, T2 >::fillVetoHits(), MuonResidualsFromTrack::MuonResidualsFromTrack(), GenericTransientTrackingRecHit::recHits(), recHitsV(), SeedFilter::seeds(), setDet(), SiTrackerMultiRecHit::sharesInput(), TrackerSingleRecHit::sharesInput(), and MuonTrackLoader::unpackHit().
|
pure virtual |
Non-const access to component RecHits (if any)
Implemented in DTRecSegment2D, FastTrackerRecHit, TrackerSingleRecHit, DTRecSegment4D, DTSLRecCluster, DTRecHit1D, GEMCSCSegment, GEMRecHit, RPCRecHit, ME0RecHit, ProjectedSiStripRecHit2D, DTRecHit1DPair, SiStripMatchedRecHit2D, TRecHit2DPosConstraint, GEMSegment, ME0Segment, CSCSegment, BeamSpotTransientTrackingRecHit, KFBasedPixelFitter::MyBeamSpotHit, EmulatedME0Segment, TRecHit5DParamConstraint, TRecHit1DMomConstraint, GenericProjectedRecHit2D, SiTrackerMultiRecHit, InvalidTrackingRecHit, RecHit2DLocalPos, and GenericTransientTrackingRecHit.
|
virtual |
Definition at line 10 of file TrackingRecHit.cc.
References recHits().
Referenced by setDet(), and transientHits().
|
virtual |
Definition at line 14 of file TrackingRecHit.cc.
References recHits().
|
inlinevirtual |
Reimplemented in ProjectedSiStripRecHit2D.
Definition at line 84 of file TrackingRecHit.h.
References dimension(), getKfComponents(), m_det, parameters(), parametersError(), projectionMatrix(), recHits(), and recHitsV().
Referenced by cloneForFit(), and ProjectedSiStripRecHit2D::setDet().
|
inlineprotected |
Definition at line 183 of file TrackingRecHit.h.
References m_id.
Referenced by DTChamberRecSegment2D::setChamberId().
|
inlineprotected |
|
inlineprotected |
Definition at line 184 of file TrackingRecHit.h.
References m_status.
Referenced by MTDTransientTrackingRecHit::invalidateHit(), and MuonTransientTrackingRecHit::invalidateHit().
|
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 FastTrackerRecHit, CSCRecHit2D, TrackerSingleRecHit, TRecHit2DPosConstraint, SiTrackerMultiRecHit, SiStripMatchedRecHit2D, TRecHit5DParamConstraint, TRecHit1DMomConstraint, FTLTrackingRecHit< ObjRef >, InvalidTrackingRecHit, FTLTrackingRecHit< ObjRef >, and FTLTrackingRecHit< ObjRef >.
Definition at line 19 of file TrackingRecHit.cc.
References Exception, mps_check::msg, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by TrackMerger::addSecondTrackHits(), TrajectoryCleanerBySharedHits::clean(), NuclearVertexBuilder::cleanTrackCollection(), CSCSegment::duplicateSegments(), getRTTI(), ConversionHitChecker::nSharedHits(), ConversionTrackMerger::produce(), SeedFilter::seeds(), and CSCSegment::sharesRecHits().
|
inlinevirtual |
Reimplemented in BaseTrackerRecHit, TRecHit2DPosConstraint, TRecHit1DMomConstraint, InvalidTrackingRecHitNoDet, TRecHit5DParamConstraint, and TValidTrackingRecHit.
Definition at line 119 of file TrackingRecHit.h.
References det(), detUnit(), localPosition(), localPositionError(), and GeomDet::surface().
Referenced by AlignmentMonitorMuonResiduals::event(), KFTrajectoryFitter::fitOne(), and ConversionHitChecker::nHitsBeforeVtx().
|
inlinevirtual |
Reimplemented in MuonTransientTrackingRecHit.
Definition at line 106 of file TrackingRecHit.h.
References h, hfClusterShapes_cfi::hits, recHitsV(), and mps_fire::result.
|
inline |
Definition at line 137 of file TrackingRecHit.h.
References m_status.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), reco::modules::CosmicTrackSplitter::produce(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties().
|
inlinevirtual |
Definition at line 135 of file TrackingRecHit.h.
Referenced by SiTrackerMultiRecHit::weights().
|
friend |
Definition at line 39 of file TrackingRecHit.h.
|
friend |
Definition at line 168 of file TrackingRecHit.h.
|
private |
Definition at line 194 of file TrackingRecHit.h.
|
private |
Definition at line 190 of file TrackingRecHit.h.
Referenced by geographicalId(), rawId(), and setId().
|
private |
|
static |
Definition at line 52 of file TrackingRecHit.h.
|
static |
Definition at line 51 of file TrackingRecHit.h.