#include <DTSLRecCluster.h>
Public Member Functions | |
DTSLRecCluster * | clone () const override |
The clone method needed by the clone policy. More... | |
int | dimension () const override |
return 2. The dimension of the matrix More... | |
DTSLRecCluster () | |
DTSLRecCluster (const DTSuperLayerId id, const std::vector< DTRecHit1DPair > &pair) | |
c'tor from hits More... | |
DTSLRecCluster (const DTSuperLayerId id, const LocalPoint &, const LocalError &, const std::vector< DTRecHit1DPair > &pair) | |
complete constructor More... | |
LocalPoint | localPosition () const override |
Local position. More... | |
LocalError | localPositionError () const override |
Error on the local position. More... | |
int | nHits () const |
AlgebraicVector | parameters () const override |
the vector of parameters (dx/dz,x) More... | |
AlgebraicSymMatrix | parametersError () const override |
AlgebraicMatrix | projectionMatrix () const override |
std::vector< const TrackingRecHit * > | recHits () const override |
return the hits More... | |
std::vector< TrackingRecHit * > | recHits () override |
Non-const access to component RecHits (if any) More... | |
std::vector< DTRecHit1DPair > | specificRecHits () const |
Access to specific components. More... | |
DTSuperLayerId | superLayerId () const |
The id of the superlayer on which reside the segment. More... | |
~DTSLRecCluster () override | |
Public Member Functions inherited from RecHit1D | |
int | dimension () const override |
Return the RecHit dimension. More... | |
AlgebraicVector | parameters () const override |
Return just the x. More... | |
AlgebraicSymMatrix | parametersError () const override |
Return just "(sigma_x)^2". More... | |
AlgebraicMatrix | projectionMatrix () const override |
Return the projection matrix. More... | |
RecHit1D (DetId id) | |
RecHit1D (TrackingRecHit::id_type id=0) | |
~RecHit1D () override | |
Destructor. More... | |
Public Member Functions inherited from TrackingRecHit | |
virtual bool | canImproveWithTrack () const |
RecHitPointer | cloneForFit (const GeomDet &idet) const |
virtual TrackingRecHit * | cloneHit () const |
virtual RecHitPointer | cloneSH () const |
const GeomDet * | det () const |
virtual const GeomDetUnit * | detUnit () const |
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 |
id_type | rawId () const |
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 () |
Private Member Functions | |
AlgebraicVector | param (const LocalPoint &lp) const |
AlgebraicSymMatrix | parError (const LocalError &le) const |
Private Attributes | |
std::vector< DTRecHit1DPair > | thePairs |
LocalPoint | thePos |
LocalError | thePosError |
DTSuperLayerId | theSlid |
Static Private Attributes | |
static const AlgebraicMatrix | theProjectionMatrix = initMatrix() |
Additional Inherited Members | |
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, inactive_inner = 6, inactive_outer = 7 } |
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) |
|
inline |
DTSLRecCluster::DTSLRecCluster | ( | const DTSuperLayerId | id, |
const std::vector< DTRecHit1DPair > & | pair | ||
) |
DTSLRecCluster::DTSLRecCluster | ( | const DTSuperLayerId | id, |
const LocalPoint & | pos, | ||
const LocalError & | err, | ||
const std::vector< DTRecHit1DPair > & | pair | ||
) |
complete constructor
Definition at line 37 of file DTSLRecCluster.cc.
|
inlineoverride |
Definition at line 42 of file DTSLRecCluster.h.
|
inlineoverridevirtual |
The clone method needed by the clone policy.
Implements TrackingRecHit.
Definition at line 46 of file DTSLRecCluster.h.
References DTSLRecCluster().
|
inlineoverridevirtual |
return 2. The dimension of the matrix
Implements TrackingRecHit.
Definition at line 63 of file DTSLRecCluster.h.
|
inlineoverridevirtual |
Local position.
Implements RecHit1D.
Definition at line 64 of file DTSLRecCluster.h.
References thePos.
Referenced by operator<<(), and parameters().
|
inlineoverridevirtual |
Error on the local position.
Implements RecHit1D.
Definition at line 65 of file DTSLRecCluster.h.
References thePosError.
Referenced by operator<<(), and parametersError().
|
inline |
|
inlineprivate |
Definition at line 88 of file DTSLRecCluster.h.
References mps_fire::result, and PV3DBase< T, PVType, FrameType >::x().
Referenced by parameters().
|
inlineoverridevirtual |
the vector of parameters (dx/dz,x)
Implements TrackingRecHit.
Definition at line 52 of file DTSLRecCluster.h.
References localPosition(), and param().
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 55 of file DTSLRecCluster.h.
References localPositionError(), and parError().
|
inlineprivate |
Definition at line 94 of file DTSLRecCluster.h.
References visualization-live-secondInstance_cfg::m, and LocalError::xx().
Referenced by parametersError().
|
inlineoverridevirtual |
return the projection matrix, which must project a parameter vector, whose components are (q/p, dx/dz, dy/dz, x, y), into the vector returned by parameters()
Implements TrackingRecHit.
Definition at line 60 of file DTSLRecCluster.h.
References theProjectionMatrix.
|
overridevirtual |
return the hits
Implements TrackingRecHit.
Definition at line 46 of file DTSLRecCluster.cc.
References thePairs.
|
overridevirtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 55 of file DTSLRecCluster.cc.
References thePairs.
|
inline |
|
inline |
The id of the superlayer on which reside the segment.
Definition at line 49 of file DTSLRecCluster.h.
References theSlid.
|
private |
Definition at line 83 of file DTSLRecCluster.h.
Referenced by nHits(), recHits(), and specificRecHits().
|
private |
Definition at line 80 of file DTSLRecCluster.h.
Referenced by localPosition().
|
private |
Definition at line 81 of file DTSLRecCluster.h.
Referenced by localPositionError().
|
staticprivate |
Definition at line 86 of file DTSLRecCluster.h.
Referenced by projectionMatrix().
|
private |
Definition at line 78 of file DTSLRecCluster.h.
Referenced by superLayerId().