CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MuonME0FrameRotation.cc
Go to the documentation of this file.
5 
6 #include "G4StepPoint.hh"
7 #include "G4TouchableHistory.hh"
8 
9 //#define LOCAL_DEBUG
10 
12  g4numbering = new MuonG4Numbering(cpv);
13  MuonDDDConstants muonConstants(cpv);
14  int theLevelPart= muonConstants.getValue("level");
15  theSectorLevel = muonConstants.getValue("mg_sector")/theLevelPart;
16 #ifdef LOCAL_DEBUG
17  std::cout << "MuonME0FrameRotation: theSectorLevel " << theSectorLevel
18  << std::endl;
19 #endif
20  edm::LogVerbatim("MuonME0FrameRotation")<<"MuonME0FrameRotation: theSectorLevel " << theSectorLevel;
21 }
22 
24  delete g4numbering;
25 }
26 
28  if (!aStep) return Local3DPoint(0.,0.,0.);
29 
30  edm::LogVerbatim("MuonME0FrameRotation")<<"MuonME0FrameRotation transformPoint :: Local3DPoint (" <<point.x()<<","<<point.z()<<","<<-point.y()<<")" ;
31  return Local3DPoint(point.x(),point.z(),-point.y());
32 }
T y() const
Definition: PV3DBase.h:63
type of data representation of DDCompactView
Definition: DDCompactView.h:77
MuonME0FrameRotation(const DDCompactView &cpv)
int getValue(const std::string &name) const
T z() const
Definition: PV3DBase.h:64
MuonG4Numbering * g4numbering
Point3DBase< float, LocalTag > Local3DPoint
Definition: LocalPoint.h:9
virtual Local3DPoint transformPoint(const Local3DPoint &, const G4Step *) const
tuple cout
Definition: gather_cfg.py:121
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