#include <SiStripRecHit1D.h>
Public Types | |
typedef edm::Ref < edmNew::DetSetVector < SiStripCluster > , SiStripCluster > | ClusterRef |
typedef edm::Ref < edm::LazyGetter < SiStripCluster > , SiStripCluster, edm::FindValue< SiStripCluster > > | ClusterRegionalRef |
Public Types inherited from TrackingRecHit | |
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 SiStripRecHit1D * | clone () const |
ClusterRef const & | cluster () const |
ClusterRegionalRef const & | cluster_regional () const |
virtual void | getKfComponents (KfComponentsHolder &holder) const |
bool | hasPositionAndError () const |
virtual LocalPoint | localPosition () const |
Local position. More... | |
virtual LocalError | localPositionError () const |
Error on the local position. More... | |
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... | |
void | setClusterRef (ClusterRef const &ref) |
void | setClusterRegionalRef (ClusterRegionalRef const &ref) |
void | setSigmaPitch (double sigmap) const |
virtual bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const |
double | sigmaPitch () const |
SiStripRecHit1D () | |
SiStripRecHit1D (const LocalPoint &, const LocalError &, const DetId &, ClusterRef const &cluster) | |
SiStripRecHit1D (const LocalPoint &, const LocalError &, const DetId &, ClusterRegionalRef const &cluster) | |
SiStripRecHit1D (const SiStripRecHit2D *) | |
method to facilitate the convesion from 2D to 1D hits More... | |
~SiStripRecHit1D () | |
Public Member Functions inherited from RecHit1D | |
virtual int | dimension () const |
Return the RecHit dimension. More... | |
virtual AlgebraicVector | parameters () const |
Return just the x. More... | |
virtual AlgebraicSymMatrix | parametersError () const |
Return just "(sigma_x)^2". More... | |
virtual AlgebraicMatrix | projectionMatrix () const |
Return the projection matrix. More... | |
RecHit1D (DetId id) | |
RecHit1D (TrackingRecHit::id_type id=0) | |
virtual | ~RecHit1D () |
Destructor. More... | |
Public Member Functions inherited from TrackingRecHit | |
DetId | geographicalId () const |
Type | getType () const |
bool | isValid () const |
virtual void | recHitsV (std::vector< const TrackingRecHit * > &) const |
virtual void | recHitsV (std::vector< TrackingRecHit * > &) |
TrackingRecHit (DetId id, Type type=valid) | |
TrackingRecHit (id_type id=0, Type type=valid) | |
Type | type () const |
virtual float | weight () const |
virtual | ~TrackingRecHit () |
Private Member Functions | |
void | throwExceptionUninitialized (const char *where) const |
Private Attributes | |
ClusterRef | cluster_ |
ClusterRegionalRef | clusterRegional_ |
LocalError | err_ |
LocalPoint | pos_ |
double | sigmaPitch_ |
cache for the matcher.... More... | |
Additional Inherited Members | |
Protected Member Functions inherited from TrackingRecHit | |
void | setId (id_type iid) |
void | setType (Type ttype) |
Definition at line 13 of file SiStripRecHit1D.h.
Definition at line 21 of file SiStripRecHit1D.h.
typedef edm::Ref< edm::LazyGetter<SiStripCluster>, SiStripCluster, edm::FindValue<SiStripCluster> > SiStripRecHit1D::ClusterRegionalRef |
Definition at line 26 of file SiStripRecHit1D.h.
|
inline |
Definition at line 16 of file SiStripRecHit1D.h.
Referenced by clone().
|
inline |
Definition at line 19 of file SiStripRecHit1D.h.
SiStripRecHit1D::SiStripRecHit1D | ( | const LocalPoint & | pos, |
const LocalError & | err, | ||
const DetId & | id, | ||
ClusterRef const & | cluster | ||
) |
Definition at line 5 of file SiStripRecHit1D.cc.
SiStripRecHit1D::SiStripRecHit1D | ( | const LocalPoint & | pos, |
const LocalError & | err, | ||
const DetId & | id, | ||
ClusterRegionalRef const & | cluster | ||
) |
Definition at line 15 of file SiStripRecHit1D.cc.
SiStripRecHit1D::SiStripRecHit1D | ( | const SiStripRecHit2D * | hit2D | ) |
method to facilitate the convesion from 2D to 1D hits
Definition at line 23 of file SiStripRecHit1D.cc.
References SiStripRecHit2D::cluster(), cluster_, SiStripRecHit2D::cluster_regional(), clusterRegional_, err_, edm::Ref< C, T, F >::isNonnull(), BaseSiTrackerRecHit2DLocalPos::localPositionError(), and LocalError::xx().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 34 of file SiStripRecHit1D.h.
References SiStripRecHit1D().
|
inline |
Definition at line 38 of file SiStripRecHit1D.h.
References cluster_.
Referenced by fireworks::addSiStripClusters(), DeDxDiscriminatorLearner::algoAnalyze(), SiStripGainFromData::algoAnalyze(), AlignmentStats::analyze(), SiStripTrackingRecHitsValid::analyze(), TrackerHitAssociator::associateSiStripRecHit1D(), AlignmentTrackSelector::checkPrescaledHits(), reco::modules::TrackerTrackHitFilter::checkStoN(), TSiStripRecHit1D::clone(), helper::ClusterStorer::ClusterHitRecord< SiStripRecHit2D::ClusterRef >rekey(), TrackerDpgAnalysis::insertMeasurement(), AlignmentTrackSelector::isOkChargeStripHit(), TrackClusterRemover::process(), ShallowTrackClustersProducer::produce(), AlignmentPrescaler::produce(), TkAlCaOverlapTagger::produce(), DeDxDiscriminatorProducer::produce(), ShallowGainCalibration::produce(), ClusterRemovalRefSetter::reKey(), HIPAlignmentAlgorithm::run(), SiStripRecHit2D::sharesInput(), sharesInput(), and TSiStripRecHit1D::TSiStripRecHit1D().
|
inline |
Definition at line 36 of file SiStripRecHit1D.h.
References clusterRegional_.
Referenced by SiStripMonitorMuonHLT::analyzeOnTrackClusters(), TrackerHitAssociator::associateSiStripRecHit1D(), TSiStripRecHit1D::clone(), HLTTrackClusterRemover::process(), SiStripRecHit2D::sharesInput(), sharesInput(), and TSiStripRecHit1D::TSiStripRecHit1D().
|
virtual |
Reimplemented from TrackingRecHit.
Definition at line 49 of file SiStripRecHit1D.cc.
References err_, KfComponentsHolder::errors(), hasPositionAndError(), KfComponentsHolder::measuredErrors(), KfComponentsHolder::measuredParams(), KfComponentsHolder::params(), pos_, KfComponentsHolder::projection(), throwExceptionUninitialized(), KfComponentsHolder::tsosLocalErrors(), KfComponentsHolder::tsosLocalParameters(), PV3DBase< T, PVType, FrameType >::x(), and LocalError::xx().
Referenced by HelpertRecHit2DLocalPos::getKfComponents().
bool SiStripRecHit1D::hasPositionAndError | ( | ) | const |
Definition at line 33 of file SiStripRecHit1D.cc.
References err_, pos_, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), LocalError::xy(), PV3DBase< T, PVType, FrameType >::y(), LocalError::yy(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by getKfComponents(), localPosition(), localPositionError(), and TSiStripRecHit1D::TSiStripRecHit1D().
|
virtual |
Local position.
Implements RecHit1D.
Definition at line 38 of file SiStripRecHit1D.cc.
References hasPositionAndError(), pos_, and throwExceptionUninitialized().
Referenced by TSiStripRecHit1D::localPosition().
|
virtual |
Error on the local position.
Implements RecHit1D.
Definition at line 43 of file SiStripRecHit1D.cc.
References err_, hasPositionAndError(), and throwExceptionUninitialized().
Referenced by TSiStripRecHit1D::localPositionError(), and TSiStripRecHit1D::parametersError().
|
virtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 124 of file SiStripRecHit1D.cc.
Referenced by TSiStripRecHit1D::recHits().
|
virtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 128 of file SiStripRecHit1D.cc.
|
inline |
Definition at line 50 of file SiStripRecHit1D.h.
References cluster_.
Referenced by helper::ClusterStorer::ClusterHitRecord< SiStripRecHit2D::ClusterRef >rekey(), and ClusterRemovalRefSetter::reKey().
|
inline |
Definition at line 51 of file SiStripRecHit1D.h.
References clusterRegional_.
|
inline |
Definition at line 56 of file SiStripRecHit1D.h.
References sigmaPitch_.
|
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 68 of file SiStripRecHit1D.cc.
References TrackingRecHit::all, SiStripRecHit2D::cluster(), cluster(), cluster_, SiStripRecHit2D::cluster_regional(), cluster_regional(), clusterRegional_, TrackingRecHit::geographicalId(), i, edm::Ref< C, T, F >::isNonnull(), TrackingRecHit::isValid(), DetId::kSubdetOffset, DetId::rawId(), and TrackingRecHit::recHits().
|
inline |
Definition at line 55 of file SiStripRecHit1D.h.
References sigmaPitch_.
|
private |
Definition at line 134 of file SiStripRecHit1D.cc.
References edm::hlt::Exception.
Referenced by getKfComponents(), localPosition(), and localPositionError().
|
private |
Definition at line 70 of file SiStripRecHit1D.h.
Referenced by cluster(), setClusterRef(), sharesInput(), and SiStripRecHit1D().
|
private |
Definition at line 73 of file SiStripRecHit1D.h.
Referenced by cluster_regional(), setClusterRegionalRef(), sharesInput(), and SiStripRecHit1D().
|
private |
Definition at line 67 of file SiStripRecHit1D.h.
Referenced by getKfComponents(), hasPositionAndError(), localPositionError(), and SiStripRecHit1D().
|
private |
Definition at line 66 of file SiStripRecHit1D.h.
Referenced by getKfComponents(), hasPositionAndError(), and localPosition().
|
mutableprivate |
cache for the matcher....
Definition at line 76 of file SiStripRecHit1D.h.
Referenced by setSigmaPitch(), and sigmaPitch().