#include <DTChamberRecSegment2D.h>
Public Member Functions | |
DTChamberId | chamberId () const |
The id of the chamber on which reside the segment. More... | |
DTChamberRecSegment2D * | clone () const override |
The clone method needed by the clone policy. More... | |
DTChamberRecSegment2D () | |
empty c'tor More... | |
DTChamberRecSegment2D (DTChamberId id, const std::vector< DTRecHit1D > &hits) | |
c'tor from hits More... | |
DTChamberRecSegment2D (DTChamberId id, LocalPoint &position, LocalVector &direction, AlgebraicSymMatrix &covMatrix, double chi2, std::vector< DTRecHit1D > &hits1D) | |
complete constructor More... | |
~DTChamberRecSegment2D () override | |
Destructor. More... | |
Public Member Functions inherited from DTRecSegment2D | |
double | chi2 () const override |
the chi2 of the fit More... | |
DTRecSegment2D * | clone () const override |
AlgebraicSymMatrix | covMatrix () const |
the Covariance Matrix More... | |
int | degreesOfFreedom () const override |
return the DOF of the segment More... | |
int | dimension () const override |
return 2. The dimension of the matrix More... | |
DTRecSegment2D () | |
DTRecSegment2D (DetId id, const std::vector< DTRecHit1D > &hits) | |
c'tor from hits More... | |
DTRecSegment2D (DetId id, LocalPoint &position, LocalVector &direction, AlgebraicSymMatrix &covMatrix, double chi2, std::vector< DTRecHit1D > &hits1D) | |
complete constructor More... | |
bool | ist0Valid () const |
LocalVector | localDirection () const override |
the local direction in SL frame More... | |
LocalError | localDirectionError () const override |
the local direction error (xx,xy,yy) in SL frame: only xx is not 0. More... | |
LocalPoint | localPosition () const override |
local position in SL frame More... | |
LocalError | localPositionError () const override |
local position error in SL frame More... | |
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 |
Access to component RecHits (if any) More... | |
std::vector< TrackingRecHit * > | recHits () override |
Non-const access to component RecHits (if any) More... | |
std::vector< DTRecHit1D > | specificRecHits () const |
Access to specific components. More... | |
double | t0 () const |
Get the segment t0 (if recomputed, 0 is returned otherwise) More... | |
double | vDrift () const |
~DTRecSegment2D () override | |
Destructor. More... | |
Public Member Functions inherited from RecSegment | |
RecSegment (DetId id) | |
RecSegment (TrackingRecHit::id_type id=0) | |
~RecSegment () 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 | |
void | setChamberId (DTChamberId chId) |
Friends | |
class | DTSegmentCand |
class | DTSegmentUpdator |
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 DTRecSegment2D | |
void | setChi2 (const double &chi2) |
void | setCovMatrix (const AlgebraicSymMatrix &cov) |
void | setDirection (const LocalVector &dir) |
void | setPosition (const LocalPoint &pos) |
void | setT0 (const double &t0) |
void | setVdrift (const double &vdrift) |
void | update (std::vector< DTRecHit1D > &updatedRecHits) |
Protected Member Functions inherited from TrackingRecHit | |
void | setId (id_type iid) |
void | setRTTI (unsigned int rt) |
void | setType (Type ttype) |
Protected Attributes inherited from DTRecSegment2D | |
double | theChi2 |
AlgebraicSymMatrix | theCovMatrix |
LocalVector | theDirection |
std::vector< DTRecHit1D > | theHits |
LocalPoint | thePosition |
double | theT0 |
double | theVdrift |
A 2D segment for the DT system for Phi projection. It's an intermediate data class between the normal DTSLRecSegment2D class and the DTRecSegment4D. The difference wrt DTSLRecSegment2D is that the segments it represents is build with the two phi SL. So this segment DOES not belong to the SL (as DTSLRecSegment2D), but to the chamber (via a DTRecSegment4D). A DTRecSegment4D has one of these objects, and so can access the full information of the two projections.
Definition at line 31 of file DTChamberRecSegment2D.h.
|
inline |
empty c'tor
Definition at line 36 of file DTChamberRecSegment2D.h.
References DTRecSegment2D::chi2(), DTRecSegment2D::covMatrix(), hfClusterShapes_cfi::hits, and position.
Referenced by clone().
DTChamberRecSegment2D::DTChamberRecSegment2D | ( | DTChamberId | id, |
const std::vector< DTRecHit1D > & | hits | ||
) |
DTChamberRecSegment2D::DTChamberRecSegment2D | ( | DTChamberId | id, |
LocalPoint & | position, | ||
LocalVector & | direction, | ||
AlgebraicSymMatrix & | covMatrix, | ||
double | chi2, | ||
std::vector< DTRecHit1D > & | hits1D | ||
) |
complete constructor
Definition at line 14 of file DTChamberRecSegment2D.cc.
|
inlineoverride |
Destructor.
Definition at line 48 of file DTChamberRecSegment2D.h.
References chamberId(), and clone().
DTChamberId DTChamberRecSegment2D::chamberId | ( | ) | const |
The id of the chamber on which reside the segment.
Definition at line 24 of file DTChamberRecSegment2D.cc.
References TrackingRecHit::geographicalId().
Referenced by ~DTChamberRecSegment2D().
|
overridevirtual |
The clone method needed by the clone policy.
Implements TrackingRecHit.
Definition at line 20 of file DTChamberRecSegment2D.cc.
References DTChamberRecSegment2D().
Referenced by ~DTChamberRecSegment2D().
|
inlineprivate |
|
friend |
Definition at line 60 of file DTChamberRecSegment2D.h.
|
friend |
Definition at line 61 of file DTChamberRecSegment2D.h.