Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:29:56

0001 #ifndef SimG4Core_SensitiveDetector_FrameRotation_H
0002 #define SimG4Core_SensitiveDetector_FrameRotation_H
0003 
0004 #include "DataFormats/GeometryVector/interface/LocalPoint.h"
0005 
0006 class G4VPhysicalVolume;
0007 
0008 class FrameRotation {
0009 public:
0010   // from Geant4 unit of coordinates to CMS
0011   static constexpr double invcm = 0.1;
0012 
0013   virtual ~FrameRotation() = default;
0014 
0015   virtual Local3DPoint transformPoint(const Local3DPoint &, const G4VPhysicalVolume *v = nullptr) const = 0;
0016 };
0017 
0018 #endif