PandaRoot
genfit::FullMeasurement Class Reference

Measurement class implementing a measurement of all track parameters. More...

#include <FullMeasurement.h>

Inheritance diagram for genfit::FullMeasurement:
genfit::AbsMeasurement

Public Member Functions

 FullMeasurement (int nDim=5)
 
 FullMeasurement (const MeasuredStateOnPlane &, int detId=-1, int hitId=-1, TrackPoint *trackPoint=nullptr)
 
virtual ~FullMeasurement ()
 
virtual AbsMeasurementclone () const
 Deep copy ctor for polymorphic class. More...
 
virtual SharedPlanePtr constructPlane (const StateOnPlane &state) const
 
virtual std::vector< MeasurementOnPlane * > constructMeasurementsOnPlane (const StateOnPlane &state) const
 
virtual const AbsHMatrixconstructHMatrix (const AbsTrackRep *) const
 
- Public Member Functions inherited from genfit::AbsMeasurement
 AbsMeasurement ()
 
 AbsMeasurement (int nDims)
 
 AbsMeasurement (const TVectorD &rawHitCoords, const TMatrixDSym &rawHitCov, int detId, int hitId, TrackPoint *trackPoint)
 
virtual ~AbsMeasurement ()
 
TrackPointgetTrackPoint () const
 
void setTrackPoint (TrackPoint *tp)
 
const TVectorD & getRawHitCoords () const
 
const TMatrixDSym & getRawHitCov () const
 
TVectorD & getRawHitCoords ()
 
TMatrixDSym & getRawHitCov ()
 
int getDetId () const
 
int getHitId () const
 
virtual bool isLeftRightMeasurement () const
 If the AbsMeasurement is a wire hit, the left/right resolution will be used. More...
 
virtual int getLeftRightResolution () const
 
unsigned int getDim () const
 
void setRawHitCoords (const TVectorD &coords)
 
void setRawHitCov (const TMatrixDSym &cov)
 
void setDetId (int detId)
 
void setHitId (int hitId)
 
virtual void Print (const Option_t *="") const
 

Protected Attributes

SharedPlanePtr plane_
 
- Protected Attributes inherited from genfit::AbsMeasurement
TVectorD rawHitCoords_
 
TMatrixDSym rawHitCov_
 
int detId_
 
int hitId_
 
TrackPointtrackPoint_
 Pointer to TrackPoint where the measurement belongs to. More...
 

Additional Inherited Members

- Protected Member Functions inherited from genfit::AbsMeasurement
 AbsMeasurement (const AbsMeasurement &)
 protect from calling copy c'tor from outside the class. Use clone() if you want a copy! More...
 

Detailed Description

Measurement class implementing a measurement of all track parameters.

Author
Johannes Rauch (Technische Universität München, original author)

This class can e.g. be used, if the fitted track parameters measured in one subdetector should be put into one "measurement".

Definition at line 41 of file FullMeasurement.h.

Constructor & Destructor Documentation

◆ FullMeasurement() [1/2]

genfit::FullMeasurement::FullMeasurement ( int  nDim = 5)

Referenced by clone().

◆ FullMeasurement() [2/2]

genfit::FullMeasurement::FullMeasurement ( const MeasuredStateOnPlane ,
int  detId = -1,
int  hitId = -1,
TrackPoint trackPoint = nullptr 
)

◆ ~FullMeasurement()

virtual genfit::FullMeasurement::~FullMeasurement ( )
inlinevirtual

Definition at line 47 of file FullMeasurement.h.

47 { ; }

Member Function Documentation

◆ clone()

virtual AbsMeasurement* genfit::FullMeasurement::clone ( ) const
inlinevirtual

Deep copy ctor for polymorphic class.

Implements genfit::AbsMeasurement.

Definition at line 49 of file FullMeasurement.h.

References constructHMatrix(), constructMeasurementsOnPlane(), constructPlane(), and FullMeasurement().

49 { return new FullMeasurement(*this); }
FullMeasurement(int nDim=5)

◆ constructHMatrix()

virtual const AbsHMatrix* genfit::FullMeasurement::constructHMatrix ( const AbsTrackRep ) const
virtual

Returns a new AbsHMatrix object. Caller must take ownership.

Implements genfit::AbsMeasurement.

Referenced by clone().

◆ constructMeasurementsOnPlane()

virtual std::vector<MeasurementOnPlane *> genfit::FullMeasurement::constructMeasurementsOnPlane ( const StateOnPlane state) const
virtual

Construct MeasurementOnPlane on plane of the state and wrt the states TrackRep. The state will usually be the prediction or reference state, and has to be defined AT the measurement. The AbsMeasurement will be projected onto the plane. It's possible to make corrections to the coordinates here (e.g. by using the state coordinates). Usually the vector will contain only one element. But in the case of e.g. a WireMeasurement, it will be 2 (left and right).

Implements genfit::AbsMeasurement.

Referenced by clone().

◆ constructPlane()

virtual SharedPlanePtr genfit::FullMeasurement::constructPlane ( const StateOnPlane state) const
virtual

Construct (virtual) detector plane (use state's AbsTrackRep). It's possible to make corrections to the plane here. The state should be defined somewhere near the measurement. For virtual planes, the state will be extrapolated to the POCA to point (SpacepointMeasurement) or line (WireMeasurement), and from this info the plane will be constructed.

Implements genfit::AbsMeasurement.

Referenced by clone().

Member Data Documentation

◆ plane_

SharedPlanePtr genfit::FullMeasurement::plane_
protected

Definition at line 58 of file FullMeasurement.h.


The documentation for this class was generated from the following file: