#include <EmulatedME0Segment.h>
Public Member Functions | |
double | chi2 () const override |
Chi2 of the segment fit. More... | |
EmulatedME0Segment * | clone () const override |
int | degreesOfFreedom () const override |
Degrees of freedom of the segment fit. More... | |
int | dimension () const override |
Dimension (in parameter space) More... | |
EmulatedME0Segment () | |
Default constructor. More... | |
EmulatedME0Segment (const LocalPoint &origin, const LocalVector &direction, const AlgebraicSymMatrix &errors, const double chi2) | |
Constructor. 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 |
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... | |
~EmulatedME0Segment () 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 | |
double | theChi2 |
AlgebraicSymMatrix | theCovMatrix |
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) |
Describes a simulated track segment in a z-plane modeling an ME0 chamber. It is modeled after CSCSegment, so it is a 4-dimensional object ( origin (x,y) , direction (x,y) ) Formally it must be defined as a LocalPoint and LocalError but we actually use the global coordinate system.
Definition at line 17 of file EmulatedME0Segment.h.
|
inline |
Default constructor.
Definition at line 22 of file EmulatedME0Segment.h.
References chi2(), and ~EmulatedME0Segment().
Referenced by clone().
EmulatedME0Segment::EmulatedME0Segment | ( | const LocalPoint & | origin, |
const LocalVector & | direction, | ||
const AlgebraicSymMatrix & | errors, | ||
const double | chi2 | ||
) |
Constructor.
Definition at line 10 of file EmulatedME0Segment.cc.
|
override |
Destructor.
Definition at line 15 of file EmulatedME0Segment.cc.
Referenced by EmulatedME0Segment().
|
inlineoverridevirtual |
Chi2 of the segment fit.
Implements RecSegment.
Definition at line 52 of file EmulatedME0Segment.h.
References theChi2.
Referenced by EmulatedME0Segment().
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 31 of file EmulatedME0Segment.h.
References EmulatedME0Segment().
|
inlineoverridevirtual |
Degrees of freedom of the segment fit.
Implements RecSegment.
Definition at line 56 of file EmulatedME0Segment.h.
|
inlineoverridevirtual |
Dimension (in parameter space)
Implements RecSegment.
Definition at line 54 of file EmulatedME0Segment.h.
|
inlineoverridevirtual |
Local direction.
Implements RecSegment.
Definition at line 36 of file EmulatedME0Segment.h.
References localDirectionError(), parameters(), and theLocalDirection.
Referenced by operator<<().
|
overridevirtual |
Error on the local direction.
Implements RecSegment.
Definition at line 21 of file EmulatedME0Segment.cc.
References theCovMatrix.
Referenced by localDirection(), and operator<<().
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 33 of file EmulatedME0Segment.h.
References localPositionError(), and theOrigin.
Referenced by operator<<().
|
overridevirtual |
Implements TrackingRecHit.
Definition at line 17 of file EmulatedME0Segment.cc.
References theCovMatrix.
Referenced by localPosition(), and operator<<().
|
inline |
Definition at line 60 of file EmulatedME0Segment.h.
References print().
|
overridevirtual |
Parameters of the segment, for the track fit in the order (dx/dz, dy/dz, x, y )
Implements TrackingRecHit.
Definition at line 26 of file EmulatedME0Segment.cc.
References createStaticMatrix(), funct::m, mps_fire::result, theLocalDirection, theOrigin, theProjectionMatrix, 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().
|
inlineoverridevirtual |
Covariance matrix of parameters()
Implements TrackingRecHit.
Definition at line 43 of file EmulatedME0Segment.h.
References projectionMatrix(), and theCovMatrix.
void EmulatedME0Segment::print | ( | void | ) | const |
Definition at line 62 of file EmulatedME0Segment.cc.
References gather_cfg::cout.
Referenced by nRecHits().
|
overridevirtual |
The projection matrix relates the trajectory state parameters to the segment parameters().
Implements TrackingRecHit.
Definition at line 55 of file EmulatedME0Segment.cc.
References theProjectionMatrix.
Referenced by parametersError().
|
inlineoverridevirtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 48 of file EmulatedME0Segment.h.
|
inlineoverridevirtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 50 of file EmulatedME0Segment.h.
|
private |
Definition at line 71 of file EmulatedME0Segment.h.
Referenced by chi2().
|
private |
Definition at line 70 of file EmulatedME0Segment.h.
Referenced by localDirectionError(), localPositionError(), and parametersError().
|
private |
Definition at line 69 of file EmulatedME0Segment.h.
Referenced by localDirection(), and parameters().
|
private |
Definition at line 68 of file EmulatedME0Segment.h.
Referenced by localPosition(), and parameters().