SND@LHC Software
Loading...
Searching...
No Matches
genfit::mySpacepointMeasurement Class Reference

Example class for a spacepoint measurement which can be created from mySpacepointDetectorHit via the MeasurementFactory. More...

#include <mySpacepointMeasurement.h>

Inheritance diagram for genfit::mySpacepointMeasurement:
Collaboration diagram for genfit::mySpacepointMeasurement:

Public Member Functions

 mySpacepointMeasurement ()
 
 mySpacepointMeasurement (const mySpacepointDetectorHit *detHit, const TrackCandHit *hit)
 
virtual AbsMeasurementclone () const
 Deep copy ctor for polymorphic class.
 
- Public Member Functions inherited from genfit::SpacepointMeasurement
 SpacepointMeasurement (int nDim=3)
 
 SpacepointMeasurement (const TVectorD &rawHitCoords, const TMatrixDSym &rawHitCov, int detId, int hitId, TrackPoint *trackPoint, bool weightedPlaneContruction=true, bool cutCov=true)
 
virtual ~SpacepointMeasurement ()
 
virtual SharedPlanePtr constructPlane (const StateOnPlane &state) const
 Contruct the virtual detector plane.
 
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
 
int getDetId () const
 
int getHitId () const
 
unsigned int getDim () const
 
void setDetId (int detId)
 
void setHitId (int hitId)
 
virtual void Print (const Option_t *="") const
 

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!
 
- Protected Attributes inherited from genfit::AbsMeasurement
TVectorD rawHitCoords_
 
TMatrixDSym rawHitCov_
 
int detId_
 
int hitId_
 
TrackPointtrackPoint_
 Pointer to TrackPoint where the measurement belongs to.
 

Detailed Description

Example class for a spacepoint measurement which can be created from mySpacepointDetectorHit via the MeasurementFactory.

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

Definition at line 36 of file mySpacepointMeasurement.h.

Constructor & Destructor Documentation

◆ mySpacepointMeasurement() [1/2]

genfit::mySpacepointMeasurement::mySpacepointMeasurement ( )
inline

Default constructor for ROOT IO.

Definition at line 41 of file mySpacepointMeasurement.h.

◆ mySpacepointMeasurement() [2/2]

genfit::mySpacepointMeasurement::mySpacepointMeasurement ( const mySpacepointDetectorHit detHit,
const TrackCandHit hit 
)
inline

Definition at line 44 of file mySpacepointMeasurement.h.

44 :
46 {
47 rawHitCoords_(0) = detHit->getPos()(0);
48 rawHitCoords_(1) = detHit->getPos()(1);
49 rawHitCoords_(2) = detHit->getPos()(2);
50 rawHitCov_ = detHit->getCov();
51 detId_ = hit->getDetId();
52 hitId_ = hit->getHitId();
53 }

Member Function Documentation

◆ clone()

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

Deep copy ctor for polymorphic class.

Reimplemented from genfit::SpacepointMeasurement.

Definition at line 55 of file mySpacepointMeasurement.h.


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