6#define AFP_GEOMETRY_H 1
11#include "CLHEP/Geometry/Point3D.h"
42 return sidcfg[eStation].fLayerCount;
45 StatusCode
getPointInSIDSensorLocalCS(
const int nStationID,
const int nPlateID,
const HepGeom::Point3D<double>& GlobalPoint, HepGeom::Point3D<double>& LocalPoint)
const;
46 StatusCode
getPointInSIDSensorGlobalCS(
const int nStationID,
const int nPlateID,
const HepGeom::Point3D<double>& LocalPoint, HepGeom::Point3D<double>& GlobalPoint)
const;
52 int getPixelRow(
const int nPixelID)
const {
return (nPixelID-(nPixelID%10))/10; }
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
int getPixelColumn(const int nPixelID) const
HepGeom::Transform3D getStationElementTransform(const char *pszStationName, eStationElement eElement, const int nPlateID=-1) const
void getPixelLocalPosition(const eAFPStation eStation, const int nPixelID, double *pfX1Pos, double *pfX2Pos) const
eAFPStation parseStationName(const char *pszStationName) const
std::map< eAFPStation, std::map< int, HepGeom::Transform3D > > m_MapSIDTransToGlobal
std::map< eAFPStation, std::map< int, HepGeom::Transform3D > > m_MapSIDTransToLocal
void getCfgParams(AFP_CONFIGURATION *pCfgParams) const
void setupLBarsDims(const eAFPStation eStation)
AFP_CONFIGURATION m_CfgParams
StatusCode getPointInSIDSensorLocalCS(const int nStationID, const int nPlateID, const HepGeom::Point3D< double > &GlobalPoint, HepGeom::Point3D< double > &LocalPoint) const
StatusCode getPointInSIDSensorGlobalCS(const int nStationID, const int nPlateID, const HepGeom::Point3D< double > &LocalPoint, HepGeom::Point3D< double > &GlobalPoint) const
int getPixelRow(const int nPixelID) const
HepGeom::Transform3D getSIDTransform(const eSIDTransformType eType, const char *pszStationName, const int nPlateID) const
HepGeom::Transform3D getStationTransform(const char *pszStationName) const
int getSIDPlatesCnt(const eAFPStation eStation) const