#include <ME0Segment.h>
Public Member Functions | |
double | chi2 () const override |
Chi2 of the segment fit. More... | |
ME0Segment * | clone () const override |
int | degreesOfFreedom () const override |
Degrees of freedom of the segment fit. More... | |
float | deltaPhi () const |
int | dimension () const override |
Dimension (in parameter space) More... | |
LocalVector | localDirection () const override |
Local direction. More... | |
LocalError | localDirectionError () const override |
Error on the local direction. More... | |
LocalPoint | localPosition () const override |
LocalError | localPositionError () const override |
ME0DetId | me0DetId () const |
ME0Segment () | |
Default constructor. More... | |
ME0Segment (const std::vector< const ME0RecHit * > &proto_segment, const LocalPoint &origin, const LocalVector &direction, const AlgebraicSymMatrix &errors, float chi2) | |
Constructor. More... | |
ME0Segment (const std::vector< const ME0RecHit * > &proto_segment, const LocalPoint &origin, const LocalVector &direction, const AlgebraicSymMatrix &errors, float chi2, float time, float timeErr, float deltaPhi) | |
int | nRecHits () const |
AlgebraicVector | parameters () const override |
Parameters of the segment, for the track fit in the order (dx/dz, dy/dz, x, y ) More... | |
AlgebraicSymMatrix | parametersError () const override |
Covariance matrix of parameters() More... | |
void | print () const |
AlgebraicMatrix | projectionMatrix () const override |
The projection matrix relates the trajectory state parameters to the segment parameters(). More... | |
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... | |
const std::vector< ME0RecHit > & | specificRecHits () const |
float | time () const |
float | timeErr () const |
~ME0Segment () 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 Attributes | |
float | theChi2 |
AlgebraicSymMatrix | theCovMatrix |
float | theDeltaPhi |
LocalVector | theLocalDirection |
std::vector< ME0RecHit > | theME0RecHits |
LocalPoint | theOrigin |
float | theTimeUncrt |
float | 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, 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) |
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, |
const LocalPoint & | origin, | ||
const LocalVector & | direction, | ||
const AlgebraicSymMatrix & | errors, | ||
float | chi2 | ||
) |
ME0Segment::ME0Segment | ( | const std::vector< const ME0RecHit * > & | proto_segment, |
const LocalPoint & | origin, | ||
const LocalVector & | direction, | ||
const AlgebraicSymMatrix & | errors, | ||
float | chi2, | ||
float | time, | ||
float | timeErr, | ||
float | deltaPhi | ||
) |
|
override |
|
inlineoverridevirtual |
Chi2 of the segment fit.
Implements RecSegment.
Definition at line 66 of file ME0Segment.h.
References theChi2.
Referenced by operator<<().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Degrees of freedom of the segment fit.
Implements RecSegment.
Definition at line 70 of file ME0Segment.h.
References nRecHits().
Referenced by operator<<().
|
inline |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Local direction.
Implements RecSegment.
Definition at line 50 of file ME0Segment.h.
References theLocalDirection.
Referenced by FWME0SegmentProxyBuilder::build(), operator<<(), and ME0TriggerPseudoBuilder::segmentConversion().
|
overridevirtual |
Error on the local direction.
Implements RecSegment.
Definition at line 87 of file ME0Segment.cc.
References theCovMatrix.
Referenced by operator<<().
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 47 of file ME0Segment.h.
References theOrigin.
Referenced by FWME0SegmentProxyBuilder::build(), operator<<(), and ME0TriggerPseudoBuilder::segmentConversion().
|
overridevirtual |
Implements TrackingRecHit.
Definition at line 83 of file ME0Segment.cc.
References theCovMatrix.
Referenced by operator<<().
|
inline |
Definition at line 78 of file ME0Segment.h.
References TrackingRecHit::geographicalId().
Referenced by FWME0SegmentProxyBuilder::build(), and ME0TriggerPseudoBuilder::segmentConversion().
|
inline |
Definition at line 76 of file ME0Segment.h.
References theME0RecHits.
Referenced by degreesOfFreedom(), and ME0TriggerPseudoBuilder::segmentConversion().
|
overridevirtual |
Parameters of the segment, for the track fit in the order (dx/dz, dy/dz, x, y )
Implements TrackingRecHit.
Definition at line 91 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().
|
inlineoverridevirtual |
Covariance matrix of parameters()
Implements TrackingRecHit.
Definition at line 57 of file ME0Segment.h.
References theCovMatrix.
void ME0Segment::print | ( | void | ) | const |
|
overridevirtual |
The projection matrix relates the trajectory state parameters to the segment parameters().
Implements TrackingRecHit.
Definition at line 107 of file ME0Segment.cc.
References ProjectionMatrixDiag::getMatrix(), and theProjectionMatrix.
|
overridevirtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 69 of file ME0Segment.cc.
References theME0RecHits.
|
overridevirtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 76 of file ME0Segment.cc.
References theME0RecHits.
|
inline |
Definition at line 74 of file ME0Segment.h.
References theME0RecHits.
Referenced by FWME0SegmentProxyBuilder::build(), operator<<(), and ME0TriggerPseudoBuilder::segmentConversion().
|
inline |
Definition at line 80 of file ME0Segment.h.
References theTimeValue.
Referenced by operator<<(), and ME0TriggerPseudoBuilder::segmentConversion().
|
inline |
|
private |
Definition at line 92 of file ME0Segment.h.
Referenced by chi2().
|
private |
Definition at line 91 of file ME0Segment.h.
Referenced by localDirectionError(), localPositionError(), and parametersError().
|
private |
Definition at line 95 of file ME0Segment.h.
Referenced by deltaPhi().
|
private |
Definition at line 90 of file ME0Segment.h.
Referenced by localDirection(), and parameters().
|
private |
Definition at line 88 of file ME0Segment.h.
Referenced by ME0Segment(), nRecHits(), recHits(), and specificRecHits().
|
private |
Definition at line 89 of file ME0Segment.h.
Referenced by localPosition(), and parameters().
|
private |
Definition at line 94 of file ME0Segment.h.
Referenced by timeErr().
|
private |
Definition at line 93 of file ME0Segment.h.
Referenced by time().