CMS 3D CMS Logo

MuonRPCFrameRotation.cc
Go to the documentation of this file.
5 
6 #include "G4Step.hh"
7 
10  g4numbering = new MuonG4Numbering(muonConstants);
11  int theLevelPart = muonConstants.getValue("level");
12  theRegion = muonConstants.getValue("mr_region") / theLevelPart;
13 }
14 
16 
18  //check if endcap
20  bool endcap_muon = (num.getSuperNo(theRegion) != 1);
21  return (endcap_muon) ? Local3DPoint(point.x(), point.z(), -point.y()) : Local3DPoint(point.x(), point.y(), point.z());
22 }
MuonRPCFrameRotation::~MuonRPCFrameRotation
~MuonRPCFrameRotation() override
Definition: MuonRPCFrameRotation.cc:15
MuonGeometryConstants
Definition: MuonGeometryConstants.h:20
MuonRPCFrameRotation::g4numbering
MuonG4Numbering * g4numbering
Definition: MuonRPCFrameRotation.h:28
MuonG4Numbering.h
MuonGeometryConstants.h
MuonG4Numbering
Definition: MuonG4Numbering.h:25
MuonRPCFrameRotation::transformPoint
Local3DPoint transformPoint(const Local3DPoint &, const G4Step *) const override
Definition: MuonRPCFrameRotation.cc:17
Point3DBase< float, LocalTag >
MuonBaseNumber.h
MuonRPCFrameRotation::theRegion
int theRegion
Definition: MuonRPCFrameRotation.h:29
MuonGeometryConstants::getValue
int getValue(const std::string &name) const
Definition: MuonGeometryConstants.cc:8
MuonG4Numbering::PhysicalVolumeToBaseNumber
MuonBaseNumber PhysicalVolumeToBaseNumber(const G4Step *aStep)
Definition: MuonG4Numbering.cc:43
EgammaValidation_cff.num
num
Definition: EgammaValidation_cff.py:34
MuonBaseNumber
Definition: MuonBaseNumber.h:21
MuonFrameRotation
Definition: MuonFrameRotation.h:17
point
*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
MuonRPCFrameRotation.h
Local3DPoint
Point3DBase< float, LocalTag > Local3DPoint
Definition: LocalPoint.h:9
MuonRPCFrameRotation::MuonRPCFrameRotation
MuonRPCFrameRotation(const MuonGeometryConstants &constants)
Definition: MuonRPCFrameRotation.cc:8