CMS 3D CMS Logo

Public Member Functions

StandardFrameRotation Class Reference

#include <StandardFrameRotation.h>

Inheritance diagram for StandardFrameRotation:
FrameRotation

List of all members.

Public Member Functions

virtual Local3DPoint transformPoint (Local3DPoint &, G4VPhysicalVolume *) const

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 StandardFrameRotation.h.


Member Function Documentation

Local3DPoint StandardFrameRotation::transformPoint ( Local3DPoint point,
G4VPhysicalVolume *  v = 0 
) const [virtual]

Implements FrameRotation.

Definition at line 3 of file StandardFrameRotation.cc.

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

                                                                                                     {
  return Local3DPoint(point.x()/cm,point.y()/cm,point.z()/cm);
}