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 (Local3DPoint &, G4VPhysicalVolume *) const override
 
 ~TrackerFrameRotation () override=default
 
- Public Member Functions inherited from FrameRotation
virtual ~FrameRotation ()=default
 

Detailed Description

To be used for test beam etc. Note: if the sensitive detecor is created without an organization, force this one

Definition at line 13 of file TrackerFrameRotation.h.

Constructor & Destructor Documentation

TrackerFrameRotation::~TrackerFrameRotation ( )
overridedefault

Member Function Documentation

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

Implements FrameRotation.

Definition at line 4 of file TrackerFrameRotation.cc.

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

4  {
5  return Local3DPoint(point.x()/cm,point.y()/cm,point.z()/cm);
6 }
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