|  | ATLAS Offline Software
    | 
 
 
 
#include <AFP_GeometryTool.h>
|  | 
|  | AFP_GeometryTool (const std::string &type, const std::string &name, const IInterface *parent) | 
|  | 
| virtual | ~AFP_GeometryTool () override | 
|  | 
| virtual StatusCode | initialize () override | 
|  | 
| virtual StatusCode | finalize () override | 
|  | 
| virtual void | SetCfgParams (AFP_CONFIGURATION *pCfgParams) override | 
|  | 
| void | getCfgParams (AFP_CONFIGURATION *pCfgParams) const | 
|  | 
| HepGeom::Transform3D | getStationTransform (const char *pszStationName) const | 
|  | 
| HepGeom::Transform3D | getStationElementTransform (const char *pszStationName, eStationElement eElement, const int nPlateID=-1) const | 
|  | 
| int | getSIDPlatesCnt (const eAFPStation eStation) const | 
|  | 
| HepGeom::Transform3D | getSIDTransform (const eSIDTransformType eType, const char *pszStationName, const int nPlateID) const | 
|  | 
| 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 | 
|  | 
| eAFPStation | parseStationName (const char *pszStationName) const | 
|  | 
| void | setupLBarsDims (const eAFPStation eStation) | 
|  | 
| void | getPixelLocalPosition (const eAFPStation eStation, const int nPixelID, double *pfX1Pos, double *pfX2Pos) const | 
|  | 
| int | getPixelRow (const int nPixelID) const | 
|  | 
| int | getPixelColumn (const int nPixelID) const | 
|  | 
Definition at line 23 of file AFP_GeometryTool.h.
 
◆ AFP_GeometryTool()
      
        
          | AFP_GeometryTool::AFP_GeometryTool | ( | const std::string & | type, | 
        
          |  |  | const std::string & | name, | 
        
          |  |  | const IInterface * | parent | 
        
          |  | ) |  |  | 
      
 
 
◆ ~AFP_GeometryTool()
  
  | 
        
          | AFP_GeometryTool::~AFP_GeometryTool | ( |  | ) |  |  | overridevirtual | 
 
 
◆ finalize()
  
  | 
        
          | StatusCode AFP_GeometryTool::finalize | ( |  | ) |  |  | overridevirtual | 
 
 
◆ getCfgParams()
◆ getPixelColumn()
  
  | 
        
          | int AFP_Geometry::getPixelColumn | ( | const int | nPixelID | ) | const |  | inlineinherited | 
 
 
◆ getPixelLocalPosition()
  
  | 
        
          | void AFP_Geometry::getPixelLocalPosition | ( | const eAFPStation | eStation, |  
          |  |  | const int | nPixelID, |  
          |  |  | double * | pfX1Pos, |  
          |  |  | double * | pfX2Pos |  
          |  | ) |  | const |  | inherited | 
 
 
◆ getPixelRow()
  
  | 
        
          | int AFP_Geometry::getPixelRow | ( | const int | nPixelID | ) | const |  | inlineinherited | 
 
Definition at line 52 of file AFP_Geometry.h.
   52 { 
return (nPixelID-(nPixelID%10))/10; }
 
 
 
◆ getPointInSIDSensorGlobalCS()
  
  | 
        
          | StatusCode AFP_Geometry::getPointInSIDSensorGlobalCS | ( | const int | nStationID, |  
          |  |  | const int | nPlateID, |  
          |  |  | const HepGeom::Point3D< double > & | LocalPoint, |  
          |  |  | HepGeom::Point3D< double > & | GlobalPoint |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 245 of file AFP_Geometry.cxx.
  248     GlobalPoint=HepGeom::Point3D<double>();
 
  251     if(nStationID>=0 && nStationID<=3){
 
  254             Status=StatusCode::SUCCESS;
 
 
 
 
◆ getPointInSIDSensorLocalCS()
  
  | 
        
          | StatusCode AFP_Geometry::getPointInSIDSensorLocalCS | ( | const int | nStationID, |  
          |  |  | const int | nPlateID, |  
          |  |  | const HepGeom::Point3D< double > & | GlobalPoint, |  
          |  |  | HepGeom::Point3D< double > & | LocalPoint |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 227 of file AFP_Geometry.cxx.
  230     LocalPoint=HepGeom::Point3D<double>();
 
  235     if(nStationID>=0 && nStationID<=3){
 
  238             Status=StatusCode::SUCCESS;
 
 
 
 
◆ getSIDPlatesCnt()
Definition at line 40 of file AFP_Geometry.h.
   42         return sidcfg[eStation].fLayerCount;
 
 
 
 
◆ getSIDTransform()
Definition at line 136 of file AFP_Geometry.cxx.
  140     std::string Station=std::string(pszStationName);
 
  143     double falpha = sidcfg.
fSlope;
 
  157             ReqTransform=TransInMotherVolume*NominalPosInPocket*HepGeom::Translate3D(fxm, 0.0*
CLHEP::mm, nPlateID*sidcfg.
fLayerSpacing/
std::cos(falpha))*HepGeom::RotateY3D(falpha)*ReqTransform;
 
  192         ReqTransform=PlateTotTrans;
 
  195         ReqTransform=TransSID;
 
  198         ReqTransform=TransFEI4;
 
  201         ReqTransform=TotTransSIDInWorld.inverse();
 
  204         ReqTransform=TotTransSIDInWorld;
 
 
 
 
◆ getStationElementTransform()
  
  | 
        
          | HepGeom::Transform3D AFP_Geometry::getStationElementTransform | ( | const char * | pszStationName, |  
          |  |  | eStationElement | eElement, |  
          |  |  | const int | nPlateID = -1 |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 81 of file AFP_Geometry.cxx.
  100             ReqTransform=HepGeom::Translate3D(xComponent, yComponent, 0.0);
 
  104             ReqTransform=HepGeom::Translate3D(xComponent, yComponent, 0.0)*HepGeom::Translate3D( xStag,0.0,-sidcfg.
fZDistanceInRPot);
 
  109             ReqTransform=HepGeom::Translate3D(xComponent, yComponent, 0.0);
 
  111             ReqTransform=HepGeom::Translate3D(xComponent, yComponent, 0.0)*HepGeom::TranslateX3D( xStag);
 
  116             ReqTransform=HepGeom::Translate3D(xComponent, yComponent, 0.0);
 
  118             ReqTransform=HepGeom::Translate3D(xComponent, yComponent ,0.0)*HepGeom::TranslateX3D( xStag);
 
  123             ReqTransform=HepGeom::Translate3D(xComponent, yComponent, 0.0);
 
  127             ReqTransform=HepGeom::Translate3D(xComponent, yComponent, 0.0)*HepGeom::Translate3D( xStag,0.0,-sidcfg.
fZDistanceInRPot);
 
 
 
 
◆ getStationTransform()
  
  | 
        
          | HepGeom::Transform3D AFP_Geometry::getStationTransform | ( | const char * | pszStationName | ) | const |  | inherited | 
 
 
◆ initialize()
  
  | 
        
          | StatusCode AFP_GeometryTool::initialize | ( |  | ) |  |  | overridevirtual | 
 
 
◆ parseStationName()
Definition at line 214 of file AFP_Geometry.cxx.
  218     if(!strcmp(pszStationName,
"AFP00")) eStation=
EAS_AFP00;
 
  219     else if(!strcmp(pszStationName,
"AFP01")) eStation=
EAS_AFP01;
 
  220     else if(!strcmp(pszStationName,
"AFP02")) eStation=
EAS_AFP02;
 
  221     else if(!strcmp(pszStationName,
"AFP03")) eStation=
EAS_AFP03;
 
 
 
 
◆ SetCfgParams()
Definition at line 26 of file AFP_GeometryTool.cxx.
   34   for(
int nStationID=0; nStationID<=3; ++nStationID)
 
   41         char szStationName[8];
 
   42         sprintf(szStationName,
"AFP%02i",(
int)eStation);
 
   49         char szStationName[8];
 
   50         sprintf(szStationName,
"AFP%02i",(
int)eStation);
 
 
 
 
◆ setupLBarsDims()
Definition at line 276 of file AFP_Geometry.cxx.
  278     int i,j,nTrainOfBar11,nRefTrainID,nTrainID,nTrainCnt;
 
  280     double fRadLength11, fLGuideLength11, fRadLength, fLGuideLength;
 
  290     nRefTrainID = nTrainCnt-(RefBarDims.
nBarX1ID-1); 
 
  295         nTrainID = nTrainCnt-(
i-1);
 
  300     std::vector<double> vecLGLengths;
 
  302     vecLGLengths[0]=fLGuideLength11;
 
  304         nTrainID=nTrainCnt-(
i-1);
 
  319             fRadLength+=(tdcfg.
mapTrainInfo.at(nTrainOfBar11).fPerpShiftInPixel-tdcfg.
mapTrainInfo.at(nTrainID).fPerpShiftInPixel);
 
  321             fLGuideLength=vecLGLengths[
i];
 
 
 
 
◆ m_CfgParams
◆ m_MapSIDTransToGlobal
  
  | 
        
          | std::map<eAFPStation, std::map<int, HepGeom::Transform3D> > AFP_Geometry::m_MapSIDTransToGlobal |  | protectedinherited | 
 
 
◆ m_MapSIDTransToLocal
  
  | 
        
          | std::map<eAFPStation, std::map<int, HepGeom::Transform3D> > AFP_Geometry::m_MapSIDTransToLocal |  | protectedinherited | 
 
 
The documentation for this class was generated from the following files:
 
std::map< eAFPStation, std::map< int, HepGeom::Transform3D > > m_MapSIDTransToLocal
std::map< eAFPStation, AFP_SIDCONFIGURATION > sidcfg
int getSIDPlatesCnt(const eAFPStation eStation) const
static constexpr double Stat_GlobalVacuumSensorThickness
std::vector< double > vecRPotFloorDistance
static constexpr double SiT_Chip_length_x
HepGeom::Transform3D getStationTransform(const char *pszStationName) const
std::vector< double > vecSensorXPos
std::vector< double > vecSensorYPos
static constexpr double Stat_GlobalVacuumSensorZOffset
HepGeom::Transform3D getSIDTransform(const eSIDTransformType eType, const char *pszStationName, const int nPlateID) const
int getPixelRow(const int nPixelID) const
static constexpr int Stat_GlobalVacuumSensorID
std::vector< double > vecChipYPos
::StatusCode StatusCode
StatusCode definition for legacy code.
std::map< eAFPStation, AFP_TDCONFIGURATION > tdcfg
std::vector< double > vecXStaggering
static constexpr double SiT_Chip_thickness
Eigen::Affine3d Transform3D
HepGeom::Transform3D getStationElementTransform(const char *pszStationName, eStationElement eElement, const int nPlateID=-1) const
static constexpr double SiT_Plate_Main_length_x
std::vector< double > vecStatNominalZPos
eAFPStation parseStationName(const char *pszStationName) const
void setupLBarsDims(const eAFPStation eStation)
std::map< int, AFPTOF_TRAININFO > mapTrainInfo
int getPixelColumn(const int nPixelID) const
std::vector< double > vecChipXLength
AFPTOF_LBARREFDIMENSIONS RefBarDims
std::map< int, AFPTOF_LBARDIMENSIONS > mapBarDims
Status
Athena specific StatusCode values.
static constexpr double SiT_Pixel_thickness
static constexpr double SiT_Plate_Main_thickness
static constexpr double ToF_MinBarGap
std::map< eAFPStation, std::map< int, HepGeom::Transform3D > > m_MapSIDTransToGlobal
AFP_CONFIGURATION m_CfgParams
static constexpr double SiT_Pixel_length_toty
std::vector< double > vecYStaggering
std::vector< double > vecRPotYPos
static constexpr double SiT_Pixel_length_totx
static constexpr double SiT_CorrZOffset
std::vector< double > vecChipRotAngle
std::vector< double > vecChipXPos
static constexpr double ToF_LGuideTrainOffset