CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MuonRPCFrameRotation.cc
Go to the documentation of this file.
5 
6 #include "G4Step.hh"
7 
9  const MuonOffsetMap* offMap,
10  bool dd4hep)
12  g4numbering = new MuonG4Numbering(muonConstants, offMap, dd4hep);
13  int theLevelPart = muonConstants.getValue("level");
14  theRegion = muonConstants.getValue("mr_region") / theLevelPart;
15 }
16 
18 
20  //check if endcap
22  bool endcap_muon = (num.getSuperNo(theRegion) != 1);
23  return (endcap_muon) ? Local3DPoint(point.x(), point.z(), -point.y()) : Local3DPoint(point.x(), point.y(), point.z());
24 }
int getValue(const std::string &name) const
T y() const
Definition: PV3DBase.h:60
MuonG4Numbering * g4numbering
tuple dd4hep
Definition: dd4hep_cff.py:3
T z() const
Definition: PV3DBase.h:61
MuonRPCFrameRotation(const MuonGeometryConstants &constants, const MuonOffsetMap *offMap, bool dd4hep)
MuonBaseNumber PhysicalVolumeToBaseNumber(const G4Step *aStep)
int getSuperNo(int level) const
Local3DPoint transformPoint(const Local3DPoint &, const G4Step *) const override
T x() const
Definition: PV3DBase.h:59
*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