CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
MuonME0FrameRotation Class Reference

#include <MuonME0FrameRotation.h>

Inheritance diagram for MuonME0FrameRotation:
MuonFrameRotation

Public Member Functions

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

Private Attributes

MuonG4Numberingg4numbering
 
int theSectorLevel
 

Detailed Description

implementation of FrameRotation for the muon ME0

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

Modification:

Definition at line 22 of file MuonME0FrameRotation.h.

Constructor & Destructor Documentation

MuonME0FrameRotation::MuonME0FrameRotation ( const MuonDDDConstants muonConstants)

Definition at line 8 of file MuonME0FrameRotation.cc.

References g4numbering, MuonDDDConstants::getValue(), and theSectorLevel.

10  g4numbering = new MuonG4Numbering(muonConstants);
11  int theLevelPart = muonConstants.getValue("level");
12  theSectorLevel = muonConstants.getValue("mg_sector") / theLevelPart;
13  edm::LogVerbatim("MuonME0FrameRotation") << "MuonME0FrameRotation: theSectorLevel " << theSectorLevel;
14 }
int getValue(const std::string &name) const
MuonG4Numbering * g4numbering
MuonME0FrameRotation::~MuonME0FrameRotation ( )
override

Definition at line 16 of file MuonME0FrameRotation.cc.

References g4numbering.

16 { delete g4numbering; }
MuonG4Numbering * g4numbering

Member Function Documentation

Local3DPoint MuonME0FrameRotation::transformPoint ( const Local3DPoint point,
const G4Step *   
) const
overridevirtual

Reimplemented from MuonFrameRotation.

Definition at line 18 of file MuonME0FrameRotation.cc.

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

18  {
19  //---VI: sector level and g4numbering are not used
20  return Local3DPoint(point.x(), point.z(), -point.y());
21 }
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

Member Data Documentation

MuonG4Numbering* MuonME0FrameRotation::g4numbering
private

Definition at line 29 of file MuonME0FrameRotation.h.

Referenced by MuonME0FrameRotation(), and ~MuonME0FrameRotation().

int MuonME0FrameRotation::theSectorLevel
private

Definition at line 30 of file MuonME0FrameRotation.h.

Referenced by MuonME0FrameRotation().