CMS 3D CMS Logo

MuonGEMFrameRotation.cc
Go to the documentation of this file.
4 
5 #include "G4StepPoint.hh"
6 #include "G4TouchableHistory.hh"
7 
8 //#define LOCAL_DEBUG
9 
11  g4numbering = new MuonG4Numbering(muonConstants);
12  int theLevelPart= muonConstants.getValue("level");
13  theSectorLevel = muonConstants.getValue("mg_sector")/theLevelPart;
14 #ifdef LOCAL_DEBUG
15  std::cout << "MuonGEMFrameRotation: theSectorLevel " << theSectorLevel
16  << std::endl;
17 #endif
18 }
19 
21  delete g4numbering;
22 }
23 
24 Local3DPoint MuonGEMFrameRotation::transformPoint(const Local3DPoint & point,const G4Step * aStep=nullptr) const {
25  if (!aStep) return Local3DPoint(0.,0.,0.);
26 
27  return Local3DPoint(point.x(),point.z(),-point.y());
28 }
T y() const
Definition: PV3DBase.h:63
MuonG4Numbering * g4numbering
int getValue(const std::string &name) const
T z() const
Definition: PV3DBase.h:64
Local3DPoint transformPoint(const Local3DPoint &, const G4Step *) const override
Point3DBase< float, LocalTag > Local3DPoint
Definition: LocalPoint.h:9
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
MuonGEMFrameRotation(const MuonDDDConstants &muonConstants)