CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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(cpv);
12  MuonDDDConstants muonConstants(cpv);
13  int theLevelPart= muonConstants.getValue("level");
14  theSectorLevel = muonConstants.getValue("mg_sector")/theLevelPart;
15 #ifdef LOCAL_DEBUG
16  std::cout << "MuonGEMFrameRotation: theSectorLevel " << theSectorLevel
17  << std::endl;
18 #endif
19 }
20 
22  delete g4numbering;
23 }
24 
26  if (!aStep) return Local3DPoint(0.,0.,0.);
27 
28  return Local3DPoint(point.x(),point.z(),-point.y());
29 }
virtual Local3DPoint transformPoint(const Local3DPoint &, const G4Step *) const
T y() const
Definition: PV3DBase.h:63
type of data representation of DDCompactView
Definition: DDCompactView.h:77
MuonG4Numbering * g4numbering
int getValue(const std::string &name) const
T z() const
Definition: PV3DBase.h:64
Point3DBase< float, LocalTag > Local3DPoint
Definition: LocalPoint.h:9
MuonGEMFrameRotation(const DDCompactView &cpv)
tuple cout
Definition: gather_cfg.py:145
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