PandaRoot
PndLmdGeometryHelper Class Reference

#include <PndLmdGeometryHelper.h>

Public Member Functions

virtual ~PndLmdGeometryHelper ()
 
 PndLmdGeometryHelper (const PndLmdGeometryHelper &)=delete
 
void operator= (const PndLmdGeometryHelper &)=delete
 
const PndLmdHitLocationInfogetHitLocationInfo (const std::string &volume_path)
 
const PndLmdHitLocationInfogetHitLocationInfo (int sensor_id)
 
std::vector< int > getAvailableOverlapIDs ()
 
int getOverlapIdFromSensorIDs (int id1, int id2)
 
int getModuleIDFromSensorID (int sensorID)
 
int getSectorIDfromSensorID (int sensorID)
 
std::string getModulePathFromModuleID (int moduleID)
 
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< PndLmdOverlapInfogetOverlapInfos (int iHalf=-1, int iPlane=-1, int iModule=-1)
 
std::vector< std::string > getAllAlignableVolumePaths ()
 

Static Public Member Functions

static PndLmdGeometryHelpergetInstance ()
 

Detailed Description

Definition at line 74 of file PndLmdGeometryHelper.h.

Constructor & Destructor Documentation

◆ ~PndLmdGeometryHelper()

virtual PndLmdGeometryHelper::~PndLmdGeometryHelper ( )
virtual

◆ PndLmdGeometryHelper()

PndLmdGeometryHelper::PndLmdGeometryHelper ( const PndLmdGeometryHelper )
delete

Member Function Documentation

◆ getAllAlignableVolumePaths()

std::vector<std::string> PndLmdGeometryHelper::getAllAlignableVolumePaths ( )

◆ getAllAlignPaths()

std::vector<std::string> PndLmdGeometryHelper::getAllAlignPaths ( bool  sensors = true,
bool  modules = false,
bool  planes = false,
bool  halfs = false,
bool  detector = false 
)

◆ getAvailableOverlapIDs()

std::vector<int> PndLmdGeometryHelper::getAvailableOverlapIDs ( )

◆ getHitLocationInfo() [1/2]

const PndLmdHitLocationInfo& PndLmdGeometryHelper::getHitLocationInfo ( const std::string &  volume_path)

◆ getHitLocationInfo() [2/2]

const PndLmdHitLocationInfo& PndLmdGeometryHelper::getHitLocationInfo ( int  sensor_id)

◆ getInstance()

static PndLmdGeometryHelper& PndLmdGeometryHelper::getInstance ( )
inlinestatic

Definition at line 129 of file PndLmdGeometryHelper.h.

130  {
131  static PndLmdGeometryHelper instance;
132  return instance;
133  }

◆ getMatrixLmdLocalToPndGlobal()

const TGeoHMatrix PndLmdGeometryHelper::getMatrixLmdLocalToPndGlobal ( )

◆ getMatrixPndGlobalToLmdLocal()

const TGeoHMatrix PndLmdGeometryHelper::getMatrixPndGlobalToLmdLocal ( )

◆ getMatrixPndGlobalToSensor()

const TGeoHMatrix PndLmdGeometryHelper::getMatrixPndGlobalToSensor ( const int  sensorId)

◆ getMatrixSensorToPndGlobal()

const TGeoHMatrix PndLmdGeometryHelper::getMatrixSensorToPndGlobal ( const int  sensorId)

◆ getModuleIDFromSensorID()

int PndLmdGeometryHelper::getModuleIDFromSensorID ( int  sensorID)

◆ getModulePathFromModuleID()

std::string PndLmdGeometryHelper::getModulePathFromModuleID ( int  moduleID)

◆ getOverlapIdFromSensorIDs()

int PndLmdGeometryHelper::getOverlapIdFromSensorIDs ( int  id1,
int  id2 
)

◆ getOverlapInfos()

std::vector<PndLmdOverlapInfo> PndLmdGeometryHelper::getOverlapInfos ( int  iHalf = -1,
int  iPlane = -1,
int  iModule = -1 
)

◆ getPath()

const std::string PndLmdGeometryHelper::getPath ( unsigned  char...)

◆ getSectorIDfromSensorID()

int PndLmdGeometryHelper::getSectorIDfromSensorID ( int  sensorID)

◆ isOverlappingArea()

bool PndLmdGeometryHelper::isOverlappingArea ( const int  id1,
const int  id2 
)

◆ operator=()

void PndLmdGeometryHelper::operator= ( const PndLmdGeometryHelper )
delete

◆ transformPndGlobalToLmdLocal()

TVector3 PndLmdGeometryHelper::transformPndGlobalToLmdLocal ( const TVector3 &  vec)

◆ transformPndGlobalToSensor()

TVector3 PndLmdGeometryHelper::transformPndGlobalToSensor ( const TVector3 &  vec,
int  sensorId 
)

The documentation for this class was generated from the following file: