#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... | |
float | deltaPhi () const |
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, 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 |
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 | |
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 } |
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 |
Default constructor.
Definition at line 25 of file ME0Segment.h.
References chi2(), deltaPhi(), time(), timeErr(), and ~ME0Segment().
Referenced by clone().
ME0Segment::ME0Segment | ( | const std::vector< const ME0RecHit * > & | proto_segment, |
const LocalPoint & | origin, | ||
const LocalVector & | direction, | ||
const AlgebraicSymMatrix & | errors, | ||
float | chi2 | ||
) |
Constructor.
Definition at line 34 of file ME0Segment.cc.
References theME0RecHits.
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 | ||
) |
Definition at line 41 of file ME0Segment.cc.
References theME0RecHits.
|
virtual |
|
inlinevirtual |
Chi2 of the segment fit.
Implements RecSegment.
Definition at line 59 of file ME0Segment.h.
References theChi2.
Referenced by ME0Segment(), and 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<<().
|
inline |
Definition at line 76 of file ME0Segment.h.
References print(), and theDeltaPhi.
Referenced by ME0Segment().
|
inlinevirtual |
|
inlinevirtual |
Local direction.
Implements RecSegment.
Definition at line 43 of file ME0Segment.h.
References localDirectionError(), parameters(), and theLocalDirection.
Referenced by FWME0SegmentProxyBuilder::build(), muon::isGoodMuon(), and operator<<().
|
virtual |
Error on the local direction.
Implements RecSegment.
Definition at line 67 of file ME0Segment.cc.
References theCovMatrix.
Referenced by localDirection(), and operator<<().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 40 of file ME0Segment.h.
References localPositionError(), and theOrigin.
Referenced by FWME0SegmentProxyBuilder::build(), muon::isGoodMuon(), and operator<<().
|
virtual |
Implements TrackingRecHit.
Definition at line 63 of file ME0Segment.cc.
References theCovMatrix.
Referenced by muon::isGoodMuon(), localPosition(), and operator<<().
|
inline |
Definition at line 71 of file ME0Segment.h.
References TrackingRecHit::geographicalId().
Referenced by FWME0SegmentProxyBuilder::build().
|
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 72 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().
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), localDirection(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
inlinevirtual |
Covariance matrix of parameters()
Implements TrackingRecHit.
Definition at line 50 of file ME0Segment.h.
References projectionMatrix(), recHits(), and theCovMatrix.
void ME0Segment::print | ( | void | ) | const |
|
virtual |
The projection matrix relates the trajectory state parameters to the segment parameters().
Implements TrackingRecHit.
Definition at line 89 of file ME0Segment.cc.
References ProjectionMatrixDiag::getMatrix(), and theProjectionMatrix.
Referenced by parametersError().
|
virtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 50 of file ME0Segment.cc.
References theME0RecHits.
Referenced by parametersError().
|
virtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 56 of file ME0Segment.cc.
References theME0RecHits.
|
inline |
Definition at line 67 of file ME0Segment.h.
References theME0RecHits.
Referenced by FWME0SegmentProxyBuilder::build(), and operator<<().
|
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 86 of file ME0Segment.h.
Referenced by chi2().
|
private |
Definition at line 85 of file ME0Segment.h.
Referenced by localDirectionError(), localPositionError(), and parametersError().
|
private |
Definition at line 89 of file ME0Segment.h.
Referenced by deltaPhi().
|
private |
Definition at line 84 of file ME0Segment.h.
Referenced by localDirection(), and parameters().
|
private |
Definition at line 82 of file ME0Segment.h.
Referenced by ME0Segment(), nRecHits(), recHits(), and specificRecHits().
|
private |
Definition at line 83 of file ME0Segment.h.
Referenced by localPosition(), and parameters().
|
private |
Definition at line 88 of file ME0Segment.h.
Referenced by timeErr().
|
private |
Definition at line 87 of file ME0Segment.h.
Referenced by time().