#include <GEMSegment.h>
Public Member Functions | |
float | bunchX () const |
double | chi2 () const override |
Chi2 of the segment fit. More... | |
GEMSegment * | 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... | |
GEMDetId | gemDetId () const |
GEMSegment () | |
Default constructor. More... | |
GEMSegment (const std::vector< const GEMRecHit *> &proto_segment, const LocalPoint &origin, const LocalVector &direction, const AlgebraicSymMatrix &errors, double chi2) | |
Constructor. More... | |
GEMSegment (const std::vector< const GEMRecHit *> &proto_segment, const LocalPoint &origin, const LocalVector &direction, const AlgebraicSymMatrix &errors, double chi2, float bx) | |
GEMSegment (const std::vector< const GEMRecHit *> &proto_segment, const LocalPoint &origin, const LocalVector &direction, const AlgebraicSymMatrix &errors, double chi2, float bx, float deltaPhi) | |
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 |
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< GEMRecHit > & | specificRecHits () const |
~GEMSegment () 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 | theBX |
double | theChi2 |
AlgebraicSymMatrix | theCovMatrix |
float | theDeltaPhi |
std::vector< GEMRecHit > | theGEMRecHits |
LocalVector | theLocalDirection |
LocalPoint | theOrigin |
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 2+ layers of a GEM chamber. 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 19 of file GEMSegment.h.
|
inline |
GEMSegment::GEMSegment | ( | const std::vector< const GEMRecHit *> & | proto_segment, |
const LocalPoint & | origin, | ||
const LocalVector & | direction, | ||
const AlgebraicSymMatrix & | errors, | ||
double | chi2 | ||
) |
Constructor.
Definition at line 29 of file GEMSegment.cc.
References mps_fire::i, theBX, theDeltaPhi, and theGEMRecHits.
GEMSegment::GEMSegment | ( | const std::vector< const GEMRecHit *> & | proto_segment, |
const LocalPoint & | origin, | ||
const LocalVector & | direction, | ||
const AlgebraicSymMatrix & | errors, | ||
double | chi2, | ||
float | bx | ||
) |
Definition at line 45 of file GEMSegment.cc.
References mps_fire::i, theDeltaPhi, and theGEMRecHits.
GEMSegment::GEMSegment | ( | const std::vector< const GEMRecHit *> & | proto_segment, |
const LocalPoint & | origin, | ||
const LocalVector & | direction, | ||
const AlgebraicSymMatrix & | errors, | ||
double | chi2, | ||
float | bx, | ||
float | deltaPhi | ||
) |
Definition at line 62 of file GEMSegment.cc.
References mps_fire::i, and theGEMRecHits.
|
override |
|
inline |
|
inlineoverridevirtual |
Chi2 of the segment fit.
Implements RecSegment.
Definition at line 71 of file GEMSegment.h.
References theChi2.
Referenced by operator<<().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Degrees of freedom of the segment fit.
Implements RecSegment.
Definition at line 75 of file GEMSegment.h.
References nRecHits().
Referenced by operator<<().
|
inline |
|
inlineoverridevirtual |
|
inline |
Definition at line 83 of file GEMSegment.h.
References TrackingRecHit::geographicalId().
Referenced by FWGEMSegmentProxyBuilder::buildViewType(), and GE0TriggerPseudoBuilder::segmentConversion().
|
inlineoverridevirtual |
Local direction.
Implements RecSegment.
Definition at line 55 of file GEMSegment.h.
References theLocalDirection.
Referenced by FWGEMSegmentProxyBuilder::buildViewType(), operator<<(), and GE0TriggerPseudoBuilder::segmentConversion().
|
overridevirtual |
Error on the local direction.
Implements RecSegment.
Definition at line 102 of file GEMSegment.cc.
References theCovMatrix.
Referenced by operator<<().
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 52 of file GEMSegment.h.
References theOrigin.
Referenced by FWGEMSegmentProxyBuilder::buildViewType(), operator<<(), and GE0TriggerPseudoBuilder::segmentConversion().
|
overridevirtual |
Implements TrackingRecHit.
Definition at line 98 of file GEMSegment.cc.
References theCovMatrix.
Referenced by operator<<().
|
inline |
Definition at line 81 of file GEMSegment.h.
References theGEMRecHits.
Referenced by degreesOfFreedom(), and GE0TriggerPseudoBuilder::segmentConversion().
|
overridevirtual |
Parameters of the segment, for the track fit in the order (dx/dz, dy/dz, x, y )
Implements TrackingRecHit.
Definition at line 106 of file GEMSegment.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 62 of file GEMSegment.h.
References theCovMatrix.
void GEMSegment::print | ( | void | ) | const |
|
overridevirtual |
The projection matrix relates the trajectory state parameters to the segment parameters().
Implements TrackingRecHit.
Definition at line 122 of file GEMSegment.cc.
References theProjectionMatrix.
|
overridevirtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 82 of file GEMSegment.cc.
References theGEMRecHits.
Referenced by MuonAssociatorByHitsHelper::getMatchedIds().
|
overridevirtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 90 of file GEMSegment.cc.
References theGEMRecHits.
|
inline |
Definition at line 79 of file GEMSegment.h.
References theGEMRecHits.
Referenced by operator<<(), and GE0TriggerPseudoBuilder::segmentConversion().
|
private |
Definition at line 97 of file GEMSegment.h.
Referenced by bunchX(), and GEMSegment().
|
private |
Definition at line 96 of file GEMSegment.h.
Referenced by chi2().
|
private |
Definition at line 95 of file GEMSegment.h.
Referenced by localDirectionError(), localPositionError(), and parametersError().
|
private |
Definition at line 98 of file GEMSegment.h.
Referenced by deltaPhi(), and GEMSegment().
|
private |
Definition at line 92 of file GEMSegment.h.
Referenced by GEMSegment(), nRecHits(), recHits(), and specificRecHits().
|
private |
Definition at line 94 of file GEMSegment.h.
Referenced by localDirection(), and parameters().
|
private |
Definition at line 93 of file GEMSegment.h.
Referenced by localPosition(), and parameters().