#include <GEMSegment.h>
Public Member Functions | |
float | bunchX () const |
double | chi2 () const |
Chi2 of the segment fit. More... | |
GEMSegment * | clone () const |
virtual int | degreesOfFreedom () const |
Degrees of freedom of the segment fit. More... | |
virtual int | dimension () const |
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, double time, double timeErr) | |
LocalVector | localDirection () const |
Local direction. More... | |
LocalError | localDirectionError () const |
Error on the local direction. More... | |
LocalPoint | localPosition () const |
LocalError | localPositionError () const |
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< GEMRecHit > & | specificRecHits () const |
float | time () const |
float | timeErr () const |
virtual | ~GEMSegment () |
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 | theBX |
double | theChi2 |
AlgebraicSymMatrix | theCovMatrix |
std::vector< GEMRecHit > | theGEMRecHits |
LocalVector | theLocalDirection |
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 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 |
Default constructor.
Definition at line 24 of file GEMSegment.h.
References chi2(), time(), timeErr(), and ~GEMSegment().
Referenced by clone().
GEMSegment::GEMSegment | ( | const std::vector< const GEMRecHit * > & | proto_segment, |
const LocalPoint & | origin, | ||
const LocalVector & | direction, | ||
const AlgebraicSymMatrix & | errors, | ||
double | chi2 | ||
) |
Constructor.
Definition at line 34 of file GEMSegment.cc.
References mps_fire::i, theBX, theGEMRecHits, theTimeUncrt, and theTimeValue.
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 46 of file GEMSegment.cc.
References mps_fire::i, theBX, theGEMRecHits, theTimeUncrt, and theTimeValue.
GEMSegment::GEMSegment | ( | const std::vector< const GEMRecHit * > & | proto_segment, |
const LocalPoint & | origin, | ||
const LocalVector & | direction, | ||
const AlgebraicSymMatrix & | errors, | ||
double | chi2, | ||
double | time, | ||
double | timeErr | ||
) |
Definition at line 58 of file GEMSegment.cc.
References mps_fire::i, theBX, theGEMRecHits, theTimeUncrt, theTimeValue, time(), and timeErr().
|
virtual |
|
inline |
Definition at line 77 of file GEMSegment.h.
References print(), and theBX.
Referenced by operator<<().
|
inlinevirtual |
Chi2 of the segment fit.
Implements RecSegment.
Definition at line 61 of file GEMSegment.h.
References theChi2.
Referenced by GEMSegment(), and operator<<().
|
inlinevirtual |
|
inlinevirtual |
Degrees of freedom of the segment fit.
Implements RecSegment.
Definition at line 65 of file GEMSegment.h.
References nRecHits().
Referenced by operator<<().
|
inlinevirtual |
|
inline |
Definition at line 73 of file GEMSegment.h.
References TrackingRecHit::geographicalId().
Referenced by GEMSegmentAlgorithm::buildSegments(), and FWGEMSegmentProxyBuilder::buildViewType().
|
inlinevirtual |
Local direction.
Implements RecSegment.
Definition at line 45 of file GEMSegment.h.
References localDirectionError(), parameters(), and theLocalDirection.
Referenced by FWGEMSegmentProxyBuilder::buildViewType(), and operator<<().
|
virtual |
Error on the local direction.
Implements RecSegment.
Definition at line 93 of file GEMSegment.cc.
References theCovMatrix.
Referenced by localDirection(), and operator<<().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 42 of file GEMSegment.h.
References localPositionError(), and theOrigin.
Referenced by FWGEMSegmentProxyBuilder::buildViewType(), and operator<<().
|
virtual |
Implements TrackingRecHit.
Definition at line 89 of file GEMSegment.cc.
References theCovMatrix.
Referenced by localPosition(), and operator<<().
|
inline |
Definition at line 71 of file GEMSegment.h.
References theGEMRecHits.
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 98 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().
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 52 of file GEMSegment.h.
References projectionMatrix(), recHits(), and theCovMatrix.
void GEMSegment::print | ( | void | ) | const |
|
virtual |
The projection matrix relates the trajectory state parameters to the segment parameters().
Implements TrackingRecHit.
Definition at line 115 of file GEMSegment.cc.
References ProjectionMatrixDiag::getMatrix(), and theProjectionMatrix.
Referenced by parametersError().
|
virtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 72 of file GEMSegment.cc.
References theGEMRecHits.
Referenced by parametersError().
|
virtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 80 of file GEMSegment.cc.
References theGEMRecHits.
|
inline |
|
inline |
Definition at line 75 of file GEMSegment.h.
References theTimeValue.
Referenced by GEMSegment(), and operator<<().
|
inline |
Definition at line 76 of file GEMSegment.h.
References theTimeUncrt.
Referenced by GEMSegment(), and operator<<().
|
private |
Definition at line 89 of file GEMSegment.h.
Referenced by bunchX(), and GEMSegment().
|
private |
Definition at line 86 of file GEMSegment.h.
Referenced by chi2().
|
private |
Definition at line 85 of file GEMSegment.h.
Referenced by localDirectionError(), localPositionError(), and parametersError().
|
private |
Definition at line 82 of file GEMSegment.h.
Referenced by GEMSegment(), nRecHits(), recHits(), and specificRecHits().
|
private |
Definition at line 84 of file GEMSegment.h.
Referenced by localDirection(), and parameters().
|
private |
Definition at line 83 of file GEMSegment.h.
Referenced by localPosition(), and parameters().
|
private |
Definition at line 88 of file GEMSegment.h.
Referenced by GEMSegment(), and timeErr().
|
private |
Definition at line 87 of file GEMSegment.h.
Referenced by GEMSegment(), and time().