#include <ME0Segment.h>
Public Member Functions | |
double | chi2 () const |
Chi2 of the segment fit. More... | |
ME0Segment * | clone () const |
virtual int | degreesOfFreedom () const |
Degrees of freedom of the segment fit. More... | |
virtual int | dimension () const |
Dimension (in parameter space) More... | |
LocalVector | localDirection () const |
Local direction. More... | |
LocalError | localDirectionError () const |
Error on the local direction. More... | |
LocalPoint | localPosition () const |
LocalError | localPositionError () const |
ME0DetId | me0DetId () const |
ME0Segment () | |
Default constructor. More... | |
ME0Segment (const std::vector< const ME0RecHit * > &proto_segment, LocalPoint origin, LocalVector direction, AlgebraicSymMatrix errors, double chi2) | |
Constructor. More... | |
ME0Segment (const std::vector< const ME0RecHit * > &proto_segment, LocalPoint origin, LocalVector direction, AlgebraicSymMatrix errors, double chi2, double time, double timeErr) | |
int | nRecHits () const |
AlgebraicVector | parameters () const |
Parameters of the segment, for the track fit in the order (dx/dz, dy/dz, x, y ) More... | |
AlgebraicSymMatrix | parametersError () const |
Covariance matrix of parameters() More... | |
void | print () const |
virtual AlgebraicMatrix | projectionMatrix () const |
The projection matrix relates the trajectory state parameters to the segment parameters(). 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... | |
const std::vector< ME0RecHit > & | specificRecHits () const |
float | time () const |
float | timeErr () const |
virtual | ~ME0Segment () |
Destructor. More... | |
Public Member Functions inherited from RecSegment | |
RecSegment (DetId id) | |
RecSegment (TrackingRecHit::id_type id=0) | |
virtual | ~RecSegment () |
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 Attributes | |
double | theChi2 |
AlgebraicSymMatrix | theCovMatrix |
LocalVector | theLocalDirection |
std::vector< ME0RecHit > | theME0RecHits |
LocalPoint | theOrigin |
double | theTimeUncrt |
double | theTimeValue |
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 } |
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) |
the CSC segment Describes a reconstructed track segment in the 6 layers of the ME0 system. This is 4-dimensional since it has an origin (x,y) and a direction (x,y) in the local coordinate system of the chamber.
Definition at line 20 of file ME0Segment.h.
|
inline |
ME0Segment::ME0Segment | ( | const std::vector< const ME0RecHit * > & | proto_segment, |
LocalPoint | origin, | ||
LocalVector | direction, | ||
AlgebraicSymMatrix | errors, | ||
double | chi2 | ||
) |
Constructor.
Definition at line 35 of file ME0Segment.cc.
References i, theME0RecHits, theTimeUncrt, and theTimeValue.
ME0Segment::ME0Segment | ( | const std::vector< const ME0RecHit * > & | proto_segment, |
LocalPoint | origin, | ||
LocalVector | direction, | ||
AlgebraicSymMatrix | errors, | ||
double | chi2, | ||
double | time, | ||
double | timeErr | ||
) |
Definition at line 46 of file ME0Segment.cc.
References i, theME0RecHits, theTimeUncrt, theTimeValue, time(), and timeErr().
|
virtual |
|
inlinevirtual |
Chi2 of the segment fit.
Implements RecSegment.
Definition at line 59 of file ME0Segment.h.
References theChi2.
Referenced by operator<<().
|
inlinevirtual |
|
inlinevirtual |
Degrees of freedom of the segment fit.
Implements RecSegment.
Definition at line 63 of file ME0Segment.h.
References nRecHits().
Referenced by operator<<().
|
inlinevirtual |
|
inlinevirtual |
Local direction.
Implements RecSegment.
Definition at line 43 of file ME0Segment.h.
References theLocalDirection.
Referenced by operator<<().
|
virtual |
Error on the local direction.
Implements RecSegment.
Definition at line 81 of file ME0Segment.cc.
References theCovMatrix.
Referenced by operator<<().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 40 of file ME0Segment.h.
References theOrigin.
Referenced by operator<<().
|
virtual |
Implements TrackingRecHit.
Definition at line 77 of file ME0Segment.cc.
References theCovMatrix.
Referenced by operator<<().
|
inline |
|
inline |
Definition at line 69 of file ME0Segment.h.
References theME0RecHits.
Referenced by degreesOfFreedom().
|
virtual |
Parameters of the segment, for the track fit in the order (dx/dz, dy/dz, x, y )
Implements TrackingRecHit.
Definition at line 86 of file ME0Segment.cc.
References mps_fire::result, theLocalDirection, theOrigin, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
inlinevirtual |
Covariance matrix of parameters()
Implements TrackingRecHit.
Definition at line 50 of file ME0Segment.h.
References theCovMatrix.
void ME0Segment::print | ( | void | ) | const |
|
virtual |
The projection matrix relates the trajectory state parameters to the segment parameters().
Implements TrackingRecHit.
Definition at line 103 of file ME0Segment.cc.
References ProjectionMatrixDiag::getMatrix(), and theProjectionMatrix.
|
virtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 60 of file ME0Segment.cc.
References theME0RecHits.
|
virtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 68 of file ME0Segment.cc.
References theME0RecHits.
|
inline |
|
inline |
Definition at line 73 of file ME0Segment.h.
References theTimeValue.
Referenced by ME0Segment(), and operator<<().
|
inline |
Definition at line 74 of file ME0Segment.h.
References theTimeUncrt.
Referenced by ME0Segment(), and operator<<().
|
private |
Definition at line 84 of file ME0Segment.h.
Referenced by chi2().
|
private |
Definition at line 83 of file ME0Segment.h.
Referenced by localDirectionError(), localPositionError(), and parametersError().
|
private |
Definition at line 82 of file ME0Segment.h.
Referenced by localDirection(), and parameters().
|
private |
Definition at line 80 of file ME0Segment.h.
Referenced by ME0Segment(), nRecHits(), recHits(), and specificRecHits().
|
private |
Definition at line 81 of file ME0Segment.h.
Referenced by localPosition(), and parameters().
|
private |
Definition at line 86 of file ME0Segment.h.
Referenced by ME0Segment(), and timeErr().
|
private |
Definition at line 85 of file ME0Segment.h.
Referenced by ME0Segment(), and time().