#include <GEMCSCSegment.h>
Public Member Functions | |
double | chi2 () const |
Chi2 of the segment fit. More... | |
GEMCSCSegment * | clone () const |
CSCDetId | cscDetId () const |
const std::vector< CSCRecHit2D > & | cscRecHits () const |
const CSCSegment | cscSegment () const |
virtual int | degreesOfFreedom () const |
Degrees of freedom of the segment fit. More... | |
virtual int | dimension () const |
Dimension (in parameter space) More... | |
GEMCSCSegment () | |
Default constructor. More... | |
GEMCSCSegment (const CSCSegment *csc_segment, const std::vector< const GEMRecHit * > gem_rhs, LocalPoint origin, LocalVector direction, AlgebraicSymMatrix errors, double chi2) | |
Constructor. More... | |
const std::vector< GEMRecHit > & | gemRecHits () const |
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... | |
virtual | ~GEMCSCSegment () |
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 |
CSCSegment | theCSCSegment |
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 } |
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) |
Based on CSCSegment class Describes a reconstructed track segment in the GEM + CSC chambers. This is 4-dimensional since it has an origin (x,y) and a direction (x,y) in the local coordinate system of the (csc) chamber.
Definition at line 26 of file GEMCSCSegment.h.
|
inline |
GEMCSCSegment::GEMCSCSegment | ( | const CSCSegment * | csc_segment, |
const std::vector< const GEMRecHit * > | gem_rhs, | ||
LocalPoint | origin, | ||
LocalVector | direction, | ||
AlgebraicSymMatrix | errors, | ||
double | chi2 | ||
) |
Constructor.
Definition at line 39 of file GEMCSCSegment.cc.
References CSCSegment::cscDetId(), i, CSCSegment::specificRecHits(), theCSCSegment, and theGEMRecHits.
|
virtual |
|
inlinevirtual |
Chi2 of the segment fit.
Implements RecSegment.
Definition at line 57 of file GEMCSCSegment.h.
References theChi2.
Referenced by operator<<().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 40 of file GEMCSCSegment.h.
References GEMCSCSegment().
|
inline |
|
inline |
Definition at line 74 of file GEMCSCSegment.h.
References CSCSegment::specificRecHits(), and theCSCSegment.
|
inline |
|
inlinevirtual |
Degrees of freedom of the segment fit.
Implements RecSegment.
Definition at line 61 of file GEMCSCSegment.h.
References nRecHits().
Referenced by operator<<().
|
inlinevirtual |
Dimension (in parameter space)
Implements RecSegment.
Definition at line 59 of file GEMCSCSegment.h.
|
inline |
|
inlinevirtual |
Local direction.
Implements RecSegment.
Definition at line 45 of file GEMCSCSegment.h.
References theLocalDirection.
Referenced by operator<<().
|
virtual |
Error on the local direction.
Implements RecSegment.
Definition at line 88 of file GEMCSCSegment.cc.
References theCovMatrix.
Referenced by operator<<().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 42 of file GEMCSCSegment.h.
References theOrigin.
Referenced by operator<<().
|
virtual |
Implements TrackingRecHit.
Definition at line 83 of file GEMCSCSegment.cc.
References theCovMatrix.
Referenced by operator<<().
|
inline |
Definition at line 63 of file GEMCSCSegment.h.
References CSCSegment::specificRecHits(), theCSCSegment, and theGEMRecHits.
Referenced by degreesOfFreedom(), and operator<<().
|
virtual |
Parameters of the segment, for the track fit in the order (dx/dz, dy/dz, x, y )
Implements TrackingRecHit.
Definition at line 93 of file GEMCSCSegment.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(), 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 GEMCSCSegment.h.
References theCovMatrix.
void GEMCSCSegment::print | ( | ) | const |
|
virtual |
The projection matrix relates the trajectory state parameters to the segment parameters().
Implements TrackingRecHit.
Definition at line 107 of file GEMCSCSegment.cc.
References ProjectionMatrixDiag::getMatrix(), and theProjectionMatrix.
|
virtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 61 of file GEMCSCSegment.cc.
References CSCSegment::specificRecHits(), theCSCSegment, and theGEMRecHits.
|
virtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 73 of file GEMCSCSegment.cc.
References theGEMRecHits.
|
private |
Definition at line 92 of file GEMCSCSegment.h.
Referenced by chi2().
|
private |
Definition at line 91 of file GEMCSCSegment.h.
Referenced by localDirectionError(), localPositionError(), and parametersError().
|
private |
Definition at line 84 of file GEMCSCSegment.h.
Referenced by cscRecHits(), cscSegment(), GEMCSCSegment(), nRecHits(), and recHits().
|
private |
Definition at line 83 of file GEMCSCSegment.h.
Referenced by GEMCSCSegment(), gemRecHits(), nRecHits(), and recHits().
|
private |
Definition at line 90 of file GEMCSCSegment.h.
Referenced by localDirection(), and parameters().
|
private |
Definition at line 89 of file GEMCSCSegment.h.
Referenced by localPosition(), and parameters().