CMS 3D CMS Logo

FrameRotation.h
Go to the documentation of this file.
1 #ifndef SimG4Core_SensitiveDetector_FrameRotation_H
2 #define SimG4Core_SensitiveDetector_FrameRotation_H
3 
5 
6 class G4VPhysicalVolume;
7 
8 class FrameRotation {
9 public:
10  // from Geant4 unit of coordinates to CMS
11  static constexpr double invcm = 0.1;
12 
13  virtual ~FrameRotation() = default;
14 
15  virtual Local3DPoint transformPoint(const Local3DPoint &, const G4VPhysicalVolume *v = nullptr) const = 0;
16 };
17 
18 #endif
static constexpr double invcm
Definition: FrameRotation.h:11
virtual Local3DPoint transformPoint(const Local3DPoint &, const G4VPhysicalVolume *v=nullptr) const =0
virtual ~FrameRotation()=default