ATLAS Offline Software
Public Types | Public Member Functions | List of all members
MuonR4::ISpacePointCalibrator Class Referenceabstract

Interface class to refine the space point calibration with an external seed. More...

#include <ISpacePointCalibrator.h>

Inheritance diagram for MuonR4::ISpacePointCalibrator:
Collaboration diagram for MuonR4::ISpacePointCalibrator:

Public Types

using CalibSpacePointPtr = std::unique_ptr< CalibratedSpacePoint >
 
using CalibSpacePointVec = std::vector< CalibSpacePointPtr >
 

Public Member Functions

 DeclareInterfaceID (ISpacePointCalibrator, 1, 0)
 
virtual ~ISpacePointCalibrator ()=default
 
virtual CalibSpacePointPtr calibrate (const EventContext &ctx, const SpacePoint *spacePoint, const Amg::Vector3D &seedPosInChamb, const Amg::Vector3D &seedDirInChamb, const double timeDelay) const =0
 Calibrates a single space point. More...
 
virtual CalibSpacePointPtr calibrate (const EventContext &ctx, const CalibratedSpacePoint &spacePoint, const Amg::Vector3D &seedPosInChamb, const Amg::Vector3D &seedDirInChamb, const double timeDelay) const =0
 Calibrates a single space point. More...
 
virtual CalibSpacePointVec calibrate (const EventContext &ctx, const std::vector< const SpacePoint * > &spacePoints, const Amg::Vector3D &seedPosInChamb, const Amg::Vector3D &seedDirInChamb, const double timeDelay) const =0
 Calibrates a set of space points. More...
 
virtual CalibSpacePointVec calibrate (const EventContext &ctx, CalibSpacePointVec &&spacePoints, const Amg::Vector3D &seedPosInChamb, const Amg::Vector3D &seedDirInChamb, const double timeDelay) const =0
 Refines the calibration constants of already calibrated space points. More...
 
virtual double driftVelocity (const EventContext &ctx, const CalibratedSpacePoint &spacePoint) const =0
 Returns the drift velocity for a given space point. More...
 

Detailed Description

Interface class to refine the space point calibration with an external seed.

Definition at line 19 of file ISpacePointCalibrator.h.

Member Typedef Documentation

◆ CalibSpacePointPtr

Definition at line 25 of file ISpacePointCalibrator.h.

◆ CalibSpacePointVec

Definition at line 26 of file ISpacePointCalibrator.h.

Constructor & Destructor Documentation

◆ ~ISpacePointCalibrator()

virtual MuonR4::ISpacePointCalibrator::~ISpacePointCalibrator ( )
virtualdefault

Member Function Documentation

◆ calibrate() [1/4]

virtual CalibSpacePointVec MuonR4::ISpacePointCalibrator::calibrate ( const EventContext &  ctx,
CalibSpacePointVec &&  spacePoints,
const Amg::Vector3D seedPosInChamb,
const Amg::Vector3D seedDirInChamb,
const double  timeDelay 
) const
pure virtual

Refines the calibration constants of already calibrated space points.

Parameters
ctxEventContext to access conditions data
spacePointsList of already calibrated space points that's eaten by the method
seedPosInChambPosition of the external seed expressed in the sector frame
seedDirInChambDirection of the external seed expressed in the sector frame
timeDelayShift in time to be added to the time of flight of a particle going a straight path

◆ calibrate() [2/4]

virtual CalibSpacePointPtr MuonR4::ISpacePointCalibrator::calibrate ( const EventContext &  ctx,
const CalibratedSpacePoint spacePoint,
const Amg::Vector3D seedPosInChamb,
const Amg::Vector3D seedDirInChamb,
const double  timeDelay 
) const
pure virtual

Calibrates a single space point.

Mdt drift radii are corrected for time slew, signal propagation & LorentzAngle effects. The second coordinate of 1D space points is updated according to the closest approach of the strip to the complemntary coordinate. The space point calibrator always returns a calibrated object. But the state of the space point is set to FailedCalib in if the calibration fails.

Parameters
ctxEventContext to access conditions data
spacePointPointer to the space point to calibrate.
seedPosInChambPosition of the external seed expressed in the sector frame
seedDirInChambDirection of the external seed expressed in the sector frame
timeDelayShift in time to be added to the time of flight of a particle going a straight path

◆ calibrate() [3/4]

virtual CalibSpacePointPtr MuonR4::ISpacePointCalibrator::calibrate ( const EventContext &  ctx,
const SpacePoint spacePoint,
const Amg::Vector3D seedPosInChamb,
const Amg::Vector3D seedDirInChamb,
const double  timeDelay 
) const
pure virtual

Calibrates a single space point.

Mdt drift radii are corrected for time slew, signal propagation & LorentzAngle effects. The second coordinate of 1D space points is updated according to the closest approach of the strip to the complemntary coordinate. The space point calibrator always returns a calibrated object. But the state of the space point is set to FailedCalib in if the calibration fails.

Parameters
ctxEventContext to access conditions data
spacePointPointer to the space point to calibrate.
seedPosInChambPosition of the external seed expressed in the sector frame
seedDirInChambDirection of the external seed expressed in the sector frame
timeDelayShift in time to be added to the time of flight of a particle going a straight path

◆ calibrate() [4/4]

virtual CalibSpacePointVec MuonR4::ISpacePointCalibrator::calibrate ( const EventContext &  ctx,
const std::vector< const SpacePoint * > &  spacePoints,
const Amg::Vector3D seedPosInChamb,
const Amg::Vector3D seedDirInChamb,
const double  timeDelay 
) const
pure virtual

Calibrates a set of space points.

Parameters
ctxEventContext to access conditions data
spacePointsList of space points that will be calibrated
seedPosInChambPosition of the external seed expressed in the sector frame
seedDirInChambDirection of the external seed expressed in the sector frame
timeDelayShift in time to be added to the time of flight of a particle going a straight path

◆ DeclareInterfaceID()

MuonR4::ISpacePointCalibrator::DeclareInterfaceID ( ISpacePointCalibrator  ,
,
 
)

◆ driftVelocity()

virtual double MuonR4::ISpacePointCalibrator::driftVelocity ( const EventContext &  ctx,
const CalibratedSpacePoint spacePoint 
) const
pure virtual

Returns the drift velocity for a given space point.

Parameters
ctxEventContext to access conditions data
spacePointReference to the calibrated space point for which the velocity needs to be calculated.

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