CMS 3D CMS Logo

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(muonConstants);
13  int theLevelPart= muonConstants.getValue("level");
14  theSectorLevel = muonConstants.getValue("mg_sector")/theLevelPart;
15 #ifdef LOCAL_DEBUG
16  std::cout << "MuonME0FrameRotation: theSectorLevel " << theSectorLevel
17  << std::endl;
18 #endif
19  edm::LogVerbatim("MuonME0FrameRotation")<<"MuonME0FrameRotation: theSectorLevel " << theSectorLevel;
20 }
21 
23  delete g4numbering;
24 }
25 
27  if (!aStep) return Local3DPoint(0.,0.,0.);
28 
29  edm::LogVerbatim("MuonME0FrameRotation")<<"MuonME0FrameRotation transformPoint :: Local3DPoint (" <<point.x()<<","<<point.z()<<","<<-point.y()<<")" ;
30  return Local3DPoint(point.x(),point.z(),-point.y());
31 }
T y() const
Definition: PV3DBase.h:63
int getValue(const std::string &name) const
T z() const
Definition: PV3DBase.h:64
MuonG4Numbering * g4numbering
Point3DBase< float, LocalTag > Local3DPoint
Definition: LocalPoint.h:9
MuonME0FrameRotation(const MuonDDDConstants &muonConstants)
virtual Local3DPoint transformPoint(const Local3DPoint &, const G4Step *) 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