| 
    FairRoot/PandaRoot
    
   | 
 
#include <PndLmdGeometryHelper.h>
Public Member Functions | |
| virtual | ~PndLmdGeometryHelper () | 
| PndLmdGeometryHelper (const PndLmdGeometryHelper &)=delete | |
| void | operator= (const PndLmdGeometryHelper &)=delete | 
| const PndLmdHitLocationInfo & | getHitLocationInfo (const std::string &volume_path) | 
| const PndLmdHitLocationInfo & | getHitLocationInfo (int sensor_id) | 
| int | getOverlapIdFromSensorIDs (int id1, int id2) | 
| TVector3 | transformPndGlobalToLmdLocal (const TVector3 &vec) | 
| TVector3 | transformPndGlobalToSensor (const TVector3 &vec, int sensorId) | 
| bool | isOverlappingArea (const int id1, const int id2) | 
| const std::string | getPath (unsigned char...) | 
| const TGeoHMatrix | getMatrixPndGlobalToSensor (const int sensorId) | 
| const TGeoHMatrix | getMatrixSensorToPndGlobal (const int sensorId) | 
| const TGeoHMatrix | getMatrixPndGlobalToLmdLocal () | 
| const TGeoHMatrix | getMatrixLmdLocalToPndGlobal () | 
| std::vector< std::string > | getAllAlignPaths (bool sensors=true, bool modules=false, bool planes=false, bool halfs=false, bool detector=false) | 
| std::vector< std::string > | getAllAlignableVolumePaths () const | 
Static Public Member Functions | |
| static PndLmdGeometryHelper & | getInstance () | 
| static std::vector< int > | getAvailableOverlapIDs () | 
Private Member Functions | |
| PndLmdGeometryHelper (const std::string &geo_params_config_file_url="lmd-geo-params.json") | |
| const PndLmdHitLocationInfo & | createMappingEntry (int sensor_id) | 
| const PndLmdHitLocationInfo & | createMappingEntry (const std::string &volume_path) | 
| PndLmdHitLocationInfo | translateVolumePathToHitLocationInfo (const std::string &volume_path) const | 
Private Attributes | |
| boost::property_tree::ptree | geometry_properties | 
| std::vector< std::pair < std::string, bool > >  | navigation_paths | 
| std::map< std::string,  PndLmdHitLocationInfo >  | volume_path_to_hit_info_mapping | 
| std::map< int,  PndLmdHitLocationInfo >  | sensor_id_to_hit_info_mapping | 
| std::string | lmd_root_path | 
| TGeoManager * | fGeoManager | 
Definition at line 38 of file PndLmdGeometryHelper.h.
      
  | 
  inlineprivate | 
Definition at line 49 of file PndLmdGeometryHelper.h.
References fGeoManager, geometry_properties, lmd_root_path, navigation_paths, and TString.
      
  | 
  virtual | 
Definition at line 13 of file PndLmdGeometryHelper.cxx.
      
  | 
  delete | 
      
  | 
  private | 
Definition at line 76 of file PndLmdGeometryHelper.cxx.
References PndGeoHandling::GetPath(), PndGeoHandling::Instance(), sensor_id_to_hit_info_mapping, translateVolumePathToHitLocationInfo(), and volume_path_to_hit_info_mapping.
Referenced by getHitLocationInfo().
      
  | 
  private | 
Definition at line 88 of file PndLmdGeometryHelper.cxx.
References PndGeoHandling::GetShortID(), PndGeoHandling::Instance(), sensor_id_to_hit_info_mapping, translateVolumePathToHitLocationInfo(), and volume_path_to_hit_info_mapping.
| std::vector< std::string > PndLmdGeometryHelper::getAllAlignableVolumePaths | ( | ) | const | 
Definition at line 393 of file PndLmdGeometryHelper.cxx.
References fGeoManager, i, and navigation_paths.
Referenced by getAllAlignPaths().
| std::vector< std::string > PndLmdGeometryHelper::getAllAlignPaths | ( | bool | sensors = true,  | 
        
| bool | modules = false,  | 
        ||
| bool | planes = false,  | 
        ||
| bool | halfs = false,  | 
        ||
| bool | detector = false  | 
        ||
| ) | 
Definition at line 354 of file PndLmdGeometryHelper.cxx.
References getAllAlignableVolumePaths(), navigation_paths, and s.
Referenced by createPndLmdMisalignmentMatrices().
      
  | 
  static | 
Definition at line 120 of file PndLmdGeometryHelper.cxx.
Referenced by PndLmdAlignQA::calculateOverlapingAreas(), PndLmdAlignQA::checkForMatrixFiles(), PndLmdPairFinderTask::Init(), and PndLmdAlignManager::init().
| const PndLmdHitLocationInfo & PndLmdGeometryHelper::getHitLocationInfo | ( | const std::string & | volume_path | ) | 
Definition at line 100 of file PndLmdGeometryHelper.cxx.
References createMappingEntry(), and volume_path_to_hit_info_mapping.
Referenced by PndLmdDigiQTask::Exec(), PndLmdPairFinderTask::Exec(), getOverlapIdFromSensorIDs(), PndLmdPairFinderTask::getStatistics(), and isOverlappingArea().
| const PndLmdHitLocationInfo & PndLmdGeometryHelper::getHitLocationInfo | ( | int | sensor_id | ) | 
Definition at line 110 of file PndLmdGeometryHelper.cxx.
References createMappingEntry(), and sensor_id_to_hit_info_mapping.
      
  | 
  inlinestatic | 
Definition at line 75 of file PndLmdGeometryHelper.h.
Referenced by createPndLmdMisalignmentMatrices(), PndLmdTrkQTask::Exec(), PndLmdAlignQA::init(), PndLmdPairFinderTask::Init(), PndLmdTrackFinderTask::SortHitsByDet2(), and PndLmdTrackFinderCATask::SortHitsByDetSimple2().
| const TGeoHMatrix PndLmdGeometryHelper::getMatrixLmdLocalToPndGlobal | ( | ) | 
Definition at line 272 of file PndLmdGeometryHelper.cxx.
References getMatrixPndGlobalToLmdLocal().
| const TGeoHMatrix PndLmdGeometryHelper::getMatrixPndGlobalToLmdLocal | ( | ) | 
Definition at line 260 of file PndLmdGeometryHelper.cxx.
References fGeoManager, lmd_root_path, and TString.
Referenced by getMatrixLmdLocalToPndGlobal(), and transformPndGlobalToLmdLocal().
| const TGeoHMatrix PndLmdGeometryHelper::getMatrixPndGlobalToSensor | ( | const int | sensorId | ) | 
Definition at line 160 of file PndLmdGeometryHelper.cxx.
References fGeoManager, PndGeoHandling::GetPath(), PndGeoHandling::Instance(), and TString.
Referenced by getMatrixSensorToPndGlobal(), and transformPndGlobalToSensor().
| const TGeoHMatrix PndLmdGeometryHelper::getMatrixSensorToPndGlobal | ( | const int | sensorId | ) | 
Definition at line 176 of file PndLmdGeometryHelper.cxx.
References getMatrixPndGlobalToSensor().
| int PndLmdGeometryHelper::getOverlapIdFromSensorIDs | ( | int | id1, | 
| int | id2 | ||
| ) | 
Definition at line 181 of file PndLmdGeometryHelper.cxx.
References getHitLocationInfo().
Referenced by PndLmdPairFinderTask::Exec(), PndLmdAlignQA::plotCMvsPXmatrices(), PndLmdAlignQA::plotMatrixresiduals(), and PndLmdAlignQA::plotPXvsCMmatricesResiduals().
| const std::string PndLmdGeometryHelper::getPath | ( | unsigned | char... | ) | 
| bool PndLmdGeometryHelper::isOverlappingArea | ( | const int | id1, | 
| const int | id2 | ||
| ) | 
Definition at line 276 of file PndLmdGeometryHelper.cxx.
References getHitLocationInfo().
Referenced by PndLmdPairFinderTask::candHitsOverlappingArea().
      
  | 
  delete | 
| TVector3 PndLmdGeometryHelper::transformPndGlobalToLmdLocal | ( | const TVector3 & | vec | ) | 
Definition at line 136 of file PndLmdGeometryHelper.cxx.
References Double_t, and getMatrixPndGlobalToLmdLocal().
Referenced by PndLmdPairFinderTask::Exec().
| TVector3 PndLmdGeometryHelper::transformPndGlobalToSensor | ( | const TVector3 & | vec, | 
| int | sensorId | ||
| ) | 
Definition at line 148 of file PndLmdGeometryHelper.cxx.
References Double_t, and getMatrixPndGlobalToSensor().
      
  | 
  private | 
Definition at line 30 of file PndLmdGeometryHelper.cxx.
References PndGeoHandling::cd(), PndLmdHitLocationInfo::detector_half, fGeoManager, geometry_properties, PndGeoHandling::Instance(), PndLmdHitLocationInfo::module, PndLmdHitLocationInfo::module_sensor_id, PndLmdHitLocationInfo::module_side, navigation_paths, PndLmdHitLocationInfo::plane, and TString.
Referenced by createMappingEntry().
      
  | 
  private | 
Definition at line 47 of file PndLmdGeometryHelper.h.
Referenced by getAllAlignableVolumePaths(), getMatrixPndGlobalToLmdLocal(), getMatrixPndGlobalToSensor(), PndLmdGeometryHelper(), and translateVolumePathToHitLocationInfo().
      
  | 
  private | 
Definition at line 39 of file PndLmdGeometryHelper.h.
Referenced by PndLmdGeometryHelper(), and translateVolumePathToHitLocationInfo().
      
  | 
  private | 
Definition at line 45 of file PndLmdGeometryHelper.h.
Referenced by getMatrixPndGlobalToLmdLocal(), and PndLmdGeometryHelper().
      
  | 
  private | 
Definition at line 40 of file PndLmdGeometryHelper.h.
Referenced by getAllAlignableVolumePaths(), getAllAlignPaths(), PndLmdGeometryHelper(), and translateVolumePathToHitLocationInfo().
      
  | 
  private | 
Definition at line 43 of file PndLmdGeometryHelper.h.
Referenced by createMappingEntry(), and getHitLocationInfo().
      
  | 
  private | 
Definition at line 42 of file PndLmdGeometryHelper.h.
Referenced by createMappingEntry(), and getHitLocationInfo().
 1.8.5