CMS 3D CMS Logo

List of all members | Public Member Functions
TrackerFrameRotation Class Reference

#include <TrackerFrameRotation.h>

Inheritance diagram for TrackerFrameRotation:
FrameRotation

Public Member Functions

Local3DPoint transformPoint (const Local3DPoint &, const G4VPhysicalVolume *v=nullptr) const final
 
 ~TrackerFrameRotation () override=default
 
- Public Member Functions inherited from FrameRotation
virtual ~FrameRotation ()=default
 

Additional Inherited Members

- Static Public Attributes inherited from FrameRotation
static constexpr double invcm = 0.1
 

Detailed Description

Definition at line 12 of file TrackerFrameRotation.h.

Constructor & Destructor Documentation

TrackerFrameRotation::~TrackerFrameRotation ( )
overridedefault

Member Function Documentation

Local3DPoint TrackerFrameRotation::transformPoint ( const Local3DPoint point,
const G4VPhysicalVolume *  v = nullptr 
) const
finalvirtual

Implements FrameRotation.

Definition at line 4 of file TrackerFrameRotation.cc.

References FrameRotation::invcm, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

4  {
5  return Local3DPoint(point.x()*invcm,point.y()*invcm,point.z()*invcm);
6 }
static constexpr double invcm
Definition: FrameRotation.h:12
T y() const
Definition: PV3DBase.h:63
T z() const
Definition: PV3DBase.h:64
Point3DBase< float, LocalTag > Local3DPoint
Definition: LocalPoint.h:9
T x() const
Definition: PV3DBase.h:62