Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:17:54

0001 #ifndef MVTX_CYLINDERGEOMMVTXHELPER_H
0002 #define MVTX_CYLINDERGEOMMVTXHELPER_H
0003 
0004 #include <g4detectors/PHG4CylinderGeom.h>
0005 
0006 #include <trackbase/ActsGeometry.h>
0007 #include <trackbase/TrkrDefs.h>
0008 
0009 #include <TVector3.h>
0010 
0011 #include <iostream>
0012 
0013 class CylinderGeom_MvtxHelper
0014 {
0015  public:
0016 
0017   // our own - no override
0018   TVector3 static
0019   get_local_from_world_coords (
0020     Surface const& surface,
0021     ActsGeometry* tGeometry,
0022     TVector3 world
0023   );
0024 
0025   TVector3 static
0026   get_world_from_local_coords (
0027     Surface const& surface,
0028     ActsGeometry* tGeometry,
0029     TVector2 const& local
0030   );
0031 
0032   TVector3 static
0033   get_world_from_local_coords (
0034     Surface const& surface,
0035     ActsGeometry* tGeometry,
0036     TVector3 const& local
0037   );
0038 
0039   void static
0040   find_sensor_center (
0041     Surface const& surface,
0042     ActsGeometry* tGeometry,
0043     double* location
0044   );
0045 
0046 };
0047 
0048 #endif