20 clusterRegional_(cluster),
24 RecHit1D(hit2D->geographicalId()),pos_(hit2D->localPosition()),err_(),
25 cluster_(),clusterRegional_(),sigmaPitch_(-1)
75 if(! other->
isValid())
return false;
77 const std::type_info & otherType =
typeid(*other);
106 std::vector<const TrackingRecHit*> otherHits = other->
recHits();
107 int ncomponents=otherHits.size();
108 if(ncomponents==0)
return false;
109 else if(ncomponents==1)
return sharesInput(otherHits.front(),what);
110 else if (ncomponents>1){
111 if(what ==
all )
return false;
113 for(
int i=0;
i<ncomponents;
i++){
125 std::vector<const TrackingRecHit*> nullvector;
129 std::vector<TrackingRecHit*> nullvector;
137 "Trying to access " << where <<
" for a RecHit that was read from disk, but since CMSSW_2_1_X local positions are transient.\n" <<
138 "If you want to get coarse position/error estimation from disk, please set: ComputeCoarseLocalPositionFromDisk = True \n " <<
139 " to the TransientTrackingRecHitBuilder you are using from RecoTracker/TransientTrackingRecHit/python/TTRHBuilders_cff.py";
SharedInputType
definition of equality via shared input
virtual LocalError localPositionError() const
AlgebraicROOTObject< D, D >::SymMatrix & measuredErrors()
ROOT::Math::SVector< double, 1 > AlgebraicVector1
bool hasPositionAndError() const
virtual std::vector< const TrackingRecHit * > recHits() const
Access to component RecHits (if any)
ClusterRegionalRef const & cluster_regional() const
virtual void getKfComponents(KfComponentsHolder &holder) const
static const int kSubdetOffset
uint32_t rawId() const
get the raw id
void throwExceptionUninitialized(const char *where) const
bool isNonnull() const
Checks for non-null.
virtual bool sharesInput(const TrackingRecHit *other, SharedInputType what) const
virtual std::vector< const TrackingRecHit * > recHits() const =0
Access to component RecHits (if any)
ROOT::Math::SMatrix< double, 1, 5, ROOT::Math::MatRepStd< double, 1, 5 > > AlgebraicMatrix15
virtual LocalError localPositionError() const
Error on the local position.
virtual LocalPoint localPosition() const
Local position.
AlgebraicROOTObject< D >::Vector & params()
ClusterRef const & cluster() const
const AlgebraicVector5 & tsosLocalParameters() const
ClusterRegionalRef const & cluster_regional() const
AlgebraicROOTObject< D >::Vector & measuredParams()
ClusterRef const & cluster() const
DetId geographicalId() const
AlgebraicROOTObject< D, D >::SymMatrix & errors()
AlgebraicROOTObject< D, 5 >::Matrix & projection()
const AlgebraicSymMatrix55 & tsosLocalErrors() const
ClusterRegionalRef clusterRegional_
ROOT::Math::SMatrix< double, 1, 1, ROOT::Math::MatRepSym< double, 1 > > AlgebraicSymMatrix11