#include <SiStripMatchedRecHit2D.h>
Public Types | |
typedef BaseTrackerRecHit | Base |
Public Types inherited from TrackingRecHit | |
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 } |
Public Member Functions | |
virtual bool | canImproveWithTrack () const |
virtual SiStripMatchedRecHit2D * | clone () const |
virtual RecHitPointer | cloneSH () const |
virtual int | dimension () const |
virtual OmniClusterRef const & | firstClusterRef () const |
virtual void | getKfComponents (KfComponentsHolder &holder) const |
SiStripCluster const & | monoCluster () const |
OmniClusterRef const & | monoClusterRef () const |
OmniClusterRef & | monoClusterRef () |
SiStripRecHit2D | monoHit () const |
unsigned int | monoId () const |
virtual std::vector< const TrackingRecHit * > | recHits () const |
Access to component RecHits (if any) More... | |
virtual std::vector < TrackingRecHit * > | recHits () |
Non-const access to component RecHits (if any) More... | |
virtual bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const |
bool | sharesInput (TrackerSingleRecHit const &other) const |
SiStripMatchedRecHit2D () | |
SiStripMatchedRecHit2D (const LocalPoint &pos, const LocalError &err, GeomDet const &idet, const SiStripRecHit2D *rMono, const SiStripRecHit2D *rStereo) | |
SiStripCluster const & | stereoCluster () const |
OmniClusterRef const & | stereoClusterRef () const |
OmniClusterRef & | stereoClusterRef () |
SiStripRecHit2D | stereoHit () const |
unsigned int | stereoId () const |
~SiStripMatchedRecHit2D () | |
Public Member Functions inherited from BaseTrackerRecHit | |
BaseTrackerRecHit () | |
BaseTrackerRecHit (DetId id, trackerHitRTTI::RTTI rt) | |
BaseTrackerRecHit (const LocalPoint &p, const LocalError &e, GeomDet const &idet, trackerHitRTTI::RTTI rt) | |
virtual float | clusterProbability () const |
cluster probability, overloaded by pixel rechits. More... | |
float | errorGlobalR () const |
float | errorGlobalRPhi () const |
float | errorGlobalZ () const |
void | getKfComponents1D (KfComponentsHolder &holder) const |
void | getKfComponents2D (KfComponentsHolder &holder) const |
virtual GlobalPoint | globalPosition () const |
GlobalError | globalPositionError () const |
TrackingRecHitGlobalState | globalState () const |
bool | hasPositionAndError () const |
to be redefined by daughter class More... | |
BaseTrackerRecHit const * | hit () const |
bool | isMatched () const |
bool | isMulti () const |
virtual bool | isPixel () const |
bool | isProjected () const |
bool | isProjMono () const |
bool | isProjSterep () const |
bool | isSingle () const |
virtual LocalPoint | localPosition () const |
virtual LocalError | localPositionError () const |
const LocalError & | localPositionErrorFast () const |
const LocalPoint & | localPositionFast () const |
virtual AlgebraicVector | parameters () const |
virtual AlgebraicSymMatrix | parametersError () const |
virtual AlgebraicMatrix | projectionMatrix () const |
trackerHitRTTI::RTTI | rtti () const |
bool | sameDetModule (TrackingRecHit const &hit) const |
virtual const Surface * | surface () const |
virtual | ~BaseTrackerRecHit () |
Public Member Functions inherited from TrackingRecHit | |
RecHitPointer | cloneForFit (const GeomDet &idet) const |
virtual TrackingRecHit * | cloneHit () const |
const GeomDet * | det () const |
virtual const GeomDetUnit * | detUnit () const |
DetId | geographicalId () const |
unsigned int | getRTTI () const |
Type | getType () const |
bool | isValid () const |
id_type | rawId () const |
virtual void | recHitsV (std::vector< const TrackingRecHit * > &) const |
virtual void | recHitsV (std::vector< TrackingRecHit * > &) |
virtual void | setDet (const GeomDet &idet) |
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 () |
Private Member Functions | |
virtual SiStripMatchedRecHit2D * | clone (TkCloner const &cloner, TrajectoryStateOnSurface const &tsos) const |
virtual RecHitPointer | cloneSH (TkCloner const &cloner, TrajectoryStateOnSurface const &tsos) const |
Private Attributes | |
OmniClusterRef | clusterMono_ |
OmniClusterRef | clusterStereo_ |
Additional Inherited Members | |
Static Public Attributes inherited from TrackingRecHit | |
static const int | rttiShift = 24 |
static const int | typeMask = 0xf |
Protected Member Functions inherited from TrackingRecHit | |
void | setId (id_type iid) |
void | setRTTI (unsigned int rt) |
void | setType (Type ttype) |
Protected Attributes inherited from BaseTrackerRecHit | |
LocalError | err_ |
LocalPoint | pos_ |
unsigned int | qualWord_ |
Definition at line 8 of file SiStripMatchedRecHit2D.h.
Definition at line 10 of file SiStripMatchedRecHit2D.h.
|
inline |
|
inline |
Definition at line 13 of file SiStripMatchedRecHit2D.h.
|
inline |
Definition at line 15 of file SiStripMatchedRecHit2D.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 from TrackingRecHit.
Definition at line 63 of file SiStripMatchedRecHit2D.h.
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 44 of file SiStripMatchedRecHit2D.h.
References SiStripMatchedRecHit2D().
Referenced by SiStripRecHitMatcher::match(), and TkClonerImpl::operator()().
|
inlineprivatevirtual |
Reimplemented from TrackingRecHit.
Definition at line 66 of file SiStripMatchedRecHit2D.h.
|
inlinevirtual |
Reimplemented from TrackingRecHit.
Definition at line 46 of file SiStripMatchedRecHit2D.h.
Referenced by TkGluedMeasurementDet::HitCollectorForRecHits::add(), and TkGluedMeasurementDet::HitCollectorForFastMeasurements::add().
|
inlineprivatevirtual |
Reimplemented from TrackingRecHit.
Definition at line 70 of file SiStripMatchedRecHit2D.h.
References TkCloner::makeShared().
|
inlinevirtual |
Implements BaseTrackerRecHit.
Definition at line 50 of file SiStripMatchedRecHit2D.h.
|
inlinevirtual |
Implements BaseTrackerRecHit.
Definition at line 27 of file SiStripMatchedRecHit2D.h.
References monoClusterRef().
Referenced by sharesInput().
|
inlinevirtual |
Implements BaseTrackerRecHit.
Definition at line 51 of file SiStripMatchedRecHit2D.h.
References BaseTrackerRecHit::getKfComponents2D().
|
inline |
Definition at line 39 of file SiStripMatchedRecHit2D.h.
References monoClusterRef(), and OmniClusterRef::stripCluster().
Referenced by TkGluedMeasurementDet::HitCollectorForSimpleHits::add(), TkGluedMeasurementDet::HitCollectorForFastMeasurements::add(), SiStripQualityHotStripIdentifier::algoAnalyze(), SiStripGainFromData::algoAnalyze(), SiStripGainFromCalibTree::algoAnalyze(), PixelClusterShapeSeedComparitor::compatibleHit(), MultiHitGeneratorFromChi2::hitSets(), CalibrationTrackSelector::isOkCharge(), TkClonerImpl::operator()(), DeDxDiscriminatorLearner::processHit(), StandaloneTrackMonitor::processHit(), DeDxEstimatorProducer::processHit(), ShallowTrackClustersProducer::produce(), ShallowGainCalibration::produce(), and TkClonerImpl::project().
|
inline |
Definition at line 31 of file SiStripMatchedRecHit2D.h.
References clusterMono_.
Referenced by helper::ClusterStorer::ClusterHitRecord< SiStripRecHit2D::ClusterRef >rekey(), firstClusterRef(), QuickTrackAssociatorByHitsImpl::getMatchedClusters(), QuickTrackAssociatorByHits::getMatchedClusters(), monoCluster(), monoHit(), TkClonerImpl::operator()(), SeedClusterRemover::process(), HLTTrackClusterRemoverNew::process(), HITrackClusterRemover::process(), HSCPDeDxInfoProducer::processHit(), TkClonerImpl::project(), sharesClusters(), sharesInput(), ctfseeding::HitExtractorSTRP::skipThis(), and Traj2TrackHits::split().
|
inline |
Definition at line 34 of file SiStripMatchedRecHit2D.h.
References clusterMono_.
|
inline |
Definition at line 21 of file SiStripMatchedRecHit2D.h.
References monoClusterRef(), and monoId().
Referenced by helper::ClusterStorer::addCluster(), SiStripLAProfileBooker::analyze(), SiStripTrackingRecHitsValid::analyze(), TrackerHitAssociator::associateMatchedRecHit(), SimpleCosmicBONSeeder::checkCharge(), helper::MuonCollectionStoreManager::clusterRefsOK(), SiStripFineDelayTLA::findtrackangle(), QuickTrackAssociatorByHitsImpl::getMatchedClusters(), QuickTrackAssociatorByHits::getMatchedClusters(), SiStripMonitorTrack::hitStudy(), AlignmentTrackSelector::isOkCharge(), HSCPDeDxInfoProducer::processHit(), DeDxHitInfoProducer::processHit(), SiStripTrackingRecHitsValid::rechitanalysis_matched(), CRackTrajectoryBuilder::SortHits(), StripSubClusterShapeFilterBase::testLastHit(), ClusterShapeTrajectoryFilter::toBeContinued(), and SiStripMonitorTrack::trajectoryStudy().
|
inline |
Definition at line 24 of file SiStripMatchedRecHit2D.h.
References TrackingRecHit::rawId().
Referenced by SiStripGainFromCalibTree::algoAnalyze(), PixelClusterShapeSeedComparitor::compatibleHit(), MultiHitGeneratorFromChi2::hitSets(), monoHit(), DeDxEstimatorProducer::processHit(), and ShallowGainCalibration::produce().
|
virtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 34 of file SiStripMatchedRecHit2D.cc.
References HI_PhotonSkim_cff::rechits.
|
virtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 40 of file SiStripMatchedRecHit2D.cc.
References HI_PhotonSkim_cff::rechits.
|
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 from TrackingRecHit.
Definition at line 6 of file SiStripMatchedRecHit2D.cc.
References TrackingRecHit::all, firstClusterRef(), TrackingRecHit::geographicalId(), trackerHitRTTI::isMatched(), monoClusterRef(), BaseTrackerRecHit::sameDetModule(), sharesClusters(), and stereoClusterRef().
Referenced by TrackerSingleRecHit::sharesInput().
bool SiStripMatchedRecHit2D::sharesInput | ( | TrackerSingleRecHit const & | other | ) | const |
Definition at line 28 of file SiStripMatchedRecHit2D.cc.
References monoClusterRef(), TrackerSingleRecHit::sameCluster(), and stereoClusterRef().
|
inline |
Definition at line 36 of file SiStripMatchedRecHit2D.h.
References stereoClusterRef(), and OmniClusterRef::stripCluster().
Referenced by TkGluedMeasurementDet::HitCollectorForSimpleHits::add(), TkGluedMeasurementDet::HitCollectorForFastMeasurements::add(), SiStripQualityHotStripIdentifier::algoAnalyze(), SiStripGainFromData::algoAnalyze(), SiStripGainFromCalibTree::algoAnalyze(), PixelClusterShapeSeedComparitor::compatibleHit(), MultiHitGeneratorFromChi2::hitSets(), CalibrationTrackSelector::isOkCharge(), TkClonerImpl::operator()(), DeDxDiscriminatorLearner::processHit(), StandaloneTrackMonitor::processHit(), DeDxEstimatorProducer::processHit(), ShallowTrackClustersProducer::produce(), ShallowGainCalibration::produce(), and TkClonerImpl::project().
|
inline |
Definition at line 30 of file SiStripMatchedRecHit2D.h.
References clusterStereo_.
Referenced by helper::ClusterStorer::ClusterHitRecord< SiStripRecHit2D::ClusterRef >rekey(), QuickTrackAssociatorByHitsImpl::getMatchedClusters(), QuickTrackAssociatorByHits::getMatchedClusters(), TkClonerImpl::operator()(), SeedClusterRemover::process(), HLTTrackClusterRemoverNew::process(), HITrackClusterRemover::process(), HSCPDeDxInfoProducer::processHit(), TkClonerImpl::project(), sharesClusters(), sharesInput(), ctfseeding::HitExtractorSTRP::skipThis(), Traj2TrackHits::split(), stereoCluster(), and stereoHit().
|
inline |
Definition at line 33 of file SiStripMatchedRecHit2D.h.
References clusterStereo_.
|
inline |
Definition at line 20 of file SiStripMatchedRecHit2D.h.
References stereoClusterRef(), and stereoId().
Referenced by helper::ClusterStorer::addCluster(), SiStripLAProfileBooker::analyze(), SiStripTrackingRecHitsValid::analyze(), TrackerHitAssociator::associateMatchedRecHit(), SimpleCosmicBONSeeder::checkCharge(), helper::MuonCollectionStoreManager::clusterRefsOK(), SiStripFineDelayTLA::findtrackangle(), QuickTrackAssociatorByHitsImpl::getMatchedClusters(), QuickTrackAssociatorByHits::getMatchedClusters(), SiStripMonitorTrack::hitStudy(), AlignmentTrackSelector::isOkCharge(), HSCPDeDxInfoProducer::processHit(), DeDxHitInfoProducer::processHit(), SiStripTrackingRecHitsValid::rechitanalysis_matched(), CRackTrajectoryBuilder::SortHits(), StripSubClusterShapeFilterBase::testLastHit(), ClusterShapeTrajectoryFilter::toBeContinued(), and SiStripMonitorTrack::trajectoryStudy().
|
inline |
Definition at line 23 of file SiStripMatchedRecHit2D.h.
References TrackingRecHit::rawId().
Referenced by SiStripGainFromCalibTree::algoAnalyze(), PixelClusterShapeSeedComparitor::compatibleHit(), MultiHitGeneratorFromChi2::hitSets(), DeDxEstimatorProducer::processHit(), ShallowGainCalibration::produce(), and stereoHit().
|
private |
Definition at line 76 of file SiStripMatchedRecHit2D.h.
Referenced by monoClusterRef().
|
private |
Definition at line 76 of file SiStripMatchedRecHit2D.h.
Referenced by stereoClusterRef().