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 }
T y() const
Definition: PV3DBase.h:63
MuonG4Numbering * g4numbering
int getValue(const std::string &name) const
Local3DPoint transformPoint(const Local3DPoint &, const G4Step *) const override
T z() const
Definition: PV3DBase.h:64
MuonBaseNumber PhysicalVolumeToBaseNumber(const G4Step *aStep)
Point3DBase< float, LocalTag > Local3DPoint
Definition: LocalPoint.h:9
int getSuperNo(int level) const
T x() const
Definition: PV3DBase.h:62
*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(const MuonDDDConstants &constants)