CMS 3D CMS Logo

List of all members | Public Member Functions
MuonEndcapFrameRotation Class Reference

#include <MuonEndcapFrameRotation.h>

Inheritance diagram for MuonEndcapFrameRotation:
MuonFrameRotation

Public Member Functions

Local3DPoint transformPoint (const Local3DPoint &, const G4Step *) const override
 
 ~MuonEndcapFrameRotation () override
 
- Public Member Functions inherited from MuonFrameRotation
 MuonFrameRotation ()
 
virtual ~MuonFrameRotation ()
 

Detailed Description

implementation of FrameRotation for the muon endcap

Author
Arno Straessner, CERN arno..nosp@m.stra.nosp@m.essne.nosp@m.r@ce.nosp@m.rn.ch

Modification:

Definition at line 18 of file MuonEndcapFrameRotation.h.

Constructor & Destructor Documentation

◆ ~MuonEndcapFrameRotation()

MuonEndcapFrameRotation::~MuonEndcapFrameRotation ( )
inlineoverride

Definition at line 20 of file MuonEndcapFrameRotation.h.

20 {};

Member Function Documentation

◆ transformPoint()

Local3DPoint MuonEndcapFrameRotation::transformPoint ( const Local3DPoint point,
const G4Step *  step 
) const
overridevirtual

Reimplemented from MuonFrameRotation.

Definition at line 8 of file MuonEndcapFrameRotation.cc.

References point.

8  {
9  const G4StepPoint* preStepPoint = step->GetPreStepPoint();
10  const G4TouchableHistory* theTouchable = (const G4TouchableHistory*)preStepPoint->GetTouchable();
11  const G4ThreeVector& trans = theTouchable->GetTranslation();
12 
13  return (trans.z() < 0) ? Local3DPoint(-point.x(), -point.z(), -point.y())
14  : Local3DPoint(point.x(), point.z(), -point.y());
15 }
step
Definition: StallMonitor.cc:98
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5
Point3DBase< float, LocalTag > Local3DPoint
Definition: LocalPoint.h:9