CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
FakeFrameRotation Class Reference

#include <FakeFrameRotation.h>

Inheritance diagram for FakeFrameRotation:
FrameRotation

Public Member Functions

Local3DPoint transformPoint (const Local3DPoint &, const G4VPhysicalVolume *v=nullptr) const final
 
 ~FakeFrameRotation () 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 FakeFrameRotation.h.

Constructor & Destructor Documentation

FakeFrameRotation::~FakeFrameRotation ( )
overridedefault

Member Function Documentation

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

Implements FrameRotation.

Definition at line 3 of file FakeFrameRotation.cc.

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

3  {
4  return Local3DPoint(point.x() * invcm, point.z() * invcm, -point.y() * invcm);
5 }
static constexpr double invcm
Definition: FrameRotation.h:11
T y() const
Definition: PV3DBase.h:60
T z() const
Definition: PV3DBase.h:61
T x() const
Definition: PV3DBase.h:59
Point3DBase< float, LocalTag > Local3DPoint
Definition: LocalPoint.h:9